Orfeo Toolbox  4.2
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::ConcatenateVectorDataFilter< TVectorData > Class Template Reference

Produces a VectorData from the concatenation of several input vectordatas. More...

#include <otbConcatenateVectorDataFilter.h>

+ Inheritance diagram for otb::ConcatenateVectorDataFilter< TVectorData >:
+ Collaboration diagram for otb::ConcatenateVectorDataFilter< TVectorData >:

Public Types

typedef
TreeNodeType::ChildrenListType 
ChildrenListType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef DataNodeType::Pointer DataNodePointerType
 
typedef
VectorDataType::DataNodeType 
DataNodeType
 
typedef
VectorDataType::DataTreeType 
DataTreeType
 
typedef DataNodeType::LineType LineType
 
typedef itk::SmartPointer< SelfPointer
 
typedef DataNodeType::PointType PointType
 
typedef std::vector< PointTypePointVectorType
 
typedef
DataNodeType::PolygonType::RegionType 
RegionType
 
typedef ConcatenateVectorDataFilter Self
 
typedef VectorDataSource
< TVectorData > 
Superclass
 
typedef DataTreeType::TreeNodeType TreeNodeType
 
typedef VectorDataType::Pointer VectorDataPointerType
 
typedef TVectorData VectorDataType
 
typedef
DataNodeType::PolygonType::VertexType 
VertexType
 
- Public Types inherited from otb::VectorDataSource< TVectorData >
typedef itk::SmartPointer
< const Self
ConstPointer
 
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

void AddInput (const VectorDataType *)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const VectorDataTypeGetInput (unsigned int idx) const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from otb::VectorDataSource< TVectorData >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual OutputVectorDataTypeGetOutput (void)
 
virtual OutputVectorDataTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, itk::DataObject *output)
 
virtual void GraftOutput (itk::DataObject *output)
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData ()
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderGetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads ()
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress ()
 
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
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
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName ()
 
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 ()
 

Protected Member Functions

 ConcatenateVectorDataFilter ()
 
virtual ~ConcatenateVectorDataFilter ()
 
void GenerateData (void)
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
void ProcessNode (TreeNodeType *source, DataNodeType *outputDocument)
 
- Protected Member Functions inherited from otb::VectorDataSource< TVectorData >
 VectorDataSource ()
 
virtual ~VectorDataSource ()
 
virtual void AllocateOutputs ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
- Protected Member Functions inherited from itk::ProcessObject
 ProcessObject ()
 
 ~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 ()
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs ()
 
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 ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 Remove an input. More...
 
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 ()
 Verifies that the inputs meta-data is consistent and valid for continued execution of the pipeline, throws an exception if not valid. More...
 
virtual void VerifyPreconditions ()
 Verifies that the process object has been configured correctly, that all required inputs are set, and needed parameters are set appropriately. If not valid an exceptions will be thrown. More...
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
virtual ~Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
- Protected Member Functions inherited from itk::LightObject
 LightObject ()
 
virtual ~LightObject ()
 
virtual LightObject::Pointer InternalClone () const
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 

Private Member Functions

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

Private Attributes

DataNodePointerType m_Document
 
DataNodePointerType m_Folder
 

Additional Inherited Members

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

Detailed Description

template<class TVectorData>
class otb::ConcatenateVectorDataFilter< TVectorData >

Produces a VectorData from the concatenation of several input vectordatas.

This generator produces a unique vector by concatening several inputs set via the method AddInput(VectorData *).

Note that the input vectordatas must have the same node type, this is due that vectordata creation does not support multiple geometries in a single vectordata. Warning : this filter does not create a deep copy of each node.

Definition at line 41 of file otbConcatenateVectorDataFilter.h.

Member Typedef Documentation

template<class TVectorData >
typedef TreeNodeType::ChildrenListType otb::ConcatenateVectorDataFilter< TVectorData >::ChildrenListType

Definition at line 68 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef itk::SmartPointer<const Self> otb::ConcatenateVectorDataFilter< TVectorData >::ConstPointer

Definition at line 49 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef DataNodeType::Pointer otb::ConcatenateVectorDataFilter< TVectorData >::DataNodePointerType

Definition at line 61 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef VectorDataType::DataNodeType otb::ConcatenateVectorDataFilter< TVectorData >::DataNodeType

Definition at line 60 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef VectorDataType::DataTreeType otb::ConcatenateVectorDataFilter< TVectorData >::DataTreeType

