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

#include <otbVectorDataToLabelMapFilter.h>

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

Public Types

typedef
InternalTreeNodeType::ChildrenListType 
ChildrenListType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
otb::CorrectPolygonFunctor
< PolygonType
CorrectFunctorType
 
typedef DataNodeType::Pointer DataNodePointerType
 
typedef
InputVectorDataType::DataNodeType 
DataNodeType
 
typedef
OutputLabelMapType::DirectionType 
DirectionType
 
typedef
OutputLabelMapType::IndexType 
IndexType
 
typedef
InputVectorDataType::ConstPointer 
InputVectorDataConstPointer
 
typedef
InputVectorDataType::Pointer 
InputVectorDataPointer
 
typedef TVectorData InputVectorDataType
 
typedef
InputVectorDataType::DataTreeType::TreeNodeType 
InternalTreeNodeType
 
typedef
OutputLabelMapType::LabelType 
LabelType
 
typedef
OutputLabelMapType::PointType 
OriginType
 
typedef
OutputLabelMapType::ConstPointer 
OutputLabelMapConstPointer
 
typedef
OutputLabelMapType::PixelType 
OutputLabelMapPixelType
 
typedef OutputLabelMapType::Pointer OutputLabelMapPointer
 
typedef TLabelMap OutputLabelMapType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
InputVectorDataType::PointType 
PointType
 
typedef PolygonType::Pointer PolygonPointerType
 
typedef DataNodeType::PolygonType PolygonType
 
typedef VectorDataToLabelMapFilter Self
 
typedef itk::Size
< itkGetStaticConstMacro(VectorDataDimension)> 
SizeType
 
typedef
OutputLabelMapType::SpacingType 
SpacingType
 
typedef LabelMapSource< TLabelMap > Superclass
 
- Public Types inherited from otb::LabelMapSource< TLabelMap >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
itk::ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef TLabelMap::Pointer OutputLabelMapPointer
 
typedef TLabelMap OutputLabelMapType
 
typedef itk::SmartPointer< SelfPointer
 
typedef LabelMapSource 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
 
void GenerateOutputInformation () override
 
virtual const char * GetNameOfClass () const
 
virtual const OriginTypeGetOrigin () const
 
virtual const SizeTypeGetSize () const
 
virtual const SpacingTypeGetSpacing () const
 
virtual const IndexTypeGetStartIndex () const
 
virtual void SetSize (SizeType _arg)
 
virtual void SetStartIndex (IndexType _arg)
 
virtual void SetBackgroundValue (OutputLabelMapPixelType _arg)
 
virtual OutputLabelMapPixelType GetBackgroundValue () const
 
virtual void SetOrigin (OriginType _arg)
 
virtual void SetOrigin (const double origin[2])
 
virtual void SetOrigin (const float origin[2])
 
virtual void SetSpacing (const SpacingType &spacing)
 
virtual void SetSpacing (const double spacing[2])
 
virtual void SetSpacing (const float spacing[2])
 
virtual void SetInput (const InputVectorDataType *input)
 
virtual void SetInput (unsigned int idx, const InputVectorDataType *input)
 
const InputVectorDataTypeGetInput (void)
 
const InputVectorDataTypeGetInput (unsigned int idx)
 
- Public Member Functions inherited from otb::LabelMapSource< TLabelMap >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual OutputLabelMapTypeGetOutput (void)
 
virtual OutputLabelMapTypeGetOutput (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 () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
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 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) override
 
virtual void UnRegister () const noexceptoverride
 
- 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::LabelMapSource< TLabelMap >
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 ()
 

Static Public Attributes

static const unsigned int VectorDataDimension = TVectorData::Dimension
 

Protected Member Functions

void GenerateData () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 VectorDataToLabelMapFilter ()
 
 ~VectorDataToLabelMapFilter () override
 
