Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
273
Issues
273
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
b37754bb
Commit
b37754bb
authored
Dec 15, 2009
by
Emmanuel Christophe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
STYLE
parent
a776ef82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
Code/Common/otbObjectListToObjectListFilter.h
Code/Common/otbObjectListToObjectListFilter.h
+14
-14
No files found.
Code/Common/otbObjectListToObjectListFilter.h
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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment