OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor > Class Template Reference

#include <otbLabelMapToVectorDataFilter.h>

+ Inheritance diagram for otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >:
+ Collaboration diagram for otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >:

Public Types

typedef
InputLabelMapType::ConstIterator 
ConstIteratorType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
otb::CorrectPolygonFunctor
< PolygonType
CorrectFunctorType
 
typedef DataNodeType::Pointer DataNodePointerType
 
typedef
OutputVectorDataType::DataNodeType 
DataNodeType
 
typedef TFieldsFunctor FieldsFunctorType
 
typedef
otb::Functor::LabelObjectToPolygonFunctor
< LabelObjectType, PolygonType
FunctorType
 
typedef TLabelMap InputLabelMapType
 
typedef
InputLabelMapType::LabelObjectType 
LabelObjectType
 
typedef
OutputVectorDataType::ConstPointer 
OutputVectorDataConstPointer
 
typedef
OutputVectorDataType::Pointer 
OutputVectorDataPointer
 
typedef TVectorData OutputVectorDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef PolygonType::Pointer PolygonPointerType
 
typedef DataNodeType::PolygonType PolygonType
 
typedef LabelMapToVectorDataFilter Self
 
typedef VectorDataSource
< TVectorData > 
Superclass
 
- Public Types inherited from otb::VectorDataSource< TVectorData >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
itk::ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef TVectorData::Pointer OutputVectorDataPointer
 
typedef TVectorData OutputVectorDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef VectorDataSource Self
 
typedef itk::ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
FieldsFunctorTypeGetFieldsFunctor ()
 
virtual const char * GetNameOfClass () const
 
void SetFieldsFunctor (const FieldsFunctorType &functor)
 
virtual void SetInput (const InputLabelMapType *input)
 
virtual void SetInput (unsigned int idx, const InputLabelMapType *input)
 
const InputLabelMapTypeGetInput (void)
 
const InputLabelMapTypeGetInput (unsigned int idx)
 
- Public Member Functions inherited from otb::VectorDataSource< TVectorData >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual void GraftNthOutput (unsigned int idx, itk::DataObject *output)
 
virtual void GraftOutput (itk::DataObject *output)
 
virtual OutputVectorDataTypeGetOutput (void)
 
virtual OutputVectorDataTypeGetOutput (DataObjectPointerArraySizeType idx)
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::VectorDataSource< TVectorData >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 LabelMapToVectorDataFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
virtual ~LabelMapToVectorDataFilter ()
 
void GenerateData ()
 
- Protected Member Functions inherited from otb::VectorDataSource< TVectorData >
virtual void AllocateOutputs ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
 VectorDataSource ()
 
virtual ~VectorDataSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

 LabelMapToVectorDataFilter (const Self &)
 
void operator= (const Self &)
 

Private Attributes

FieldsFunctorType m_FieldsFunctor
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Detailed Description

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
class otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >

This class vectorizes a LabelObject to a VectorData.

LabelMapToVectorDataFilter converts a LabelMap to a VectorData where all the pixels get the attribute value of the label object they belong. It uses the class otbLabelObjectToPolygonFunctor which follows a finite states machine described in

"An algorithm for the rapid computation of boundaries of run-length encoded regions", Francis K. H. Queck, in Pattern Recognition 33 (2000), p 1637-1649.

Note : the output vector data contains index coordinates (not physical coordinates). For instance, a polygon around the pixel at index (0,0) would have the following points : [-0.5,-0.5] , [0.5,-0.5] , [0.5,0.5] , [-0.5,0.5]

See Also
VectorDataSource

Definition at line 55 of file otbLabelMapToVectorDataFilter.h.

Member Typedef Documentation

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef InputLabelMapType::ConstIterator otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::ConstIteratorType

Definition at line 76 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef itk::SmartPointer<const Self> otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::ConstPointer

Definition at line 64 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef otb::CorrectPolygonFunctor<PolygonType> otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::CorrectFunctorType

Definition at line 84 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef DataNodeType::Pointer otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::DataNodePointerType

Definition at line 78 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef OutputVectorDataType::DataNodeType otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::DataNodeType

Definition at line 77 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef TFieldsFunctor otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::FieldsFunctorType

