Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData > Class Template Reference

Build a vector data containing the polygon of the image envelope. More...

#include <otbImageToEnvelopeVectorDataFilter.h>

+ Inheritance diagram for otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >:
+ Collaboration diagram for otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef TInputImage::ConstPointer InputImagePointer
 
typedef TInputImage InputImageType
 
typedef
InternalTransformType::Pointer 
InternalTransformPointerType
 
typedef
otb::GenericRSTransform
< double, 2, 2 > 
InternalTransformType
 
typedef
OutputVectorDataType::DataNodePointerType 
OutputDataNodePointerType
 
typedef
OutputVectorDataType::DataNodeType 
OutputDataNodeType
 
typedef
OutputVectorDataType::DataTreePointerType 
OutputDataTreePointerType
 
typedef
OutputVectorDataType::DataTreeType::TreeNodeType 
OutputInternalTreeNodeType
 
typedef TOutputVectorData::Pointer OutputVectorDataPointer
 
typedef TOutputVectorData OutputVectorDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
OutputDataNodeType::PolygonType 
PolygonType
 
typedef
ImageToEnvelopeVectorDataFilter 
Self
 
typedef otb::VectorDataSource
< TOutputVectorData > 
Superclass
 
- Public Types inherited from otb::VectorDataSource< TOutputVectorData >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef TOutputVectorData::Pointer OutputVectorDataPointer
 
typedef TOutputVectorData OutputVectorDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef VectorDataSource Self
 
typedef itk::ProcessObject Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const InputImageTypeGetInput ()
 
virtual const char * GetNameOfClass () const
 
virtual const char * GetOutputProjectionRef () const
 
virtual unsigned int GetSamplingRate ()
 
void SetInput (const InputImageType *input)
 
virtual void SetOutputProjectionRef (const char *_arg)
 
virtual void SetSamplingRate (unsigned int _arg)
 
- Public Member Functions inherited from otb::VectorDataSource< TOutputVectorData >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual OutputVectorDataTypeGetOutput (void)
 
virtual OutputVectorDataTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, itk::DataObject *output)
 
virtual void GraftOutput (itk::DataObject *output)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::VectorDataSource< TOutputVectorData >
static Pointer New ()
 

Protected Member Functions

 ImageToEnvelopeVectorDataFilter ()
 
virtual ~ImageToEnvelopeVectorDataFilter ()
 
void GenerateData (void)
 
void GenerateInputRequestedRegion ()
 
void GenerateOutputInformation (void)
 
void InstantiateTransform ()
 
- Protected Member Functions inherited from otb::VectorDataSource< TOutputVectorData >
 VectorDataSource ()
 
virtual ~VectorDataSource ()
 
virtual void AllocateOutputs ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 

Private Member Functions

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

Private Attributes

std::string m_OutputProjectionRef
 
unsigned int m_SamplingRate
 
InternalTransformPointerType m_Transform
 

Detailed Description

template<class TInputImage, class TOutputVectorData>
class otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >

Build a vector data containing the polygon of the image envelope.

This filter uses the GenericRSTransform to project the four corners of the image into ground position. If the sampling rate is not null, the image edges are also projected (using one point every "m_SamplingRate" pixels). In case of raw image geometry, a DEM directory or average elevation can be set for better accuracy.

This filter supports user-specified output projection. If no projection is defined, the standard WGS84 projection will be used.

Definition at line 43 of file otbImageToEnvelopeVectorDataFilter.h.

Member Typedef Documentation

template<class TInputImage , class TOutputVectorData >
typedef itk::SmartPointer<const Self> otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::ConstPointer

Definition at line 52 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef TInputImage::ConstPointer otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::InputImagePointer

Definition at line 56 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef TInputImage otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::InputImageType

Definition at line 54 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef InternalTransformType::Pointer otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::InternalTransformPointerType

Definition at line 61 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef otb::GenericRSTransform<double, 2, 2> otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::InternalTransformType

Some typedefs.

