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

#include <otbVectorDataProjectionFilter.h>

+ Inheritance diagram for otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >:
+ Collaboration diagram for otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef GenericTransformType::Pointer GenericTransformPointerType
 
typedef itk::Transform< double, 2, 2 > GenericTransformType
 
typedef InputVectorDataType::DataNodeType InputDataNodeType
 
typedef InputVectorDataType::DataTreeType::TreeNodeType InputInternalTreeNodeType
 
typedef InputLineType::Pointer InputLinePointerType
 
typedef InputDataNodeType::LineType InputLineType
 
typedef InputDataNodeType::PointType InputPointType
 
typedef InputPolygonListType::Pointer InputPolygonListPointerType
 
typedef InputDataNodeType::PolygonListType InputPolygonListType
 
typedef InputPolygonType::Pointer InputPolygonPointerType
 
typedef InputDataNodeType::PolygonType InputPolygonType
 
typedef TInputVectorData::ConstPointer InputVectorDataPointer
 
typedef TInputVectorData InputVectorDataType
 
typedef InternalTransformType::Pointer InternalTransformPointerType
 
typedef otb::GenericRSTransform< double, 2, 2 > InternalTransformType
 
typedef itk::Point< double, 2 > OriginType
 
typedef OutputVectorDataType::DataNodeType OutputDataNodeType
 
typedef OutputVectorDataType::DataTreeType::TreeNodeType OutputInternalTreeNodeType
 
typedef OutputLineType::Pointer OutputLinePointerType
 
typedef OutputDataNodeType::LineType OutputLineType
 
typedef OutputDataNodeType::PointType OutputPointType
 
typedef OutputPolygonListType::Pointer OutputPolygonListPointerType
 
typedef OutputDataNodeType::PolygonListType OutputPolygonListType
 
typedef OutputPolygonType::Pointer OutputPolygonPointerType
 
typedef OutputDataNodeType::PolygonType OutputPolygonType
 
typedef TOutputVectorData::Pointer OutputVectorDataPointer
 
typedef TOutputVectorData OutputVectorDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef VectorDataProjectionFilter Self
 
typedef itk::Vector< double, 2 > SpacingType
 
typedef otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData > Superclass
 
- Public Types inherited from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef InputVectorDataType::DataNodeType InputDataNodeType
 
typedef InputVectorDataType::DataTreeType::TreeNodeType InputInternalTreeNodeType
 
typedef InputLineType::Pointer InputLinePointerType
 
typedef InputDataNodeType::LineType InputLineType
 
typedef InputDataNodeType::PointType InputPointType
 
typedef InputPolygonListType::Pointer InputPolygonListPointerType
 
typedef InputDataNodeType::PolygonListType InputPolygonListType
 
typedef InputPolygonType::Pointer InputPolygonPointerType
 
typedef InputDataNodeType::PolygonType InputPolygonType
 
typedef TInputVectorData::ConstPointer InputVectorDataPointer
 
typedef TInputVectorData InputVectorDataType
 
typedef OutputVectorDataType::DataNodeType OutputDataNodeType
 
typedef OutputVectorDataType::DataTreeType::TreeNodeType OutputInternalTreeNodeType
 
typedef OutputLineType::Pointer OutputLinePointerType
 
typedef OutputDataNodeType::LineType OutputLineType
 
typedef OutputDataNodeType::PointType OutputPointType
 
typedef OutputPolygonListType::Pointer OutputPolygonListPointerType
 
typedef OutputDataNodeType::PolygonListType OutputPolygonListType
 
typedef OutputPolygonType::Pointer OutputPolygonPointerType
 
typedef OutputDataNodeType::PolygonType OutputPolygonType
 
typedef TOutputVectorData::Pointer OutputVectorDataPointer
 
typedef TOutputVectorData OutputVectorDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef VectorDataToVectorDataFilter Self
 
typedef 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
 
virtual void SetInputProjectionRef (const char *_arg)
 
virtual const char * GetInputProjectionRef () const
 
virtual void SetOutputProjectionRef (const char *_arg)
 
virtual const char * GetOutputProjectionRef () const
 
virtual void SetInputOrigin (OriginType _arg)
 
