Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
b37754bb
Commit
b37754bb
authored
15 years ago
by
Emmanuel Christophe
Browse files
Options
Downloads
Patches
Plain Diff
STYLE
parent
a776ef82
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Common/otbObjectListToObjectListFilter.h
+14
-14
14 additions, 14 deletions
Code/Common/otbObjectListToObjectListFilter.h
with
14 additions
and
14 deletions
Code/Common/otbObjectListToObjectListFilter.h
+
14
−
14
View file @
b37754bb
...
...
@@ -42,10 +42,10 @@ class ITK_EXPORT ObjectListToObjectListFilter : public otb::ObjectListSource<TOu
{
public:
/** Standard class typedefs. */
typedef
ObjectListToObjectListFilter
Self
;
typedef
ObjectListToObjectListFilter
Self
;
typedef
otb
::
ObjectListSource
<
TOutputList
>
Superclass
;
typedef
itk
::
SmartPointer
<
Self
>
Pointer
;
typedef
itk
::
SmartPointer
<
const
Self
>
ConstPointer
;
typedef
itk
::
SmartPointer
<
Self
>
Pointer
;
typedef
itk
::
SmartPointer
<
const
Self
>
ConstPointer
;
/** Method for creation through the object factory. */
itkNewMacro
(
Self
);
...
...
@@ -54,22 +54,19 @@ public:
itkTypeMacro
(
ObjectListToObjectListFilter
,
ObjectListSource
);
/** Some typedefs. */
typedef
TInputList
InputListType
;
typedef
TOutputList
OutputListType
;
typedef
typename
TInputList
::
ConstPointer
InputListPointer
;
typedef
typename
TOutputList
::
Pointer
OutputListPointer
;
typedef
typename
TInputList
::
ConstIterator
InputListIterator
;
typedef
typename
InputListType
::
ObjectType
InputObjectType
;
typedef
TInputList
InputListType
;
typedef
TOutputList
OutputListType
;
typedef
typename
TInputList
::
ConstPointer
InputListPointer
;
typedef
typename
TOutputList
::
Pointer
OutputListPointer
;
typedef
typename
TInputList
::
ConstIterator
InputListIterator
;
typedef
typename
InputListType
::
ObjectType
InputObjectType
;
typedef
typename
OutputListType
::
ObjectType
OutputObjectType
;
typedef
itk
::
DataObject
::
Pointer
DataObjectPointer
;
typedef
std
::
vector
<
OutputListPointer
>
OutputListForThreadType
;
typedef
itk
::
DataObject
::
Pointer
DataObjectPointer
;
virtual
void
SetInput
(
const
InputListType
*
input
);
const
InputListType
*
GetInput
(
void
);
protected:
/** Constructor */
ObjectListToObjectListFilter
();
...
...
@@ -82,11 +79,14 @@ protected:
/** Multi-threading implementation */
typedef
std
::
vector
<
OutputListPointer
>
OutputListForThreadType
;
virtual
void
BeforeThreadedGenerateData
();
virtual
void
AfterThreadedGenerateData
()
{};
virtual
int
SplitRequestedRegion
(
int
threadId
,
int
threadCount
,
unsigned
int
requestedElements
,
unsigned
int
&
startIndex
,
unsigned
int
&
stopIndex
);
virtual
int
SplitRequestedRegion
(
int
threadId
,
int
threadCount
,
unsigned
int
requestedElements
,
unsigned
int
&
startIndex
,
unsigned
int
&
stopIndex
);
/** startIndex and stopIndex represent the indices of the Objects
* to examine in thread threadId */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment