OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | List of all members
otb::VectorDataSource< TOutputVectorData > Class Template Reference

#include <otbVectorDataSource.h>

+ Inheritance diagram for otb::VectorDataSource< TOutputVectorData >:
+ Collaboration diagram for otb::VectorDataSource< TOutputVectorData >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
 
typedef TOutputVectorData::Pointer OutputVectorDataPointer
 
typedef TOutputVectorData OutputVectorDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef VectorDataSource Self
 
typedef itk::ProcessObject Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual void GraftOutput (itk::DataObject *output)
 
virtual void GraftNthOutput (unsigned int idx, itk::DataObject *output)
 

Static Public Member Functions

static Pointer New ()
 
virtual OutputVectorDataTypeGetOutput (void)
 
virtual OutputVectorDataTypeGetOutput (DataObjectPointerArraySizeType idx)
 
 VectorDataSource ()
 
 ~VectorDataSource () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
virtual void AllocateOutputs ()
 
 VectorDataSource (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TOutputVectorData>
class otb::VectorDataSource< TOutputVectorData >

Filter hierarchy for generating VectorData.

Definition at line 42 of file otbVectorDataSource.h.

Member Typedef Documentation

◆ ConstPointer

template<class TOutputVectorData >
typedef itk::SmartPointer<const Self> otb::VectorDataSource< TOutputVectorData >::ConstPointer

Definition at line 49 of file otbVectorDataSource.h.

◆ DataObjectPointerArraySizeType

template<class TOutputVectorData >
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::VectorDataSource< TOutputVectorData >::DataObjectPointerArraySizeType

Definition at line 55 of file otbVectorDataSource.h.

◆ OutputVectorDataPointer

template<class TOutputVectorData >
typedef TOutputVectorData::Pointer otb::VectorDataSource< TOutputVectorData >::OutputVectorDataPointer

Definition at line 59 of file otbVectorDataSource.h.

◆ OutputVectorDataType

template<class TOutputVectorData >
typedef TOutputVectorData otb::VectorDataSource< TOutputVectorData >::OutputVectorDataType

Definition at line 58 of file otbVectorDataSource.h.

◆ Pointer

template<class TOutputVectorData >
typedef itk::SmartPointer<Self> otb::VectorDataSource< TOutputVectorData >::Pointer

Definition at line 48 of file otbVectorDataSource.h.

◆ Self

template<class TOutputVectorData >
typedef VectorDataSource otb::VectorDataSource< TOutputVectorData >::Self

Standard class typedefs.

Definition at line 46 of file otbVectorDataSource.h.

◆ Superclass

template<class TOutputVectorData >
typedef itk::ProcessObject otb::VectorDataSource< TOutputVectorData >::Superclass

Definition at line 47 of file otbVectorDataSource.h.

Constructor & Destructor Documentation

◆ VectorDataSource() [1/2]

template<class TOutputVectorData >
otb::VectorDataSource< TOutputVectorData >::VectorDataSource
protected

Constructor

Definition at line 33 of file otbVectorDataSource.hxx.

◆ ~VectorDataSource()

template<class TOutputVectorData >
otb::VectorDataSource< TOutputVectorData >::~VectorDataSource
overrideprotected

Overriding GetOutput() method

Get the output vector data

Returns
The vector data produced.

Definition at line 41 of file otbVectorDataSource.hxx.

◆ VectorDataSource() [2/2]

template<class TOutputVectorData >
otb::VectorDataSource< TOutputVectorData >::VectorDataSource ( const Self )
privatedelete

Overriding GetOutput() method

Get the output vector data

Returns
The vector data produced.

Member Function Documentation

◆ AllocateOutputs()

template<class TOutputVectorData >
void otb::VectorDataSource< TOutputVectorData >::AllocateOutputs
protectedvirtual

Ensure that the output vector data are cleared before processing

Definition at line 82 of file otbVectorDataSource.hxx.

◆ CreateAnother()

template<class TOutputVectorData >
virtual::itk::LightObject::Pointer otb::VectorDataSource< TOutputVectorData >::CreateAnother ( void  ) const

◆ GetNameOfClass()

template<class TOutputVectorData >
virtual const char* otb::VectorDataSource< TOutputVectorData >::GetNameOfClass ( ) const
virtual

◆ GetOutput() [1/2]

template<class TOutputVectorData >
VectorDataSource< TOutputVectorData >::OutputVectorDataType * otb::VectorDataSource< TOutputVectorData >::GetOutput ( DataObjectPointerArraySizeType  idx)
virtual

Overriding GetOutput() method

Get the output vector data

Returns
The vector data produced.

Definition at line 110 of file otbVectorDataSource.hxx.

◆ GetOutput() [2/2]

template<class TOutputVectorData >
VectorDataSource< TOutputVectorData >::OutputVectorDataType * otb::VectorDataSource< TOutputVectorData >::GetOutput ( void  )
virtual

Overriding GetOutput() method

Get the output vector data

Returns
The vector data produced.

Definition at line 99 of file otbVectorDataSource.hxx.

◆ GraftNthOutput()

template<class TOutputVectorData >
void otb::VectorDataSource< TOutputVectorData >::GraftNthOutput ( unsigned int  idx,
itk::DataObject *  output 
)
virtual

Graft the specified data object onto this ProcessObject's idx'th output. This is similar to the GraftOutput method except it allows you to specify which output is affected. The specified index must be a valid output number (less than ProcessObject::GetNumberOfOutputs()). See the GraftOutput for general usage information.

Definition at line 60 of file otbVectorDataSource.hxx.

◆ GraftOutput()

template<class TOutputVectorData >
void otb::VectorDataSource< TOutputVectorData >::GraftOutput ( itk::DataObject *  output)
virtual

Graft the specified DataObject onto this ProcessObject's output. This method grabs a handle to the specified DataObject's bulk data to used as its output's own bulk data. Most importantly, however, it leaves the Source ivar untouched so the original pipeline routing is intact. This method is used when a process object is implemented using a mini-pipeline which is defined in its GenerateData() method.

Definition at line 50 of file otbVectorDataSource.hxx.

◆ New()

template<class TOutputVectorData >
static Pointer otb::VectorDataSource< TOutputVectorData >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TOutputVectorData >
void otb::VectorDataSource< TOutputVectorData >::operator= ( const Self )
privatedelete

Overriding GetOutput() method

Get the output vector data

Returns
The vector data produced.

◆ PrintSelf()

template<class TOutputVectorData >
void otb::VectorDataSource< TOutputVectorData >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

PrintSelf Method

Definition at line 119 of file otbVectorDataSource.hxx.


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