virtual void SetInputOrigin (const double origin[2])
 
virtual void SetInputOrigin (const float origin[2])
 
virtual const OriginTypeGetInputOrigin () const
 
virtual void SetInputSpacing (const SpacingType &spacing)
 
virtual void SetInputSpacing (const double spacing[2])
 
virtual void SetInputSpacing (const float spacing[2])
 
virtual const SpacingTypeGetInputSpacing () const
 
virtual void SetOutputOrigin (OriginType _arg)
 
virtual void SetOutputOrigin (const double origin[2])
 
virtual void SetOutputOrigin (const float origin[2])
 
virtual const OriginTypeGetOutputOrigin () const
 
virtual void SetOutputSpacing (const SpacingType &spacing)
 
virtual void SetOutputSpacing (const double spacing[2])
 
virtual void SetOutputSpacing (const float spacing[2])
 
virtual const SpacingTypeGetOutputSpacing () const
 
- Public Member Functions inherited from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const InputVectorDataTypeGetInput (void)
 
virtual void SetInput (const InputVectorDataType *input)
 
- 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::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData >
static Pointer New ()
 
- Static Public Member Functions inherited from otb::VectorDataSource< TOutputVectorData >
static Pointer New ()
 

ImageMetadata accessors and mutators

InternalTransformPointerType m_Transform
 
std::string m_InputProjectionRef
 
std::string m_OutputProjectionRef
 
const ImageMetadatam_InputImageMetadata = nullptr
 
const ImageMetadatam_OutputImageMetadata = nullptr
 
SpacingType m_InputSpacing
 
OriginType m_InputOrigin
 
SpacingType m_OutputSpacing
 
OriginType m_OutputOrigin
 
const ImageMetadataGetInputImageMetadata () const
 
void SetInputImageMetadata (const ImageMetadata *imd)
 
const ImageMetadataGetOutputImageMetadata () const
 
void SetOutputImageMetadata (const ImageMetadata *imd)
 
 VectorDataProjectionFilter ()
 
 ~VectorDataProjectionFilter () override
 
OutputPointType ProcessPoint (InputPointType point) const override
 
OutputLinePointerType ProcessLine (InputLinePointerType line) const override
 
OutputPolygonPointerType ProcessPolygon (InputPolygonPointerType polygon) const override
 
OutputPolygonListPointerType ProcessPolygonList (InputPolygonListPointerType polygonList) const override
 
virtual void InstantiateTransform (void)
 
void GenerateOutputInformation (void) override
 
void GenerateData (void) override
 
 VectorDataProjectionFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData >
void GenerateOutputInformation (void) override
 
 VectorDataToVectorDataFilter ()
 
 ~VectorDataToVectorDataFilter () override
 
void GenerateData (void) override
 
virtual void ProcessNode (InputInternalTreeNodeType *source, OutputInternalTreeNodeType *destination) const
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
- 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 TInputVectorData, class TOutputVectorData>
class otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >

Reproject vector data in a different coordinate system.

This class is used to reproject vector data into a different coordinate system. the input and output coordinate system can be a map projection, a raw image from a sensor (the sensor model will be used), or the local coordinate system of an image.

This filter works on otb::VectorData as input and output.

The process goes as follow:

Each of this step is optional and would default to an identity transform if nothing is specified.

The offset/scaling steps are necessary only when working with the local coordinate system of the image (origin on the top left). The value need to be provided by the SetInputSpacing, SetInputOrigin, SetOutputSpacing and SetOutputOrigin methods.

The two transforms derived from itk::Transform and will be instantiated as otb::GenericMapProjection or otb::InverseSensorModel or otb::ForwardSensorModel (according to the available information).

Examples
Projections/VectorDataProjectionExample.cxx.

Definition at line 67 of file otbVectorDataProjectionFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputVectorData , class TOutputVectorData >
typedef itk::SmartPointer<const Self> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::ConstPointer

Definition at line 75 of file otbVectorDataProjectionFilter.h.

◆ GenericTransformPointerType

template<class TInputVectorData , class TOutputVectorData >
typedef GenericTransformType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GenericTransformPointerType

Definition at line 84 of file otbVectorDataProjectionFilter.h.

◆ GenericTransformType

