![]() |
OTB
10.0.0
Orfeo Toolbox
|
#include <otbObjectListToObjectListFilter.h>
Classes | |
struct | ThreadStruct |
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::DataObject::Pointer | DataObjectPointer |
typedef TInputList::ConstIterator | InputListIterator |
typedef TInputList::ConstPointer | InputListPointer |
typedef TInputList | InputListType |
typedef InputListType::ObjectType | InputObjectType |
typedef TOutputList::Pointer | OutputListPointer |
typedef TOutputList | OutputListType |
typedef OutputListType::ObjectType | OutputObjectType |
typedef itk::SmartPointer< Self > | Pointer |
typedef ObjectListToObjectListFilter | Self |
typedef otb::ObjectListSource< TOutputList > | Superclass |
![]() | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::DataObject::Pointer | DataObjectPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef TOutputList::Pointer | OutputListPointer |
typedef TOutputList | OutputListType |
typedef itk::SmartPointer< Self > | Pointer |
typedef ObjectListSource | Self |
typedef itk::ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const InputListType * | GetInput (void) |
virtual const char * | GetNameOfClass () const |
virtual void | SetInput (const InputListType *input) |
![]() | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
DataObjectPointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
void | GraftOutput (itk::DataObject *graft) |
void | GraftNthOutput (DataObjectPointerArraySizeType idx, itk::DataObject *graft) |
OutputListType * | GetOutput (void) |
OutputListType * | GetOutput (DataObjectPointerArraySizeType idx) |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
Protected Types | |
typedef std::vector< OutputListPointer > | OutputListForThreadType |
Protected Member Functions | |
virtual void | AfterThreadedGenerateData () |
virtual void | BeforeThreadedGenerateData () |
void | GenerateData (void) override |
ObjectListToObjectListFilter () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
virtual int | SplitRequestedRegion (itk::ThreadIdType threadId, int threadCount, unsigned int requestedElements, unsigned int &startIndex, unsigned int &stopIndex) |
virtual void | ThreadedGenerateData (unsigned int startIndex, unsigned int stopIndex, itk::ThreadIdType threadId) |
~ObjectListToObjectListFilter () override | |
![]() | |
ObjectListSource () | |
~ObjectListSource () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
virtual void | AllocateOutputs () |
void | GenerateData (void) override |
Static Protected Member Functions | |
static itk::ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes | |
OutputListForThreadType | m_ObjectListPerThread |
Private Member Functions | |
ObjectListToObjectListFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Base class for filters that take an ObjectList as input and produce an ObjectList as output.
ObjectListToObjectListFilter is the base class for all process objects that output ObjectList data and require ObjectList data as input. Specifically, this class defines the SetInput() method for defining the input to a filter.
Be aware that this class is templated over the list type, not the object type. It will be typically something like otb::ObjectList<ObjectType>. This is to enable the use of class derived from ObjectList or other implementations.
Definition at line 48 of file otbObjectListToObjectListFilter.h.
typedef itk::SmartPointer<const Self> otb::ObjectListToObjectListFilter< TInputList, TOutputList >::ConstPointer |
Definition at line 55 of file otbObjectListToObjectListFilter.h.
typedef itk::DataObject::Pointer otb::ObjectListToObjectListFilter< TInputList, TOutputList >::DataObjectPointer |
Definition at line 72 of file otbObjectListToObjectListFilter.h.
typedef TInputList::ConstIterator otb::ObjectListToObjectListFilter< TInputList, TOutputList >::InputListIterator |
Definition at line 68 of file otbObjectListToObjectListFilter.h.
typedef TInputList::ConstPointer otb::ObjectListToObjectListFilter< TInputList, TOutputList >::InputListPointer |
Definition at line 66 of file otbObjectListToObjectListFilter.h.
typedef TInputList otb::ObjectListToObjectListFilter< TInputList, TOutputList >::InputListType |
Some typedefs.
Definition at line 64 of file otbObjectListToObjectListFilter.h.
typedef InputListType::ObjectType otb::ObjectListToObjectListFilter< TInputList, TOutputList >::InputObjectType |
Definition at line 69 of file otbObjectListToObjectListFilter.h.
|
protected |
Multi-threading implementation
Definition at line 94 of file otbObjectListToObjectListFilter.h.
typedef TOutputList::Pointer otb::ObjectListToObjectListFilter< TInputList, TOutputList >::OutputListPointer |
Definition at line 67 of file otbObjectListToObjectListFilter.h.
typedef TOutputList otb::ObjectListToObjectListFilter< TInputList, TOutputList >::OutputListType |
Definition at line 65 of file otbObjectListToObjectListFilter.h.
typedef OutputListType::ObjectType otb::ObjectListToObjectListFilter< TInputList, TOutputList >::OutputObjectType |
Definition at line 70 of file otbObjectListToObjectListFilter.h.
typedef itk::SmartPointer<Self> otb::ObjectListToObjectListFilter< TInputList, TOutputList >::Pointer |
Definition at line 54 of file otbObjectListToObjectListFilter.h.
typedef ObjectListToObjectListFilter otb::ObjectListToObjectListFilter< TInputList, TOutputList >::Self |
Standard class typedefs.
Definition at line 52 of file otbObjectListToObjectListFilter.h.
typedef otb::ObjectListSource<TOutputList> otb::ObjectListToObjectListFilter< TInputList, TOutputList >::Superclass |
Definition at line 53 of file otbObjectListToObjectListFilter.h.
|
protected |
Constructor
Definition at line 34 of file otbObjectListToObjectListFilter.hxx.
|
inlineoverrideprotected |
Destructor
Definition at line 83 of file otbObjectListToObjectListFilter.h.
|
privatedelete |
End Multi-threading implementation
|
inlineprotectedvirtual |
Reimplemented in otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >, and otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >.
Definition at line 98 of file otbObjectListToObjectListFilter.h.
|
protectedvirtual |
Definition at line 104 of file otbObjectListToObjectListFilter.hxx.
virtual::itk::LightObject::Pointer otb::ObjectListToObjectListFilter< TInputList, TOutputList >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
GenerateData
Definition at line 76 of file otbObjectListToObjectListFilter.hxx.
const ObjectListToObjectListFilter< TInputList, TOutputList >::InputListType * otb::ObjectListToObjectListFilter< TInputList, TOutputList >::GetInput | ( | void | ) |
Definition at line 47 of file otbObjectListToObjectListFilter.hxx.
|
virtual |
Run-time type information (and related methods).
Reimplemented from otb::ObjectListSource< TOutputList >.
Reimplemented in otb::PathListToPathListFilter< TPath >, otb::ImageFittingPolygonListFilter< TPath, TImage >, otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >, and otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >.
|
static |
Method for creation through the object factory.
|
privatedelete |
|
overrideprotected |
PrintSelf method
PrintSelf Method
Definition at line 165 of file otbObjectListToObjectListFilter.hxx.
|
virtual |
Definition at line 40 of file otbObjectListToObjectListFilter.hxx.
|
protectedvirtual |
Definition at line 58 of file otbObjectListToObjectListFilter.hxx.
|
protectedvirtual |
startIndex and stopIndex represent the indices of the Objects to examine in thread threadId
Reimplemented in otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >, and otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >.
Definition at line 110 of file otbObjectListToObjectListFilter.hxx.
|
staticprotected |
Static function used as a "callback" by the MultiThreader. The threading library will call this routine for each thread, which will delegate the control to ThreadedGenerateData().
Definition at line 127 of file otbObjectListToObjectListFilter.hxx.
References otb::ObjectListToObjectListFilter< TInputList, TOutputList >::ThreadStruct::Filter.
|
protected |
Definition at line 120 of file otbObjectListToObjectListFilter.h.