OTB
9.0.0
Orfeo Toolbox
|
#include <otbUnaryFunctorObjectListBooleanFilter.h>
Classes | |
struct | ThreadStruct |
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 UnaryFunctorObjectListBooleanFilter | 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 |
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 |
FunctorType & | GetFunctor () |
const FunctorType & | GetFunctor () const |
void | SetFunctor (const FunctorType &functor) |
UnaryFunctorObjectListBooleanFilter () | |
~UnaryFunctorObjectListBooleanFilter () override | |
void | AfterThreadedGenerateData () override |
void | ThreadedGenerateData (unsigned int startIndex, unsigned int stopIndex, itk::ThreadIdType threadId) override |
UnaryFunctorObjectListBooleanFilter (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 |
Filter an ObjectList and keep elements according to the functor value.
Only elements of the list for which the functor evaluate as true are kept in the output list. This is similar to the python filter() function.
Definition at line 41 of file otbUnaryFunctorObjectListBooleanFilter.h.
typedef itk::SmartPointer<const Self> otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >::ConstPointer |
Definition at line 48 of file otbUnaryFunctorObjectListBooleanFilter.h.
typedef TFunction otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >::FunctorType |
Some typedefs.
Definition at line 54 of file otbUnaryFunctorObjectListBooleanFilter.h.
typedef TInputList::ConstIterator otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >::InputListIterator |
Definition at line 62 of file otbUnaryFunctorObjectListBooleanFilter.h.
typedef TInputList::ConstPointer otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >::InputListPointer |
Definition at line 60 of file otbUnaryFunctorObjectListBooleanFilter.h.
typedef TInputList otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >::InputListType |
Definition at line 58 of file otbUnaryFunctorObjectListBooleanFilter.h.
typedef TOutputList::ConstIterator otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >::OutputListIterator |
Definition at line 63 of file otbUnaryFunctorObjectListBooleanFilter.h.
typedef TOutputList::Pointer otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >::OutputListPointer |
Definition at line 61 of file otbUnaryFunctorObjectListBooleanFilter.h.
typedef TOutputList otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >::OutputListType |
Definition at line 59 of file otbUnaryFunctorObjectListBooleanFilter.h.
typedef itk::SmartPointer<Self> otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >::Pointer |
Definition at line 47 of file otbUnaryFunctorObjectListBooleanFilter.h.
typedef UnaryFunctorObjectListBooleanFilter otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >::Self |
Standard class typedefs.
Definition at line 45 of file otbUnaryFunctorObjectListBooleanFilter.h.
typedef otb::ObjectListToObjectListFilter<TInputList, TOutputList> otb::UnaryFunctorObjectListBooleanFilter< TInputList, TOutputList, TFunction >::Superclass |
Definition at line 46 of file otbUnaryFunctorObjectListBooleanFilter.h.
|
protected |
Constructor
Definition at line 34 of file otbUnaryFunctorObjectListBooleanFilter.hxx.
|
inlineoverrideprotected |
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 97 of file otbUnaryFunctorObjectListBooleanFilter.h.
|
privatedelete |
End Multi-threading implementation
|
overrideprotectedvirtual |
Multi-threading implementation
Reimplemented from otb::ObjectListToObjectListFilter< TInputList, TOutputList >.
Definition at line 71 of file otbUnaryFunctorObjectListBooleanFilter.hxx.
virtual::itk::LightObject::Pointer otb::UnaryFunctorObjectListBooleanFilter< 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 otbUnaryFunctorObjectListBooleanFilter.h.
|
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 73 of file otbUnaryFunctorObjectListBooleanFilter.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from otb::ObjectListToObjectListFilter< TInputList, TOutputList >.
|
static |
Method for creation through the object factory.
|
privatedelete |
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.)
|
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 otbUnaryFunctorObjectListBooleanFilter.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 39 of file otbUnaryFunctorObjectListBooleanFilter.hxx.
|
private |
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 121 of file otbUnaryFunctorObjectListBooleanFilter.h.