Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
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 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)
 

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
 

Private Member Functions

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

Private Attributes

DataNodePointerType m_Document
 
DataNodePointerType m_Folder
 

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
template<class TVectorData >
void otb::ConcatenateVectorDataFilter< TVectorData >::GenerateData ( void  )
protected

Triggers the Computation of the sample list

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
protected

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: