OTB
9.0.0
Orfeo Toolbox
|
#include <otbUnaryFunctorObjectListFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef TFunction | FunctorType |
typedef TInputList::ConstIterator | InputListIterator |
typedef TInputList::ConstPointer | InputListPointer |
typedef TInputList | InputListType |
typedef TOutputList::ConstIterator | OutputListIterator |
typedef TOutputList::Pointer | OutputListPointer |
typedef TOutputList | OutputListType |
typedef itk::SmartPointer< Self > | Pointer |
typedef UnaryFunctorObjectListFilter | Self |
typedef otb::ObjectListToObjectListFilter< TInputList, TOutputList > | Superclass |
Public Types inherited from otb::ObjectListToObjectListFilter< TInputList, TOutputList > | |
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 |
Public Types inherited from otb::ObjectListSource< TOutputList > | |
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 |
FunctorType & | GetFunctor () |
const FunctorType & | GetFunctor () const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from otb::ObjectListToObjectListFilter< TInputList, TOutputList > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const InputListType * | GetInput (void) |
virtual void | SetInput (const InputListType *input) |
Public Member Functions inherited from otb::ObjectListSource< TOutputList > | |
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 Public Member Functions inherited from otb::ObjectListToObjectListFilter< TInputList, TOutputList > | |
static Pointer | New () |
Static Public Member Functions inherited from otb::ObjectListSource< TOutputList > | |
static Pointer | New () |
FunctorType | m_Functor |
void | SetFunctor (const FunctorType &functor) |
UnaryFunctorObjectListFilter () | |
~UnaryFunctorObjectListFilter () override | |
void | AfterThreadedGenerateData () override |
void | ThreadedGenerateData (unsigned int startIndex, unsigned int stopIndex, itk::ThreadIdType threadId) override |
UnaryFunctorObjectListFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Additional Inherited Members | |
Protected Types inherited from otb::ObjectListToObjectListFilter< TInputList, TOutputList > | |
typedef std::vector< OutputListPointer > | OutputListForThreadType |
Protected Member Functions inherited from otb::ObjectListToObjectListFilter< TInputList, TOutputList > | |
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) |
~ObjectListToObjectListFilter () override | |
Protected Member Functions inherited from otb::ObjectListSource< TOutputList > | |
ObjectListSource () | |
~ObjectListSource () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
virtual void | AllocateOutputs () |
void | GenerateData (void) override |
Static Protected Member Functions inherited from otb::ObjectListToObjectListFilter< TInputList, TOutputList > | |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from otb::ObjectListToObjectListFilter< TInputList, TOutputList > | |
OutputListForThreadType | m_ObjectListPerThread |
Process each element in the ObjectList with the functor.
Each element of the ObjectList is processed by the functor. This is similar to the python map() function.
Definition at line 41 of file otbUnaryFunctorObjectListFilter.h.
typedef itk::SmartPointer<const Self> otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >::ConstPointer |
Definition at line 48 of file otbUnaryFunctorObjectListFilter.h.
typedef TFunction otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >::FunctorType |
Some typedefs.
Definition at line 54 of file otbUnaryFunctorObjectListFilter.h.
typedef TInputList::ConstIterator otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >::InputListIterator |
Definition at line 62 of file otbUnaryFunctorObjectListFilter.h.
typedef TInputList::ConstPointer otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >::InputListPointer |
Definition at line 60 of file otbUnaryFunctorObjectListFilter.h.
typedef TInputList otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >::InputListType |
Definition at line 58 of file otbUnaryFunctorObjectListFilter.h.
typedef TOutputList::ConstIterator otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >::OutputListIterator |
Definition at line 63 of file otbUnaryFunctorObjectListFilter.h.
typedef TOutputList::Pointer otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >::OutputListPointer |
Definition at line 61 of file otbUnaryFunctorObjectListFilter.h.
typedef TOutputList otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >::OutputListType |
Definition at line 59 of file otbUnaryFunctorObjectListFilter.h.
typedef itk::SmartPointer<Self> otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >::Pointer |
Definition at line 47 of file otbUnaryFunctorObjectListFilter.h.
typedef UnaryFunctorObjectListFilter otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >::Self |
Standard class typedefs.
Definition at line 45 of file otbUnaryFunctorObjectListFilter.h.
typedef otb::ObjectListToObjectListFilter<TInputList, TOutputList> otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >::Superclass |
Definition at line 46 of file otbUnaryFunctorObjectListFilter.h.
|
protected |
Constructor
Definition at line 35 of file otbUnaryFunctorObjectListFilter.hxx.
|
inlineoverrideprotected |
Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).
Definition at line 97 of file otbUnaryFunctorObjectListFilter.h.
|
privatedelete |
End Multi-threading implementation
|
overrideprotectedvirtual |
Multi-threading implementation
Reimplemented from otb::ObjectListToObjectListFilter< TInputList, TOutputList >.
Definition at line 69 of file otbUnaryFunctorObjectListFilter.hxx.
virtual::itk::LightObject::Pointer otb::UnaryFunctorObjectListFilter< TInputList, TOutputList, TFunction >::CreateAnother | ( | void | ) | const |
|
inline |
Get the functor object. The functor is returned by reference. (Functors do not have to derive from itk::LightObject, so they do not necessarily have a reference count. So we cannot return a SmartPointer.)
Definition at line 69 of file otbUnaryFunctorObjectListFilter.h.
|
inline |
Definition at line 74 of file otbUnaryFunctorObjectListFilter.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from otb::ObjectListToObjectListFilter< TInputList, TOutputList >.
|
static |
Method for creation through the object factory.
|
privatedelete |
Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).
|
inline |
Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).
Definition at line 85 of file otbUnaryFunctorObjectListFilter.h.
|
overrideprotectedvirtual |
startIndex and stopIndex represent the indices of the Objects to examine in thread threadId
Reimplemented from otb::ObjectListToObjectListFilter< TInputList, TOutputList >.
Definition at line 40 of file otbUnaryFunctorObjectListFilter.hxx.
|
private |
Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).
Definition at line 115 of file otbUnaryFunctorObjectListFilter.h.