OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | List of all members
otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData > Class Template Reference

#include <otbImageToEnvelopeVectorDataFilter.h>

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

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
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 SelfConstPointer
 
typedef itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
 
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
 
virtual const char * GetNameOfClass () const
 
void SetInput (const InputImageType *input)
 
const InputImageTypeGetInput ()
 
- Public Member Functions inherited from otb::VectorDataSource< TOutputVectorData >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual void GraftOutput (itk::DataObject *output)
 
virtual void GraftNthOutput (unsigned int idx, itk::DataObject *output)
 
virtual OutputVectorDataTypeGetOutput (void)
 
virtual OutputVectorDataTypeGetOutput (DataObjectPointerArraySizeType idx)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::VectorDataSource< TOutputVectorData >
static Pointer New ()
 
InternalTransformPointerType m_Transform
 
std::string m_OutputProjectionRef
 
unsigned int m_SamplingRate
 
virtual void SetOutputProjectionRef (const char *_arg)
 
virtual const char * GetOutputProjectionRef () const
 
virtual void SetSamplingRate (unsigned int _arg)
 
virtual unsigned int GetSamplingRate ()
 
 ImageToEnvelopeVectorDataFilter ()
 
 ~ImageToEnvelopeVectorDataFilter () override
 
void GenerateOutputInformation (void) override
 
void GenerateInputRequestedRegion () override
 
void GenerateData (void) override
 
void InstantiateTransform ()
 
 ImageToEnvelopeVectorDataFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Additional Inherited Members

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

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 49 of file otbImageToEnvelopeVectorDataFilter.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 57 of file otbImageToEnvelopeVectorDataFilter.h.

◆ InputImagePointer

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

Definition at line 61 of file otbImageToEnvelopeVectorDataFilter.h.

◆ InputImageType

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

Definition at line 59 of file otbImageToEnvelopeVectorDataFilter.h.

◆ InternalTransformPointerType

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

Definition at line 66 of file otbImageToEnvelopeVectorDataFilter.h.

◆ InternalTransformType

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

Some typedefs.

Definition at line 65 of file otbImageToEnvelopeVectorDataFilter.h.

◆ OutputDataNodePointerType

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

Definition at line 68 of file otbImageToEnvelopeVectorDataFilter.h.

◆ OutputDataNodeType

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

Definition at line 67 of file otbImageToEnvelopeVectorDataFilter.h.

◆ OutputDataTreePointerType

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

Definition at line 69 of file otbImageToEnvelopeVectorDataFilter.h.

◆ OutputInternalTreeNodeType

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

Definition at line 70 of file otbImageToEnvelopeVectorDataFilter.h.

◆ OutputVectorDataPointer

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

Definition at line 62 of file otbImageToEnvelopeVectorDataFilter.h.

◆ OutputVectorDataType

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

Definition at line 60 of file otbImageToEnvelopeVectorDataFilter.h.

◆ Pointer

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

Definition at line 56 of file otbImageToEnvelopeVectorDataFilter.h.

◆ PolygonType

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

Definition at line 71 of file otbImageToEnvelopeVectorDataFilter.h.

◆ Self

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

Standard class typedefs.

Definition at line 54 of file otbImageToEnvelopeVectorDataFilter.h.

◆ Superclass

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

Definition at line 55 of file otbImageToEnvelopeVectorDataFilter.h.

Constructor & Destructor Documentation

◆ ImageToEnvelopeVectorDataFilter() [1/2]

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

◆ ~ImageToEnvelopeVectorDataFilter()

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

Set/Get output projection (default is WGS84)

Definition at line 96 of file otbImageToEnvelopeVectorDataFilter.h.

◆ ImageToEnvelopeVectorDataFilter() [2/2]

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

Set/Get output projection (default is WGS84)

Member Function Documentation

◆ CreateAnother()

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

◆ GenerateData()

template<class TInputImage , class TOutputVectorData >
void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GenerateData ( void  )
overrideprotected

Set/Get output projection (default is WGS84)

Definition at line 111 of file otbImageToEnvelopeVectorDataFilter.hxx.

References otb::DOCUMENT.

◆ GenerateInputRequestedRegion()

template<class TInputImage , class TOutputVectorData >
void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GenerateInputRequestedRegion
overrideprotected

Set/Get output projection (default is WGS84)

Definition at line 77 of file otbImageToEnvelopeVectorDataFilter.hxx.

◆ GenerateOutputInformation()

template<class TInputImage , class TOutputVectorData >
void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GenerateOutputInformation ( void  )
overrideprotected

Set/Get output projection (default is WGS84)

Definition at line 62 of file otbImageToEnvelopeVectorDataFilter.hxx.

References otb::MetaDataKey::ProjectionRefKey.

◆ GetInput()

template<class TInputImage , class TOutputVectorData >
const TInputImage * otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GetInput

Get input image

Definition at line 53 of file otbImageToEnvelopeVectorDataFilter.hxx.

◆ GetNameOfClass()

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

◆ GetOutputProjectionRef()

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

Set/Get output projection (default is WGS84)

◆ GetSamplingRate()

template<class TInputImage , class TOutputVectorData >
virtual unsigned int otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::GetSamplingRate ( )
virtual

Set/Get output projection (default is WGS84)

◆ InstantiateTransform()

template<class TInputImage , class TOutputVectorData >
void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::InstantiateTransform
protected

Set/Get output projection (default is WGS84)

Definition at line 98 of file otbImageToEnvelopeVectorDataFilter.hxx.

◆ New()

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

Method for creation through the object factory.

◆ operator=()

template<class TInputImage , class TOutputVectorData >
void otb::ImageToEnvelopeVectorDataFilter< TInputImage, TOutputVectorData >::operator= ( const Self )
privatedelete

Set/Get output projection (default is WGS84)

◆ SetInput()

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

Get input image

Definition at line 45 of file otbImageToEnvelopeVectorDataFilter.hxx.

◆ SetOutputProjectionRef()

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

Set/Get output projection (default is WGS84)

◆ SetSamplingRate()

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

Set/Get output projection (default is WGS84)

Member Data Documentation

◆ m_OutputProjectionRef

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

◆ m_SamplingRate

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

Set/Get output projection (default is WGS84)

Definition at line 114 of file otbImageToEnvelopeVectorDataFilter.h.

◆ m_Transform

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

Set/Get output projection (default is WGS84)

Definition at line 112 of file otbImageToEnvelopeVectorDataFilter.h.


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