template<class TInputVectorData , class TOutputVectorData >
typedef itk::Transform<double, 2, 2> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GenericTransformType

Some typedefs.

Definition at line 83 of file otbVectorDataProjectionFilter.h.

◆ InputDataNodeType

template<class TInputVectorData , class TOutputVectorData >
typedef InputVectorDataType::DataNodeType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputDataNodeType

Definition at line 93 of file otbVectorDataProjectionFilter.h.

◆ InputInternalTreeNodeType

template<class TInputVectorData , class TOutputVectorData >
typedef InputVectorDataType::DataTreeType::TreeNodeType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputInternalTreeNodeType

Definition at line 95 of file otbVectorDataProjectionFilter.h.

◆ InputLinePointerType

template<class TInputVectorData , class TOutputVectorData >
typedef InputLineType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputLinePointerType

Definition at line 103 of file otbVectorDataProjectionFilter.h.

◆ InputLineType

template<class TInputVectorData , class TOutputVectorData >
typedef InputDataNodeType::LineType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputLineType

Definition at line 99 of file otbVectorDataProjectionFilter.h.

◆ InputPointType

template<class TInputVectorData , class TOutputVectorData >
typedef InputDataNodeType::PointType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputPointType

Definition at line 98 of file otbVectorDataProjectionFilter.h.

◆ InputPolygonListPointerType

template<class TInputVectorData , class TOutputVectorData >
typedef InputPolygonListType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputPolygonListPointerType

Definition at line 105 of file otbVectorDataProjectionFilter.h.

◆ InputPolygonListType

template<class TInputVectorData , class TOutputVectorData >
typedef InputDataNodeType::PolygonListType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputPolygonListType

Definition at line 101 of file otbVectorDataProjectionFilter.h.

◆ InputPolygonPointerType

template<class TInputVectorData , class TOutputVectorData >
typedef InputPolygonType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputPolygonPointerType

Definition at line 104 of file otbVectorDataProjectionFilter.h.

◆ InputPolygonType

template<class TInputVectorData , class TOutputVectorData >
typedef InputDataNodeType::PolygonType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputPolygonType

Definition at line 100 of file otbVectorDataProjectionFilter.h.

◆ InputVectorDataPointer

template<class TInputVectorData , class TOutputVectorData >
typedef TInputVectorData::ConstPointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputVectorDataPointer

Definition at line 79 of file otbVectorDataProjectionFilter.h.

◆ InputVectorDataType

template<class TInputVectorData , class TOutputVectorData >
typedef TInputVectorData otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputVectorDataType

Definition at line 77 of file otbVectorDataProjectionFilter.h.

◆ InternalTransformPointerType

template<class TInputVectorData , class TOutputVectorData >
typedef InternalTransformType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InternalTransformPointerType

Definition at line 87 of file otbVectorDataProjectionFilter.h.

◆ InternalTransformType

template<class TInputVectorData , class TOutputVectorData >
typedef otb::GenericRSTransform<double, 2, 2> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InternalTransformType

Definition at line 86 of file otbVectorDataProjectionFilter.h.

◆ OriginType

template<class TInputVectorData , class TOutputVectorData >
typedef itk::Point<double, 2> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OriginType

Definition at line 90 of file otbVectorDataProjectionFilter.h.

◆ OutputDataNodeType

template<class TInputVectorData , class TOutputVectorData >
typedef OutputVectorDataType::DataNodeType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputDataNodeType

Definition at line 92 of file otbVectorDataProjectionFilter.h.

◆ OutputInternalTreeNodeType

template<class TInputVectorData , class TOutputVectorData >
typedef OutputVectorDataType::DataTreeType::TreeNodeType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputInternalTreeNodeType

Definition at line 96 of file otbVectorDataProjectionFilter.h.

◆ OutputLinePointerType

template<class TInputVectorData , class TOutputVectorData >
typedef OutputLineType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputLinePointerType

Definition at line 112 of file otbVectorDataProjectionFilter.h.

◆ OutputLineType

template<class TInputVectorData , class TOutputVectorData >
typedef OutputDataNodeType::LineType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputLineType

Definition at line 108 of file otbVectorDataProjectionFilter.h.

◆ OutputPointType

template<class TInputVectorData , class TOutputVectorData >
typedef OutputDataNodeType::PointType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPointType

Definition at line 107 of file otbVectorDataProjectionFilter.h.

◆ OutputPolygonListPointerType

template<class TInputVectorData , class TOutputVectorData >
typedef OutputPolygonListType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPolygonListPointerType

Definition at line 114 of file otbVectorDataProjectionFilter.h.

◆ OutputPolygonListType

template<class TInputVectorData , class TOutputVectorData >
typedef OutputDataNodeType::PolygonListType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPolygonListType

Definition at line 110 of file otbVectorDataProjectionFilter.h.

◆ OutputPolygonPointerType

template<class TInputVectorData , class TOutputVectorData >
typedef OutputPolygonType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPolygonPointerType

Definition at line 113 of file otbVectorDataProjectionFilter.h.

◆ OutputPolygonType

template<class TInputVectorData , class TOutputVectorData >
typedef OutputDataNodeType::PolygonType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPolygonType

Definition at line 109 of file otbVectorDataProjectionFilter.h.

◆ OutputVectorDataPointer

template<class TInputVectorData , class TOutputVectorData >
typedef TOutputVectorData::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputVectorDataPointer

Definition at line 80 of file otbVectorDataProjectionFilter.h.

◆ OutputVectorDataType

template<class TInputVectorData , class TOutputVectorData >
typedef TOutputVectorData otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputVectorDataType

Definition at line 78 of file otbVectorDataProjectionFilter.h.

◆ Pointer

template<class TInputVectorData , class TOutputVectorData >
typedef itk::SmartPointer<Self> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::Pointer

Definition at line 74 of file otbVectorDataProjectionFilter.h.

◆ Self

template<class TInputVectorData , class TOutputVectorData >
typedef VectorDataProjectionFilter otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::Self

Standard class typedefs.

Definition at line 72 of file otbVectorDataProjectionFilter.h.

◆ SpacingType

template<class TInputVectorData , class TOutputVectorData >
typedef itk::Vector<double, 2> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SpacingType

Definition at line 89 of file otbVectorDataProjectionFilter.h.

◆ Superclass

template<class TInputVectorData , class TOutputVectorData >
typedef otb::VectorDataToVectorDataFilter<TInputVectorData, TOutputVectorData> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::Superclass

Definition at line 73 of file otbVectorDataProjectionFilter.h.

Constructor & Destructor Documentation

◆ VectorDataProjectionFilter() [1/2]

template<class TInputVectorData , class TOutputVectorData >
otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::VectorDataProjectionFilter
protected

Constructor

Definition at line 36 of file otbVectorDataProjectionFilter.hxx.

◆ ~VectorDataProjectionFilter()

template<class TInputVectorData , class TOutputVectorData >
otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::~VectorDataProjectionFilter ( )
inlineoverrideprotected

Constructor

Definition at line 192 of file otbVectorDataProjectionFilter.h.

◆ VectorDataProjectionFilter() [2/2]

template<class TInputVectorData , class TOutputVectorData >
otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::VectorDataProjectionFilter ( const Self )
privatedelete

Constructor

Member Function Documentation

◆ CreateAnother()

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

◆ GenerateData()

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GenerateData ( void  )
overrideprotected

GenerateData Performs the coordinate conversion for each element in the tree

Definition at line 287 of file otbVectorDataProjectionFilter.hxx.

References otb::Stopwatch::GetElapsedMilliseconds(), otbMsgDevMacro, otb::Stopwatch::StartNew(), and otb::Stopwatch::Stop().

◆ GenerateOutputInformation()

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GenerateOutputInformation ( void  )
overrideprotected

Constructor

Definition at line 144 of file otbVectorDataProjectionFilter.hxx.

References otb::MetaDataKey::ProjectionRefKey.

◆ GetInputImageMetadata()

template<class TInputVectorData , class TOutputVectorData >
const ImageMetadata* otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GetInputImageMetadata ( ) const
inline

Constructor

Definition at line 168 of file otbVectorDataProjectionFilter.h.

◆ GetInputOrigin()

template<class TInputVectorData , class TOutputVectorData >
virtual const OriginType& otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GetInputOrigin ( ) const
virtual