Definition at line 60 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef OutputVectorDataType ::DataNodePointerType otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::OutputDataNodePointerType

Definition at line 65 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef OutputVectorDataType ::DataNodeType otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::OutputDataNodeType

Definition at line 63 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef OutputVectorDataType ::DataTreePointerType otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::OutputDataTreePointerType

Definition at line 67 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef OutputVectorDataType ::DataTreeType::TreeNodeType otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::OutputInternalTreeNodeType

Definition at line 69 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef TOutputVectorData::Pointer otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::OutputVectorDataPointer

Definition at line 57 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef TOutputVectorData otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::OutputVectorDataType

Definition at line 55 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef itk::SmartPointer<Self> otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::Pointer

Definition at line 51 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef OutputDataNodeType::PolygonType otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::PolygonType

Definition at line 70 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef ImageToEnvelopeVectorDataFilter otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::Self

Standard class typedefs.

Definition at line 49 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
typedef otb::VectorDataSource<TOutputVectorData> otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::Superclass

Definition at line 50 of file otbImageToEnvelopeVectorDataFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputVectorData >
otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::ImageToEnvelopeVectorDataFilter ( )
protected

Constructor

Definition at line 31 of file otbImageToEnvelopeVectorDataFilter.txx.

template<class TInputImage , class TOutputVectorData >
virtual otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::~ImageToEnvelopeVectorDataFilter ( )
inlineprotectedvirtual

Definition at line 93 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::ImageToEnvelopeVectorDataFilter ( const Self )
private

Member Function Documentation

template<class TInputImage , class TOutputVectorData >
virtual::itk::LightObject::Pointer otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::CreateAnother ( void  ) const
template<class TInputImage , class TOutputVectorData >
void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GenerateData ( void  )
protected

Definition at line 121 of file otbImageToEnvelopeVectorDataFilter.txx.

References otb::DOCUMENT.

template<class TInputImage , class TOutputVectorData >
void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GenerateInputRequestedRegion ( void  )
protected

Definition at line 83 of file otbImageToEnvelopeVectorDataFilter.txx.

template<class TInputImage , class TOutputVectorData >
void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GenerateOutputInformation ( void  )
protected
template<class TInputImage , class TOutputVectorData >
const TInputImage * otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GetInput ( void  )

Get input image

Definition at line 55 of file otbImageToEnvelopeVectorDataFilter.txx.

template<class TInputImage , class TOutputVectorData >
virtual const char* otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from otb::VectorDataSource< TOutputVectorData >.

template<class TInputImage , class TOutputVectorData >
virtual const char* otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GetOutputProjectionRef ( ) const
virtual
template<class TInputImage , class TOutputVectorData >
virtual unsigned int otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GetSamplingRate ( )
virtual
template<class TInputImage , class TOutputVectorData >
void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::InstantiateTransform ( void  )
protected

Definition at line 106 of file otbImageToEnvelopeVectorDataFilter.txx.

template<class TInputImage , class TOutputVectorData >
static Pointer otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TOutputVectorData >
void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::operator= ( const Self )
private
template<class TInputImage , class TOutputVectorData >
void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::SetInput ( const InputImageType input)

Set input image

Definition at line 44 of file otbImageToEnvelopeVectorDataFilter.txx.

template<class TInputImage , class TOutputVectorData >
virtual void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::SetOutputProjectionRef ( const char *  _arg)
virtual

Set/Get output projection (default is WGS84)

template<class TInputImage , class TOutputVectorData >
virtual void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::SetSamplingRate ( unsigned int  _arg)
virtual

Member Data Documentation

template<class TInputImage , class TOutputVectorData >
std::string otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::m_OutputProjectionRef
private

Definition at line 108 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
unsigned int otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::m_SamplingRate
private

Definition at line 109 of file otbImageToEnvelopeVectorDataFilter.h.

template<class TInputImage , class TOutputVectorData >
InternalTransformPointerType otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::m_Transform
private

Definition at line 107 of file otbImageToEnvelopeVectorDataFilter.h.


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