Definition at line 66 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef DataNodeType::LineType otb::ConcatenateVectorDataFilter< TVectorData >::LineType

Definition at line 65 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef itk::SmartPointer<Self> otb::ConcatenateVectorDataFilter< TVectorData >::Pointer

Definition at line 48 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef DataNodeType::PointType otb::ConcatenateVectorDataFilter< TVectorData >::PointType

Definition at line 63 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef std::vector<PointType> otb::ConcatenateVectorDataFilter< TVectorData >::PointVectorType

Definition at line 70 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef DataNodeType::PolygonType::RegionType otb::ConcatenateVectorDataFilter< TVectorData >::RegionType

Definition at line 62 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef ConcatenateVectorDataFilter otb::ConcatenateVectorDataFilter< TVectorData >::Self

Standard class typedefs

Definition at line 46 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef VectorDataSource<TVectorData > otb::ConcatenateVectorDataFilter< TVectorData >::Superclass

Definition at line 47 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef DataTreeType::TreeNodeType otb::ConcatenateVectorDataFilter< TVectorData >::TreeNodeType

Definition at line 67 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef VectorDataType::Pointer otb::ConcatenateVectorDataFilter< TVectorData >::VectorDataPointerType

Definition at line 59 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef TVectorData otb::ConcatenateVectorDataFilter< TVectorData >::VectorDataType

Definition at line 56 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
typedef DataNodeType::PolygonType::VertexType otb::ConcatenateVectorDataFilter< TVectorData >::VertexType

Definition at line 64 of file otbConcatenateVectorDataFilter.h.

Constructor & Destructor Documentation

template<class TVectorData >
otb::ConcatenateVectorDataFilter< TVectorData >::ConcatenateVectorDataFilter ( )
protected

Definition at line 30 of file otbConcatenateVectorDataFilter.txx.

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

template<class TVectorData >
virtual otb::ConcatenateVectorDataFilter< TVectorData >::~ConcatenateVectorDataFilter ( )
inlineprotectedvirtual

Definition at line 79 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
otb::ConcatenateVectorDataFilter< TVectorData >::ConcatenateVectorDataFilter ( const Self )
private

Member Function Documentation

template<class TVectorData >
void otb::ConcatenateVectorDataFilter< TVectorData >::AddInput ( const VectorDataType vectorData)

Connects the VectorDatas from which the localizations are going to be extracted.

Definition at line 54 of file otbConcatenateVectorDataFilter.txx.

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

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<class TVectorData >
void otb::ConcatenateVectorDataFilter< TVectorData >::GenerateData ( void  )
protectedvirtual

Triggers the Computation of the sample list

Reimplemented from itk::ProcessObject.

Definition at line 82 of file otbConcatenateVectorDataFilter.txx.

template<class TVectorData >
const TVectorData * otb::ConcatenateVectorDataFilter< TVectorData >::GetInput ( unsigned int  idx) const

Definition at line 70 of file otbConcatenateVectorDataFilter.txx.

template<class TVectorData >
virtual const char* otb::ConcatenateVectorDataFilter< TVectorData >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from otb::VectorDataSource< TVectorData >.

template<class TVectorData >
static Pointer otb::ConcatenateVectorDataFilter< TVectorData >::New ( )
static

Method for creation through the object factory.

template<class TVectorData >
void otb::ConcatenateVectorDataFilter< TVectorData >::operator= ( const Self )
private
template<class TVectorData >
void otb::ConcatenateVectorDataFilter< TVectorData >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Chaining method to print an object's instance variables, as well as its superclasses.

Reimplemented from itk::ProcessObject.

Definition at line 46 of file otbConcatenateVectorDataFilter.txx.

template<class TVectorData >
void otb::ConcatenateVectorDataFilter< TVectorData >::ProcessNode ( TreeNodeType source,
DataNodeType outputDocument 
)
protected

Member Data Documentation

template<class TVectorData >
DataNodePointerType otb::ConcatenateVectorDataFilter< TVectorData >::m_Document
private

Definition at line 93 of file otbConcatenateVectorDataFilter.h.

template<class TVectorData >
DataNodePointerType otb::ConcatenateVectorDataFilter< TVectorData >::m_Folder
private

Definition at line 92 of file otbConcatenateVectorDataFilter.h.


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

Generated at Sat Oct 11 2014 17:06:06 for Orfeo Toolbox with doxygen 1.8.3.1