Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
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

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

#include <otbVectorDataFileWriter.h>

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

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
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 void GenerateData ()
 
virtual const char * GetFileName () const
 
const InputVectorDataTypeGetInput (void)
 
const InputVectorDataTypeGetInput (unsigned int idx)
 
virtual const char * GetNameOfClass () const
 
virtual void SetFileName (const char *_arg)
 
void SetInput (const InputVectorDataType *input)
 
virtual void Update ()
 
virtual void Write ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

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

Protected Attributes

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

Private Member Functions

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

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 61 of file otbVectorDataFileWriter.h.

Member Typedef Documentation

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

Definition at line 69 of file otbVectorDataFileWriter.h.

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

Definition at line 75 of file otbVectorDataFileWriter.h.

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

Definition at line 68 of file otbVectorDataFileWriter.h.

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

Standard class typedefs.

Definition at line 66 of file otbVectorDataFileWriter.h.

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

Definition at line 67 of file otbVectorDataFileWriter.h.

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

Definition at line 78 of file otbVectorDataFileWriter.h.

Constructor & Destructor Documentation

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

Constructor

Definition at line 35 of file otbVectorDataFileWriter.txx.

template<class TInputVectorData >
otb::VectorDataFileWriter< TInputVectorData >::~VectorDataFileWriter ( )
protectedvirtual

Destructor

Definition at line 46 of file otbVectorDataFileWriter.txx.

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

Member Function Documentation

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

Definition at line 184 of file otbVectorDataFileWriter.txx.

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

Definition at line 65 of file otbVectorDataFileWriter.txx.

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

Definition at line 80 of file otbVectorDataFileWriter.txx.

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

Run-time type information (and related methods).

Reimplemented from itk::ProcessObject.

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

Method for creation through the object factory.

Referenced by otb::Wrapper::OutputVectorDataParameter::InitializeWriters().

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

Definition at line 205 of file otbVectorDataFileWriter.txx.

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

Specify the name of the output shapefile to write.

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

Set/Get the image input of this writer.

Definition at line 54 of file otbVectorDataFileWriter.txx.

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

Definition at line 90 of file otbVectorDataFileWriter.h.

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

Member Data Documentation

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

Definition at line 108 of file otbVectorDataFileWriter.h.

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

Definition at line 105 of file otbVectorDataFileWriter.h.

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

Definition at line 107 of file otbVectorDataFileWriter.h.

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

Definition at line 106 of file otbVectorDataFileWriter.h.


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