- Protected Member Functions inherited from otb::LabelMapSource< TLabelMap >
virtual void AllocateOutputs ()
 
 LabelMapSource ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~LabelMapSource () override
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
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 RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(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

void operator= (const Self &)=delete
 
 VectorDataToLabelMapFilter (const Self &)=delete
 
void ProcessNode (InternalTreeNodeType *source)
 

Private Attributes

OutputLabelMapPixelType m_BackgroundValue
 
DirectionType m_Direction
 
LabelType m_lab
 
OriginType m_Origin
 
SizeType m_Size
 
SpacingType m_Spacing
 
IndexType m_StartIndex
 

Additional Inherited Members

- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

template<class TVectorData, class TLabelMap>
class otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >

Convert a vector data and produce a collection of label objects for each node.

VectorDataToLabelMapFilter convert a vector data in a LabelMap. Each distinct object is assigned a unique label. The final object labels start with 1 and are consecutive (depraced +10).

See Also
LabelMapSource

Definition at line 58 of file otbVectorDataToLabelMapFilter.h.

Member Typedef Documentation

template<class TVectorData, class TLabelMap>
typedef InternalTreeNodeType::ChildrenListType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::ChildrenListType

Definition at line 79 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef itk::SmartPointer<const Self> otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::ConstPointer

Definition at line 108 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef otb::CorrectPolygonFunctor<PolygonType> otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::CorrectFunctorType

typedefs for correct polygon

Definition at line 93 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef DataNodeType::Pointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::DataNodePointerType

Definition at line 81 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef InputVectorDataType::DataNodeType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::DataNodeType

Definition at line 80 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef OutputLabelMapType::DirectionType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::DirectionType

Definition at line 90 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef OutputLabelMapType::IndexType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::IndexType

Definition at line 86 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef InputVectorDataType::ConstPointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::InputVectorDataConstPointer

Definition at line 73 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef InputVectorDataType::Pointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::InputVectorDataPointer

Definition at line 72 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef TVectorData otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::InputVectorDataType

Some convenient typedefs.

Definition at line 70 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef InputVectorDataType::DataTreeType::TreeNodeType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::InternalTreeNodeType

Definition at line 78 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef OutputLabelMapType::LabelType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::LabelType

Definition at line 84 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef OutputLabelMapType::PointType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::OriginType

Definition at line 88 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef OutputLabelMapType::ConstPointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::OutputLabelMapConstPointer

Definition at line 76 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef OutputLabelMapType::PixelType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::OutputLabelMapPixelType

Definition at line 87 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef OutputLabelMapType::Pointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::OutputLabelMapPointer

Definition at line 75 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef TLabelMap otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::OutputLabelMapType

Definition at line 71 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef itk::SmartPointer<Self> otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::Pointer

Smart pointer typedef support

Definition at line 107 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef InputVectorDataType::PointType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::PointType

Definition at line 102 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef PolygonType::Pointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::PolygonPointerType

Definition at line 83 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef DataNodeType::PolygonType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::PolygonType

Definition at line 82 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef VectorDataToLabelMapFilter otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::Self

Standard "Self" & Superclass typedef.

Definition at line 66 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef itk::Size<itkGetStaticConstMacro(VectorDataDimension)> otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SizeType

Image size typedef.

Definition at line 100 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef OutputLabelMapType::SpacingType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SpacingType

Definition at line 89 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
typedef LabelMapSource<TLabelMap> otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::Superclass

Definition at line 67 of file otbVectorDataToLabelMapFilter.h.

Constructor & Destructor Documentation

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

Definition at line 35 of file otbVectorDataToLabelMapFilter.hxx.

References itk::NumericTraits< T >::max().

template<class TVectorData, class TLabelMap>
otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::~VectorDataToLabelMapFilter ( )
inlineoverrideprotected

Definition at line 174 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::VectorDataToLabelMapFilter ( const Self )
privatedelete

VectorDataToLabelMapFilter needs the entire input. Therefore it must provide an implementation GenerateInputRequestedRegion().

See Also
ProcessObject::GenerateInputRequestedRegion(). VectorDataToLabelMapFilter will produce all of the output. Therefore it must provide an implementation of EnlargeOutputRequestedRegion().
ProcessObject::EnlargeOutputRequestedRegion()

Member Function Documentation

template<class TVectorData, class TLabelMap>
virtual::itk::LightObject::Pointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TVectorData , class TLabelMap >
void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GenerateData ( void  )
overrideprotectedvirtual

Standard pipeline method.

Reimplemented from itk::ProcessObject.

Definition at line 213 of file otbVectorDataToLabelMapFilter.hxx.

template<class TVectorData , class TLabelMap >
void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GenerateOutputInformation ( void  )
overridevirtual

overloaded because pb during copyinformation

Reimplemented from itk::ProcessObject.

Definition at line 110 of file otbVectorDataToLabelMapFilter.hxx.

References otbGenericMsgDebugMacro.

template<class TVectorData, class TLabelMap>
virtual OutputLabelMapPixelType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GetBackgroundValue ( ) const
virtual

Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().

template<class TVectorData , class TLabelMap >
const VectorDataToLabelMapFilter< TVectorData, TLabelMap >::InputVectorDataType * otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GetInput ( void  )

Definition at line 190 of file otbVectorDataToLabelMapFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TVectorData , class TLabelMap >
const VectorDataToLabelMapFilter< TVectorData, TLabelMap >::InputVectorDataType * otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GetInput ( unsigned int  idx)

Definition at line 204 of file otbVectorDataToLabelMapFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TVectorData, class TLabelMap>
virtual const char* otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GetNameOfClass ( ) const
virtual

Set the size of the output image. Set the starting index of the output image. Run-time type information (and related methods)

Reimplemented from otb::LabelMapSource< TLabelMap >.

template<class TVectorData, class TLabelMap>
virtual const OriginType& otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GetOrigin ( ) const
virtual
template<class TVectorData, class TLabelMap>
virtual const SizeType& otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GetSize ( ) const
virtual

Get the size of the output image.

template<class TVectorData, class TLabelMap>
virtual const SpacingType& otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GetSpacing ( ) const
virtual
template<class TVectorData, class TLabelMap>
virtual const IndexType& otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GetStartIndex ( ) const
virtual

Get/Set start index

template<class TVectorData, class TLabelMap>
static Pointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::New ( )
static

Method for creation through the object factory.

template<class TVectorData, class TLabelMap>
void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::operator= ( const Self )
privatedelete
template<class TVectorData , class TLabelMap >
void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual

Reimplemented from itk::ProcessObject.

Definition at line 383 of file otbVectorDataToLabelMapFilter.hxx.

template<class TVectorData , class TLabelMap >
void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::ProcessNode ( InternalTreeNodeType source)
private
template<class TVectorData, class TLabelMap>
virtual void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SetBackgroundValue ( OutputLabelMapPixelType  _arg)
virtual

Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().

template<class TVectorData , class TLabelMap >
void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SetInput ( const InputVectorDataType input)
virtual
template<class TVectorData , class TLabelMap >
void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SetInput ( unsigned int  idx,
const InputVectorDataType input 
)
virtual
template<class TVectorData, class TLabelMap>
virtual void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SetOrigin ( OriginType  _arg)
virtual

Set the origin of the vector data.

See Also
GetOrigin()
template<class TVectorData , class TLabelMap >
void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SetOrigin ( const double  origin[2])
virtual

Set the origin of the vector data.

See Also
GetOrigin()

Definition at line 86 of file otbVectorDataToLabelMapFilter.hxx.

template<class TVectorData , class TLabelMap >
void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SetOrigin ( const float  origin[2])
virtual

Set the origin of the vector data.

See Also
GetOrigin()

Definition at line 96 of file otbVectorDataToLabelMapFilter.hxx.

template<class TVectorData, class TLabelMap>
virtual void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SetSize ( SizeType  _arg)
virtual

Set the size of the output image.

template<class TVectorData , class TLabelMap >
void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SetSpacing ( const SpacingType spacing)
virtual

Set the spacing (size of a pixel) of the vector data.

See Also
GetSignedSpacing()

Definition at line 51 of file otbVectorDataToLabelMapFilter.hxx.

template<class TVectorData , class TLabelMap >
void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SetSpacing ( const double  spacing[2])
virtual

Set the spacing (size of a pixel) of the vector data.

See Also
GetSignedSpacing()

Definition at line 64 of file otbVectorDataToLabelMapFilter.hxx.

template<class TVectorData , class TLabelMap >
void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SetSpacing ( const float  spacing[2])
virtual

Set the spacing (size of a pixel) of the vector data.

See Also
GetSignedSpacing()

Definition at line 74 of file otbVectorDataToLabelMapFilter.hxx.

template<class TVectorData, class TLabelMap>
virtual void otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SetStartIndex ( IndexType  _arg)
virtual

Member Data Documentation

template<class TVectorData, class TLabelMap>
OutputLabelMapPixelType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::m_BackgroundValue
private

Background value, not use actually, background value=itk::NumericTraits<LabelType>::max()

Definition at line 211 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
DirectionType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::m_Direction
private

Definition at line 208 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
LabelType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::m_lab
private

Current label value incremented after the vectorization of a layer

Definition at line 201 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
OriginType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::m_Origin
private

Definition at line 205 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
SizeType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::m_Size
private

Definition at line 206 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
SpacingType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::m_Spacing
private

Definition at line 204 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
IndexType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::m_StartIndex
private

Definition at line 207 of file otbVectorDataToLabelMapFilter.h.

template<class TVectorData, class TLabelMap>
const unsigned int otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::VectorDataDimension = TVectorData::Dimension
static

Number of dimensions.

Definition at line 97 of file otbVectorDataToLabelMapFilter.h.


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