OTB  7.4.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private 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
 
void GenerateData () override
 
virtual const char * GetNameOfClass () const
 
void Update () override
 
virtual void Write ()
 
void SetInput (const InputVectorDataType *input)
 
const InputVectorDataTypeGetInput (void)
 
const InputVectorDataTypeGetInput (unsigned int idx)
 
virtual void SetFileName (const char *_arg)
 
virtual const char * GetFileName () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 VectorDataFileWriter ()
 
 ~VectorDataFileWriter () override
 

Protected Attributes

bool m_FactorySpecifiedVectorDataIO
 
std::string m_FileName
 
bool m_UserSpecifiedVectorDataIO
 
VectorDataIOBaseType::Pointer m_VectorDataIO
 

Private Member Functions

void operator= (const Self &)=delete
 
 VectorDataFileWriter (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

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 ( void  )
override

Definition at line 163 of file otbVectorDataFileWriter.hxx.

◆ GetFileName()

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

Specify the name of the output shapefile to write.

◆ GetInput() [1/2]

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

Definition at line 60 of file otbVectorDataFileWriter.hxx.

◆ GetInput() [2/2]

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

Definition at line 72 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

◆ PrintSelf()

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

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)

Definition at line 52 of file otbVectorDataFileWriter.hxx.

◆ Update()

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

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

Definition at line 115 of file otbVectorDataFileWriter.h.

◆ m_FileName

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

Definition at line 112 of file otbVectorDataFileWriter.h.

◆ m_UserSpecifiedVectorDataIO

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

Definition at line 114 of file otbVectorDataFileWriter.h.

◆ m_VectorDataIO

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

Definition at line 113 of file otbVectorDataFileWriter.h.


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