OTB  10.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

using ConstPointer = itk::SmartPointer< const Self >
 
using DataNodePointerType = DataNodeType::Pointer
 
using DataNodeType = VectorDataType::DataNodeType
 
using DataTreeType = VectorDataType::DataTreeType
 
using Pointer = itk::SmartPointer< Self >
 
using Self = OGRIOHelper
 
using Superclass = itk::Object
 
using VectorDataConstPointerType = VectorDataType::ConstPointer
 
using VectorDataPointerType = VectorDataType::Pointer
 
using VectorDataType = VectorData< double, 2 >
 

Public Member Functions

std::vector< OGRLayer * > ConvertDataTreeNodeToOGRLayers (VectorDataConstPointerType vdata, DataNodePointerType 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 (VectorDataPointerType vecDataTree, OGRLayer *layer, DataNodePointerType document) const
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
unsigned int ProcessNodeWrite (VectorDataConstPointerType vdata, DataNodePointerType 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

using LinePointerType = LineType::Pointer
 
using LineType = DataNodeType::LineType
 
using PointType = DataNodeType::PointType
 
using PolygonListPointerType = PolygonListType::Pointer
 
using PolygonListType = DataNodeType::PolygonListType
 
using PolygonPointerType = PolygonType::Pointer
 
using PolygonType = DataNodeType::PolygonType
 
using VertexListConstPointerType = VertexListType::ConstPointer
 
using VertexListType = LineType::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

using otb::OGRIOHelper::ConstPointer = itk::SmartPointer<const Self>

Definition at line 54 of file otbOGRIOHelper.h.

◆ DataNodePointerType

Definition at line 65 of file otbOGRIOHelper.h.

◆ DataNodeType

Definition at line 64 of file otbOGRIOHelper.h.

◆ DataTreeType

Definition at line 62 of file otbOGRIOHelper.h.

◆ LinePointerType

Definition at line 101 of file otbOGRIOHelper.h.

◆ LineType

Definition at line 100 of file otbOGRIOHelper.h.

◆ Pointer

using otb::OGRIOHelper::Pointer = itk::SmartPointer<Self>

Definition at line 53 of file otbOGRIOHelper.h.

◆ PointType

Definition at line 98 of file otbOGRIOHelper.h.

◆ PolygonListPointerType

Definition at line 108 of file otbOGRIOHelper.h.

◆ PolygonListType

Definition at line 107 of file otbOGRIOHelper.h.

◆ PolygonPointerType

Definition at line 106 of file otbOGRIOHelper.h.

◆ PolygonType

Definition at line 105 of file otbOGRIOHelper.h.

◆ Self

Standard class usings.

Definition at line 51 of file otbOGRIOHelper.h.

◆ Superclass

using otb::OGRIOHelper::Superclass = itk::Object

Definition at line 52 of file otbOGRIOHelper.h.

◆ VectorDataConstPointerType

Definition at line 61 of file otbOGRIOHelper.h.

◆ VectorDataPointerType

Definition at line 60 of file otbOGRIOHelper.h.

◆ VectorDataType

Template parameters usings Data using

Definition at line 59 of file otbOGRIOHelper.h.

◆ VertexListConstPointerType

using otb::OGRIOHelper::VertexListConstPointerType = VertexListType::ConstPointer
private

Definition at line 103 of file otbOGRIOHelper.h.

◆ VertexListType

Definition at line 102 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 ( VectorDataConstPointerType  vdata,
DataNodePointerType  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 ( VectorDataPointerType  vecDataTree,
OGRLayer *  layer,
DataNodePointerType  document 
) 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 ( VectorDataConstPointerType  vdata,
DataNodePointerType  source,
GDALDataset *  m_DataSource,
OGRGeometryCollection *  ogrCollection,
OGRLayer *  ogrCurrentLayer,
OGRSpatialReference *  oSRS 
)

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