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::GISTableToVectorDataFilter< TGISTable, TVectorData > Class Template Reference

Convert a LabelMap to a VectorData. More...

#include <otbGISTableToVectorDataFilter.h>

+ Inheritance diagram for otb::GISTableToVectorDataFilter< TGISTable, TVectorData >:
+ Collaboration diagram for otb::GISTableToVectorDataFilter< TGISTable, TVectorData >:

Public Types

typedef
InputGISTableType::ConnectionPointerType 
ConnectionPointerType
 
typedef
InputGISTableType::ConnectionType 
ConnectionType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef DataNodeType::Pointer DataNodePointerType
 
typedef
OutputVectorDataType::DataNodeType 
DataNodeType
 
typedef TGISTable InputGISTableType
 
typedef
OGRVectorDataIOType::Pointer 
OGRVectorDataIOPointerType
 
typedef OGRVectorDataIO OGRVectorDataIOType
 
typedef
OutputVectorDataType::ConstPointer 
OutputVectorDataConstPointer
 
typedef
OutputVectorDataType::Pointer 
OutputVectorDataPointer
 
typedef TVectorData OutputVectorDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef GISTableToVectorDataFilter Self
 
typedef VectorDataSource
< TVectorData > 
Superclass
 
typedef VectorDataFileReader
< OutputVectorDataType
VectorDataFileReaderType
 
- 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

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const InputGISTableTypeGetInput (void)
 
const InputGISTableTypeGetInput (unsigned int idx)
 
virtual const char * GetNameOfClass () const
 
virtual void SetInput (const InputGISTableType *input)
 
virtual void SetInput (unsigned int idx, const InputGISTableType *input)
 
- 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

 GISTableToVectorDataFilter ()
 
virtual ~GISTableToVectorDataFilter ()
 
void GenerateData ()
 
void GenerateInputRequestedRegion ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
- 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

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

Private Attributes

VectorDataFileReaderType::Pointer m_Reader
 

Detailed Description

template<class TGISTable, class TVectorData>
class otb::GISTableToVectorDataFilter< TGISTable, TVectorData >

Convert a LabelMap to a VectorData.

GISTableToVectorDataFilter converts a GIS Table (PostGIS...) to a VectorData. The translation is delegate to the OGRVectorDataIO class (OGRVectorDataIO) which calls the OGR driver to translate GIS layer to a vectorData structure

See Also
VectorDataSource ,

Definition at line 42 of file otbGISTableToVectorDataFilter.h.

Member Typedef Documentation

template<class TGISTable, class TVectorData>
typedef InputGISTableType::ConnectionPointerType otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::ConnectionPointerType

Definition at line 63 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef InputGISTableType::ConnectionType otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::ConnectionType

Definition at line 62 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef itk::SmartPointer<const Self> otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::ConstPointer

Definition at line 51 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef DataNodeType::Pointer otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::DataNodePointerType

Definition at line 60 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef OutputVectorDataType::DataNodeType otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::DataNodeType

Definition at line 59 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef TGISTable otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::InputGISTableType

Some convenient typedefs.

Definition at line 54 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef OGRVectorDataIOType::Pointer otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::OGRVectorDataIOPointerType

Definition at line 66 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef OGRVectorDataIO otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::OGRVectorDataIOType

Definition at line 65 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef OutputVectorDataType::ConstPointer otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::OutputVectorDataConstPointer

Definition at line 57 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef OutputVectorDataType::Pointer otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::OutputVectorDataPointer

Definition at line 56 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef TVectorData otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::OutputVectorDataType

Definition at line 55 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef itk::SmartPointer<Self> otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::Pointer

Definition at line 50 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef GISTableToVectorDataFilter otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::Self

Standard class typedefs.

Definition at line 47 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef VectorDataSource<TVectorData> otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::Superclass

Definition at line 49 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
typedef VectorDataFileReader<OutputVectorDataType> otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::VectorDataFileReaderType

Definition at line 68 of file otbGISTableToVectorDataFilter.h.

Constructor & Destructor Documentation

template<class TGISTable , class TVectorData >
otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::GISTableToVectorDataFilter ( )
protected

Definition at line 31 of file otbGISTableToVectorDataFilter.txx.

template<class TGISTable, class TVectorData>
virtual otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::~GISTableToVectorDataFilter ( )
inlineprotectedvirtual

Definition at line 86 of file otbGISTableToVectorDataFilter.h.

template<class TGISTable, class TVectorData>
otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::GISTableToVectorDataFilter ( const Self )
private

Member Function Documentation

template<class TGISTable, class TVectorData>
virtual::itk::LightObject::Pointer otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::CreateAnother ( void  ) const
template<class TGISTable , class TVectorData >
void otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::GenerateData ( void  )
protected

Single-threaded version of GenerateData. This filter delegates to the OGR driver.

Create usual root elements of the output vectordata

Definition at line 109 of file otbGISTableToVectorDataFilter.txx.

template<class TGISTable , class TVectorData >
void otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::GenerateInputRequestedRegion ( void  )
protected

GISTableToVectorDataFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().

Definition at line 83 of file otbGISTableToVectorDataFilter.txx.

template<class TGISTable , class TVectorData >
const GISTableToVectorDataFilter< TGISTable, TVectorData >::InputGISTableType * otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::GetInput ( void  )

Definition at line 60 of file otbGISTableToVectorDataFilter.txx.

template<class TGISTable , class TVectorData >
const GISTableToVectorDataFilter< TGISTable, TVectorData >::InputGISTableType * otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::GetInput ( unsigned int  idx)

Definition at line 74 of file otbGISTableToVectorDataFilter.txx.

template<class TGISTable, class TVectorData>
virtual const char* otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::GetNameOfClass ( ) const
virtual

Runtime information support.

Reimplemented from otb::VectorDataSource< TVectorData >.

template<class TGISTable, class TVectorData>
static Pointer otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::New ( )
static

ImageDimension constants Standard New method.

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

Definition at line 161 of file otbGISTableToVectorDataFilter.txx.

template<class TGISTable , class TVectorData >
void otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::SetInput ( const InputGISTableType input)
virtual

Set/Get the GISTable input of this process object.

Definition at line 40 of file otbGISTableToVectorDataFilter.txx.

template<class TGISTable , class TVectorData >
void otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::SetInput ( unsigned int  idx,
const InputGISTableType input 
)
virtual

Definition at line 50 of file otbGISTableToVectorDataFilter.txx.

Member Data Documentation

template<class TGISTable, class TVectorData>
VectorDataFileReaderType::Pointer otb::GISTableToVectorDataFilter< TGISTable, TVectorData >::m_Reader
private

Definition at line 102 of file otbGISTableToVectorDataFilter.h.


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