Set/Get for input and output projections.

◆ GetInputProjectionRef()

template<class TInputVectorData , class TOutputVectorData >
virtual const char* otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GetInputProjectionRef ( ) const
virtual

Set/Get for input and output projections.

◆ GetInputSpacing()

template<class TInputVectorData , class TOutputVectorData >
virtual const SpacingType& otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GetInputSpacing ( ) const
virtual

Set/Get for input and output projections.

◆ GetNameOfClass()

template<class TInputVectorData , class TOutputVectorData >
virtual const char* otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData >.

◆ GetOutputImageMetadata()

template<class TInputVectorData , class TOutputVectorData >
const ImageMetadata* otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GetOutputImageMetadata ( ) const
inline

Constructor

Definition at line 179 of file otbVectorDataProjectionFilter.h.

◆ GetOutputOrigin()

template<class TInputVectorData , class TOutputVectorData >
virtual const OriginType& otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GetOutputOrigin ( ) const
virtual

Set/Get for input and output projections.

◆ GetOutputProjectionRef()

template<class TInputVectorData , class TOutputVectorData >
virtual const char* otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GetOutputProjectionRef ( ) const
virtual

Set/Get for input and output projections.

◆ GetOutputSpacing()

template<class TInputVectorData , class TOutputVectorData >
virtual const SpacingType& otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GetOutputSpacing ( ) const
virtual

Set/Get for input and output projections.

◆ InstantiateTransform()

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InstantiateTransform ( void  )
protectedvirtual

Instantiate the transformation according to information

Definition at line 243 of file otbVectorDataProjectionFilter.hxx.

References otb::MetaDataKey::ProjectionRefKey.

◆ New()

template<class TInputVectorData , class TOutputVectorData >
static Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::New ( )
static

Method for creation through the object factory.

◆ operator=()

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

Constructor

◆ ProcessLine()

template<class TInputVectorData , class TOutputVectorData >
VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputLinePointerType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::ProcessLine ( InputLinePointerType  line) const
overrideprotectedvirtual

◆ ProcessPoint()

template<class TInputVectorData , class TOutputVectorData >
VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPointType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::ProcessPoint ( InputPointType  pointCoord) const
overrideprotectedvirtual

◆ ProcessPolygon()

template<class TInputVectorData , class TOutputVectorData >
VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPolygonPointerType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::ProcessPolygon ( InputPolygonPointerType  polygon) const
overrideprotectedvirtual

◆ ProcessPolygonList()

template<class TInputVectorData , class TOutputVectorData >
VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPolygonListPointerType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::ProcessPolygonList ( InputPolygonListPointerType  polygonList) const
overrideprotectedvirtual

Convert polygon list

Reimplemented from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData >.

Definition at line 228 of file otbVectorDataProjectionFilter.hxx.

◆ SetInputImageMetadata()

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetInputImageMetadata ( const ImageMetadata imd)
inline

Constructor

Definition at line 172 of file otbVectorDataProjectionFilter.h.

◆ SetInputOrigin() [1/3]

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetInputOrigin ( const double  origin[2])
virtual

Set/Get for input and output projections.

Definition at line 79 of file otbVectorDataProjectionFilter.hxx.

◆ SetInputOrigin() [2/3]

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetInputOrigin ( const float  origin[2])
virtual

Set/Get for input and output projections.

Definition at line 87 of file otbVectorDataProjectionFilter.hxx.

◆ SetInputOrigin() [3/3]

template<class TInputVectorData , class TOutputVectorData >
virtual void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetInputOrigin ( OriginType  _arg)
virtual

Set the origin of the vector data.

See also
GetOrigin()

◆ SetInputProjectionRef()

template<class TInputVectorData , class TOutputVectorData >
virtual void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetInputProjectionRef ( const char *  _arg)
virtual

Set/Get for input and output projections.

◆ SetInputSpacing() [1/3]

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetInputSpacing ( const double  spacing[2])
virtual

Set/Get for input and output projections.

Definition at line 61 of file otbVectorDataProjectionFilter.hxx.

◆ SetInputSpacing() [2/3]

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetInputSpacing ( const float  spacing[2])
virtual

