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

#include <otbVectorDataFileWriter.h>

+ Inheritance diagram for otb::VectorDataFileWriter< TInputVectorData >:
+ Collaboration diagram for otb::VectorDataFileWriter< TInputVectorData >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef TInputVectorData InputVectorDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef VectorDataFileWriter Self
 
typedef itk::ProcessObject Superclass
 
typedef VectorDataIOBase VectorDataIOBaseType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 
std::string m_FileName
 
VectorDataIOBaseType::Pointer m_VectorDataIO
 
bool m_UserSpecifiedVectorDataIO
 
bool m_FactorySpecifiedVectorDataIO
 
void SetInput (const InputVectorDataType *input)
 
const InputVectorDataTypeGetInput (void)
 
const InputVectorDataTypeGetInput (unsigned int idx)
 
virtual void Write ()
 
void GenerateData () override
 
void Update () override
 
virtual void SetFileName (const char *_arg)
 
virtual const char * GetFileName () const
 
 VectorDataFileWriter ()
 
 ~VectorDataFileWriter () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 VectorDataFileWriter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TInputVectorData>
class otb::VectorDataFileWriter< TInputVectorData >

This class writes vector data file format (shapefile and KML)

Examples
Projections/VectorDataExtractROIExample.cxx, and Projections/VectorDataProjectionExample.cxx.

Definition at line 66 of file otbVectorDataFileWriter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputVectorData >
typedef itk::SmartPointer<const Self> otb::VectorDataFileWriter< TInputVectorData >::ConstPointer

Definition at line 73 of file otbVectorDataFileWriter.h.

◆ InputVectorDataType

template<class TInputVectorData >
typedef TInputVectorData otb::VectorDataFileWriter< TInputVectorData >::InputVectorDataType

Definition at line 79 of file otbVectorDataFileWriter.h.

◆ Pointer

template<class TInputVectorData >
typedef itk::SmartPointer<Self> otb::VectorDataFileWriter< TInputVectorData >::Pointer

Definition at line 72 of file otbVectorDataFileWriter.h.

◆ Self

template<class TInputVectorData >
typedef VectorDataFileWriter otb::VectorDataFileWriter< TInputVectorData >::Self

Standard class typedefs.

Definition at line 70 of file otbVectorDataFileWriter.h.

◆ Superclass

template<class TInputVectorData >
typedef itk::ProcessObject otb::VectorDataFileWriter< TInputVectorData >::Superclass

Definition at line 71 of file otbVectorDataFileWriter.h.

◆ VectorDataIOBaseType

template<class TInputVectorData >
typedef VectorDataIOBase otb::VectorDataFileWriter< TInputVectorData >::VectorDataIOBaseType

Definition at line 82 of file otbVectorDataFileWriter.h.

Constructor & Destructor Documentation

◆ VectorDataFileWriter() [1/2]

template<class TInputVectorData >
otb::VectorDataFileWriter< TInputVectorData >::VectorDataFileWriter
protected

Constructor

Definition at line 37 of file otbVectorDataFileWriter.hxx.

◆ ~VectorDataFileWriter()

template<class TInputVectorData >
otb::VectorDataFileWriter< TInputVectorData >::~VectorDataFileWriter
overrideprotected

Destructor

Definition at line 46 of file otbVectorDataFileWriter.hxx.

◆ VectorDataFileWriter() [2/2]

template<class TInputVectorData >
otb::VectorDataFileWriter< TInputVectorData >::VectorDataFileWriter ( const Self )
privatedelete

Does the real work.

Member Function Documentation

◆ CreateAnother()

template<class TInputVectorData >
virtual::itk::LightObject::Pointer otb::VectorDataFileWriter< TInputVectorData >::CreateAnother ( void  ) const

◆ GenerateData()

template<class TInputVectorData >
void otb::VectorDataFileWriter< TInputVectorData >::GenerateData
override

Does the real work.

Definition at line 163 of file otbVectorDataFileWriter.hxx.

◆ GetFileName()

template<class TInputVectorData >
virtual const char* otb::VectorDataFileWriter< TInputVectorData >::GetFileName ( ) const
virtual

Does the real work.

◆ GetInput() [1/2]

template<class TInputVectorData >
const VectorDataFileWriter< TInputVectorData >::InputVectorDataType * otb::VectorDataFileWriter< TInputVectorData >::GetInput ( unsigned int  idx)

Does the real work.

Definition at line 72 of file otbVectorDataFileWriter.hxx.

◆ GetInput() [2/2]

template<class TInputVectorData >
const VectorDataFileWriter< TInputVectorData >::InputVectorDataType * otb::VectorDataFileWriter< TInputVectorData >::GetInput ( void  )

Does the real work.

Definition at line 60 of file otbVectorDataFileWriter.hxx.

◆ GetNameOfClass()

template<class TInputVectorData >
virtual const char* otb::VectorDataFileWriter< TInputVectorData >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ New()

template<class TInputVectorData >
static Pointer otb::VectorDataFileWriter< TInputVectorData >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TInputVectorData >
void otb::VectorDataFileWriter< TInputVectorData >::operator= ( const Self )
privatedelete

Does the real work.

◆ PrintSelf()

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

Does the real work.

Definition at line 181 of file otbVectorDataFileWriter.hxx.

◆ SetFileName()

template<class TInputVectorData >
virtual void otb::VectorDataFileWriter< TInputVectorData >::SetFileName ( const char *  _arg)
virtual

Specify the name of the output shapefile to write.

◆ SetInput()

template<class TInputVectorData >
void otb::VectorDataFileWriter< TInputVectorData >::SetInput ( const InputVectorDataType input)

Does the real work.

Definition at line 52 of file otbVectorDataFileWriter.hxx.

◆ Update()

template<class TInputVectorData >
void otb::VectorDataFileWriter< TInputVectorData >::Update ( )
inlineoverride

Does the real work.

Definition at line 96 of file otbVectorDataFileWriter.h.

◆ Write()

template<class TInputVectorData >
void otb::VectorDataFileWriter< TInputVectorData >::Write
virtual

Does the real work.

Definition at line 79 of file otbVectorDataFileWriter.hxx.

Member Data Documentation

◆ m_FactorySpecifiedVectorDataIO

template<class TInputVectorData >
bool otb::VectorDataFileWriter< TInputVectorData >::m_FactorySpecifiedVectorDataIO
protected

Does the real work.

Definition at line 115 of file otbVectorDataFileWriter.h.

◆ m_FileName

template<class TInputVectorData >
std::string otb::VectorDataFileWriter< TInputVectorData >::m_FileName
protected

Does the real work.

Definition at line 112 of file otbVectorDataFileWriter.h.

◆ m_UserSpecifiedVectorDataIO

template<class TInputVectorData >
bool otb::VectorDataFileWriter< TInputVectorData >::m_UserSpecifiedVectorDataIO
protected

Does the real work.

Definition at line 114 of file otbVectorDataFileWriter.h.

◆ m_VectorDataIO

template<class TInputVectorData >
VectorDataIOBaseType::Pointer otb::VectorDataFileWriter< TInputVectorData >::m_VectorDataIO
protected

Does the real work.

Definition at line 113 of file otbVectorDataFileWriter.h.


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