OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | List of all members
otb::OGRIOHelper Class Reference

#include <otbOGRIOHelper.h>

+ Inheritance diagram for otb::OGRIOHelper:
+ Collaboration diagram for otb::OGRIOHelper:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef DataNodeType::Pointer DataNodePointerType
 
typedef VectorDataType::DataNodeType DataNodeType
 
typedef VectorDataType::DataTreeType DataTreeType
 
typedef DataTreeType::TreeNodeType InternalTreeNodeType
 
typedef itk::SmartPointer< SelfPointer
 
typedef OGRIOHelper Self
 
typedef itk::Object Superclass
 
typedef VectorData VectorDataType
 

Public Member Functions

std::vector< OGRLayer * > ConvertDataTreeNodeToOGRLayers (InternalTreeNodeType *source, GDALDataset *dummyDatasource, OGRLayer *ogrCurrentLayer, OGRSpatialReference *oSRS)
 
void ConvertGeometryToLineNode (const OGRGeometry *ogrGeometry, DataNodePointerType node) const
 
void ConvertGeometryToPointNode (const OGRGeometry *ogrGeometry, DataNodePointerType node) const
 
void ConvertGeometryToPolygonNode (const OGRGeometry *ogrGeometry, DataNodePointerType node) const
 
void ConvertOGRLayerToDataTreeNode (OGRLayer *layer, InternalTreeNodeType *documentPtr) const
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
unsigned int ProcessNodeWrite (InternalTreeNodeType *source, GDALDataset *m_DataSource, OGRGeometryCollection *ogrCollection, OGRLayer *ogrCurrentLayer, OGRSpatialReference *oSRS)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 OGRIOHelper ()
 
 ~OGRIOHelper () override
 

Private Types

typedef LineType::Pointer LinePointerType
 
typedef DataNodeType::LineType LineType
 
typedef DataNodeType::PointType PointType
 
typedef PolygonListType::Pointer PolygonListPointerType
 
typedef DataNodeType::PolygonListType PolygonListType
 
typedef PolygonType::Pointer PolygonPointerType
 
typedef DataNodeType::PolygonType PolygonType
 
typedef VertexListType::ConstPointer VertexListConstPointerType
 
typedef LineType::VertexListType VertexListType
 

Private Member Functions

 OGRIOHelper (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

This class IO OGR.

Definition at line 47 of file otbOGRIOHelper.h.

Member Typedef Documentation

◆ ConstPointer

typedef itk::SmartPointer<const Self> otb::OGRIOHelper::ConstPointer

Definition at line 54 of file otbOGRIOHelper.h.

◆ DataNodePointerType

Definition at line 64 of file otbOGRIOHelper.h.

◆ DataNodeType

Definition at line 63 of file otbOGRIOHelper.h.

◆ DataTreeType

Definition at line 60 of file otbOGRIOHelper.h.

◆ InternalTreeNodeType

typedef DataTreeType::TreeNodeType otb::OGRIOHelper::InternalTreeNodeType

Definition at line 61 of file otbOGRIOHelper.h.

◆ LinePointerType

Definition at line 100 of file otbOGRIOHelper.h.

◆ LineType

Definition at line 99 of file otbOGRIOHelper.h.

◆ Pointer

typedef itk::SmartPointer<Self> otb::OGRIOHelper::Pointer

Definition at line 53 of file otbOGRIOHelper.h.

◆ PointType

Definition at line 97 of file otbOGRIOHelper.h.

◆ PolygonListPointerType

Definition at line 107 of file otbOGRIOHelper.h.

◆ PolygonListType

Definition at line 106 of file otbOGRIOHelper.h.

◆ PolygonPointerType

Definition at line 105 of file otbOGRIOHelper.h.

◆ PolygonType

Definition at line 104 of file otbOGRIOHelper.h.

◆ Self

Standard class typedefs.

Definition at line 51 of file otbOGRIOHelper.h.

◆ Superclass

typedef itk::Object otb::OGRIOHelper::Superclass

Definition at line 52 of file otbOGRIOHelper.h.

◆ VectorDataType

Template parameters typedefs Data typedef

Definition at line 59 of file otbOGRIOHelper.h.

◆ VertexListConstPointerType

typedef VertexListType::ConstPointer otb::OGRIOHelper::VertexListConstPointerType
private

Definition at line 102 of file otbOGRIOHelper.h.

◆ VertexListType

Definition at line 101 of file otbOGRIOHelper.h.

Constructor & Destructor Documentation

◆ OGRIOHelper() [1/2]

otb::OGRIOHelper::OGRIOHelper ( )
protected

◆ ~OGRIOHelper()

otb::OGRIOHelper::~OGRIOHelper ( )
overrideprotected

◆ OGRIOHelper() [2/2]

otb::OGRIOHelper::OGRIOHelper ( const Self )
privatedelete

Member Function Documentation

◆ ConvertDataTreeNodeToOGRLayers()

std::vector<OGRLayer*> otb::OGRIOHelper::ConvertDataTreeNodeToOGRLayers ( InternalTreeNodeType source,
GDALDataset *  dummyDatasource,
OGRLayer *  ogrCurrentLayer,
OGRSpatialReference *  oSRS 
)

Return a list of OGRLayer *

◆ ConvertGeometryToLineNode()

void otb::OGRIOHelper::ConvertGeometryToLineNode ( const OGRGeometry *  ogrGeometry,
DataNodePointerType  node 
) const

◆ ConvertGeometryToPointNode()

void otb::OGRIOHelper::ConvertGeometryToPointNode ( const OGRGeometry *  ogrGeometry,
DataNodePointerType  node 
) const

◆ ConvertGeometryToPolygonNode()

void otb::OGRIOHelper::ConvertGeometryToPolygonNode ( const OGRGeometry *  ogrGeometry,
DataNodePointerType  node 
) const

◆ ConvertOGRLayerToDataTreeNode()

void otb::OGRIOHelper::ConvertOGRLayerToDataTreeNode ( OGRLayer *  layer,
InternalTreeNodeType documentPtr 
) const

Conversion tools

◆ CreateAnother()

virtual::itk::LightObject::Pointer otb::OGRIOHelper::CreateAnother ( void  ) const

◆ GetNameOfClass()

virtual const char* otb::OGRIOHelper::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ New()

static Pointer otb::OGRIOHelper::New ( )
static

◆ operator=()

void otb::OGRIOHelper::operator= ( const Self )
privatedelete

◆ ProcessNodeWrite()

unsigned int otb::OGRIOHelper::ProcessNodeWrite ( InternalTreeNodeType source,
GDALDataset *  m_DataSource,
OGRGeometryCollection *  ogrCollection,
OGRLayer *  ogrCurrentLayer,
OGRSpatialReference *  oSRS 
)

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