Set/Get for input and output projections.

Definition at line 69 of file otbVectorDataProjectionFilter.hxx.

◆ SetInputSpacing() [3/3]

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetInputSpacing ( const SpacingType spacing)
virtual

Set the spacing (size of a pixel) of the vector data.

See also
GetSignedSpacing()

Definition at line 49 of file otbVectorDataProjectionFilter.hxx.

◆ SetOutputImageMetadata()

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetOutputImageMetadata ( const ImageMetadata imd)
inline

Constructor

Definition at line 183 of file otbVectorDataProjectionFilter.h.

◆ SetOutputOrigin() [1/3]

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetOutputOrigin ( const double  origin[2])
virtual

Set/Get for input and output projections.

Definition at line 127 of file otbVectorDataProjectionFilter.hxx.

◆ SetOutputOrigin() [2/3]

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetOutputOrigin ( const float  origin[2])
virtual

Set/Get for input and output projections.

Definition at line 135 of file otbVectorDataProjectionFilter.hxx.

◆ SetOutputOrigin() [3/3]

template<class TInputVectorData , class TOutputVectorData >
virtual void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetOutputOrigin ( OriginType  _arg)
virtual

Set the origin of the vector data.

See also
GetOrigin()

◆ SetOutputProjectionRef()

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

Set/Get for input and output projections.

◆ SetOutputSpacing() [1/3]

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetOutputSpacing ( const double  spacing[2])
virtual

Set/Get for input and output projections.

Definition at line 109 of file otbVectorDataProjectionFilter.hxx.

◆ SetOutputSpacing() [2/3]

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetOutputSpacing ( const float  spacing[2])
virtual

Set/Get for input and output projections.

Definition at line 117 of file otbVectorDataProjectionFilter.hxx.

◆ SetOutputSpacing() [3/3]

template<class TInputVectorData , class TOutputVectorData >
void otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SetOutputSpacing ( const SpacingType spacing)
virtual

Set the spacing (size of a pixel) of the vector data.

See also
GetSignedSpacing()

Definition at line 97 of file otbVectorDataProjectionFilter.hxx.

Member Data Documentation

◆ m_InputImageMetadata

template<class TInputVectorData , class TOutputVectorData >
const ImageMetadata* otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::m_InputImageMetadata = nullptr
private

Constructor

Definition at line 213 of file otbVectorDataProjectionFilter.h.

◆ m_InputOrigin

template<class TInputVectorData , class TOutputVectorData >
OriginType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::m_InputOrigin
private

Constructor

Definition at line 217 of file otbVectorDataProjectionFilter.h.

◆ m_InputProjectionRef

template<class TInputVectorData , class TOutputVectorData >
std::string otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::m_InputProjectionRef
private

Constructor

Definition at line 211 of file otbVectorDataProjectionFilter.h.

◆ m_InputSpacing

template<class TInputVectorData , class TOutputVectorData >
SpacingType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::m_InputSpacing
private

Constructor

Definition at line 216 of file otbVectorDataProjectionFilter.h.

◆ m_OutputImageMetadata

template<class TInputVectorData , class TOutputVectorData >
const ImageMetadata* otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::m_OutputImageMetadata = nullptr
private

Constructor

Definition at line 214 of file otbVectorDataProjectionFilter.h.

◆ m_OutputOrigin

template<class TInputVectorData , class TOutputVectorData >
OriginType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::m_OutputOrigin
private

Constructor

Definition at line 219 of file otbVectorDataProjectionFilter.h.

◆ m_OutputProjectionRef

template<class TInputVectorData , class TOutputVectorData >
std::string otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::m_OutputProjectionRef
private

Constructor

Definition at line 212 of file otbVectorDataProjectionFilter.h.

◆ m_OutputSpacing

template<class TInputVectorData , class TOutputVectorData >
SpacingType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::m_OutputSpacing
private

Constructor

Definition at line 218 of file otbVectorDataProjectionFilter.h.

◆ m_Transform

template<class TInputVectorData , class TOutputVectorData >
InternalTransformPointerType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::m_Transform
private

Constructor

Definition at line 210 of file otbVectorDataProjectionFilter.h.


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