Definition at line 69 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef otb::Functor::LabelObjectToPolygonFunctor<LabelObjectType, PolygonType> otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::FunctorType

Some typedefs specific to functors

Definition at line 83 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef TLabelMap otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::InputLabelMapType

Some convenient typedefs.

Definition at line 67 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef InputLabelMapType::LabelObjectType otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::LabelObjectType

Definition at line 74 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef OutputVectorDataType::ConstPointer otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::OutputVectorDataConstPointer

Definition at line 72 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef OutputVectorDataType::Pointer otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::OutputVectorDataPointer

Definition at line 71 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef TVectorData otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::OutputVectorDataType

Definition at line 68 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef itk::SmartPointer<Self> otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::Pointer

Definition at line 63 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef PolygonType::Pointer otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::PolygonPointerType

Definition at line 80 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef DataNodeType::PolygonType otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::PolygonType

Definition at line 79 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef LabelMapToVectorDataFilter otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::Self

Standard class typedefs.

Definition at line 60 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
typedef VectorDataSource<TVectorData> otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::Superclass

Definition at line 62 of file otbLabelMapToVectorDataFilter.h.

Constructor & Destructor Documentation

template<class TLabelMap , class TVectorData , class TFieldsFunctor >
otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::LabelMapToVectorDataFilter ( )
protected

Definition at line 27 of file otbLabelMapToVectorDataFilter.txx.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
virtual otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::~LabelMapToVectorDataFilter ( )
inlineprotectedvirtual

Definition at line 116 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::LabelMapToVectorDataFilter ( const Self )
private

Member Function Documentation

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
virtual::itk::LightObject::Pointer otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TLabelMap , class TVectorData , class TFieldsFunctor >
void otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::GenerateData ( void  )
protectedvirtual

Create usual root elements of the output vectordata

the label object

Get the polygon image of the labelobject using the functor

correct polygon if necessary

Store the label in the NodeId

Store additionnal fields given by functor

Add the polygon to the VectorData

Reimplemented from itk::ProcessObject.

Definition at line 78 of file otbLabelMapToVectorDataFilter.txx.

References otb::DOCUMENT, otb::FEATURE_POLYGON, and otb::FOLDER.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
FieldsFunctorType& otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::GetFieldsFunctor ( )
inline

Definition at line 109 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap , class TVectorData , class TFieldsFunctor >
const LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::InputLabelMapType * otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::GetInput ( void  )

Definition at line 55 of file otbLabelMapToVectorDataFilter.txx.

References itk::ProcessObject::GetInput().

template<class TLabelMap , class TVectorData , class TFieldsFunctor >
const LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::InputLabelMapType * otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::GetInput ( unsigned int  idx)

Definition at line 69 of file otbLabelMapToVectorDataFilter.txx.

References itk::ProcessObject::GetInput().

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
virtual const char* otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::GetNameOfClass ( ) const
virtual

Runtime information support.

Reimplemented from otb::VectorDataSource< TVectorData >.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
static Pointer otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::New ( )
static

Standard New method.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
void otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::operator= ( const Self )
private
template<class TLabelMap , class TVectorData , class TFieldsFunctor >
void otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

Reimplemented from itk::ProcessObject.

Definition at line 140 of file otbLabelMapToVectorDataFilter.txx.

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
void otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::SetFieldsFunctor ( const FieldsFunctorType functor)
inline

Definition at line 102 of file otbLabelMapToVectorDataFilter.h.

template<class TLabelMap , class TVectorData , class TFieldsFunctor >
void otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::SetInput ( const InputLabelMapType input)
virtual
template<class TLabelMap , class TVectorData , class TFieldsFunctor >
void otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::SetInput ( unsigned int  idx,
const InputLabelMapType input 
)
virtual

Member Data Documentation

template<class TLabelMap, class TVectorData, class TFieldsFunctor = Functor::LabelObjectFieldsFunctor<typename TLabelMap::LabelObjectType>>
FieldsFunctorType otb::LabelMapToVectorDataFilter< TLabelMap, TVectorData, TFieldsFunctor >::m_FieldsFunctor
private

Definition at line 124 of file otbLabelMapToVectorDataFilter.h.


The documentation for this class was generated from the following files: