OTB  7.4.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions > Class Template Reference

#include <otbGenericMapProjection.h>

+ Inheritance diagram for otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >:
+ Collaboration diagram for otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::Point< ScalarType, NInputDimensions > InputPointType
 
typedef itk::Point< ScalarType, NOutputDimensions > OutputPointType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef GenericMapProjection Self
 
typedef Transform< TScalarType, NInputDimensions, NOutputDimensions > Superclass
 
- Public Types inherited from otb::Transform< TScalarType, NInputDimensions, NOutputDimensions >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::CovariantVector< TScalarType, NInputDimensions > InputCovariantVectorType
 
typedef itk::Point< TScalarType, NInputDimensions > InputPointType
 
typedef itk::Vector< TScalarType, NInputDimensions > InputVectorType
 
typedef vnl_vector_fixed< TScalarType, NInputDimensions > InputVnlVectorType
 
typedef Superclass::InverseTransformBasePointer InverseTransformBasePointer
 
typedef Superclass::InverseTransformBaseType InverseTransformBaseType
 
typedef itk::Array2D< double > JacobianType
 
typedef Superclass::NumberOfParametersType NumberOfParametersType
 
typedef itk::CovariantVector< TScalarType, NOutputDimensions > OutputCovariantVectorType
 
typedef itk::Point< TScalarType, NOutputDimensions > OutputPointType
 
typedef itk::Vector< TScalarType, NOutputDimensions > OutputVectorType
 
typedef vnl_vector_fixed< TScalarType, NOutputDimensions > OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef Superclass::ParametersValueType ParametersValueType
 
typedef itk::SmartPointer< SelfPointer
 
typedef TScalarType ScalarType
 
typedef Transform Self
 
typedef itk::Transform< TScalarType, NInputDimensions, NOutputDimensions > Superclass
 
enum  TransformDirection {
  FORWARD = 0,
  INVERSE = 1
}
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual std::string GetWkt ()
 
bool IsProjectionDefined () const
 
virtual void SetWkt (const std::string &projectionRefWkt)
 
OutputPointType TransformPoint (const InputPointType &point) const override
 
- Public Member Functions inherited from otb::Transform< TScalarType, NInputDimensions, NOutputDimensions >
void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const override
 
unsigned int GetInputSpaceDimension (void) const override
 
NumberOfParametersType GetNumberOfParameters (void) const override
 
unsigned int GetOutputSpaceDimension (void) const override
 
const ParametersTypeGetParameters (void) const override
 
void SetFixedParameters (const ParametersType &) override
 
void SetParameters (const ParametersType &) override
 
void SetParametersByValue (const ParametersType &p) override
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const override
 
OutputPointType TransformPoint (const InputPointType &) const override
 
OutputVectorType TransformVector (const InputVectorType &) const override
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &) const override
 
const ParametersTypeGetFixedParameters (void) const override
 
virtual const JacobianTypeGetJacobian (const InputPointType &) const
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const TransformDirection::TransformationDirection DirectionOfMapping = TDirectionOfMapping
 
static const unsigned int InputSpaceDimension = NInputDimensions
 
static const unsigned int OutputSpaceDimension = NOutputDimensions
 
static const unsigned int ParametersDimension = NInputDimensions*(NInputDimensions + 1)
 
static const unsigned int SpaceDimension = NInputDimensions
 
- Static Public Attributes inherited from otb::Transform< TScalarType, NInputDimensions, NOutputDimensions >
static const unsigned int InputSpaceDimension = NInputDimensions
 
static const unsigned int OutputSpaceDimension = NOutputDimensions
 

Protected Member Functions

 GenericMapProjection ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~GenericMapProjection () override
 
- Protected Member Functions inherited from otb::Transform< TScalarType, NInputDimensions, NOutputDimensions >
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 Transform ()
 
 Transform (NumberOfParametersType numberOfParameters)
 
 ~Transform () override
 

Protected Attributes

std::unique_ptr< CoordinateTransformationm_MapProjection
 
- Protected Attributes inherited from otb::Transform< TScalarType, NInputDimensions, NOutputDimensions >
ParametersType m_FixedParameters
 
JacobianType m_Jacobian
 
ParametersType m_Parameters
 

Private Member Functions

 GenericMapProjection (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
class otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >

This is the base class for generic map projection transformation.

The forward transformation will transform the coordinate for the geographic to the cartographic. The inverse model will transform from the cartographic to the geographic.

All derived class assume that the latitude and longitude are given according to the WGS84 ellipsoid model.

Definition at line 60 of file otbGenericMapProjection.h.

Member Typedef Documentation

◆ ConstPointer

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
typedef itk::SmartPointer<const Self> otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::ConstPointer

Definition at line 69 of file otbGenericMapProjection.h.

◆ InputPointType

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
typedef itk::Point<ScalarType, NInputDimensions> otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::InputPointType

Definition at line 72 of file otbGenericMapProjection.h.

◆ OutputPointType

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
typedef itk::Point<ScalarType, NOutputDimensions> otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::OutputPointType

Definition at line 73 of file otbGenericMapProjection.h.

◆ Pointer

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
typedef itk::SmartPointer<Self> otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::Pointer

Definition at line 68 of file otbGenericMapProjection.h.

◆ ScalarType

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
typedef Superclass::ScalarType otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::ScalarType

Definition at line 71 of file otbGenericMapProjection.h.

◆ Self

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
typedef GenericMapProjection otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::Self

Definition at line 67 of file otbGenericMapProjection.h.

◆ Superclass

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
typedef Transform<TScalarType, NInputDimensions, NOutputDimensions> otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::Superclass

Standard class typedefs.

Definition at line 66 of file otbGenericMapProjection.h.

Constructor & Destructor Documentation

◆ GenericMapProjection() [1/2]

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType , unsigned int NInputDimensions, unsigned int NOutputDimensions>
otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::GenericMapProjection ( )
protected

Definition at line 31 of file otbGenericMapProjection.hxx.

◆ ~GenericMapProjection()

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType , unsigned int NInputDimensions, unsigned int NOutputDimensions>
otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::~GenericMapProjection ( )
overrideprotected

Definition at line 37 of file otbGenericMapProjection.hxx.

◆ GenericMapProjection() [2/2]

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::GenericMapProjection ( const Self )
privatedelete

Member Function Documentation

◆ CreateAnother()

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
virtual::itk::LightObject::Pointer otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::CreateAnother ( void  ) const

◆ GetNameOfClass()

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
virtual const char* otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from otb::Transform< TScalarType, NInputDimensions, NOutputDimensions >.

◆ GetWkt()

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType , unsigned int NInputDimensions, unsigned int NOutputDimensions>
std::string otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::GetWkt ( )
virtual

◆ IsProjectionDefined()

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType , unsigned int NInputDimensions, unsigned int NOutputDimensions>
bool otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::IsProjectionDefined ( ) const

◆ New()

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
static Pointer otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
void otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::operator= ( const Self )
privatedelete

◆ PrintSelf()

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType , unsigned int NInputDimensions, unsigned int NOutputDimensions>
void otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

◆ SetWkt()

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType , unsigned int NInputDimensions, unsigned int NOutputDimensions>
void otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::SetWkt ( const std::string &  projectionRefWkt)
virtual

◆ TransformPoint()

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType , unsigned int NInputDimensions, unsigned int NOutputDimensions>
GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::OutputPointType otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::TransformPoint ( const InputPointType point) const
override

Member Data Documentation

◆ DirectionOfMapping

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
const TransformDirection::TransformationDirection otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::DirectionOfMapping = TDirectionOfMapping
static

◆ InputSpaceDimension

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
const unsigned int otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::InputSpaceDimension = NInputDimensions
static

Definition at line 83 of file otbGenericMapProjection.h.

◆ m_MapProjection

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
std::unique_ptr<CoordinateTransformation> otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::m_MapProjection
protected

◆ OutputSpaceDimension

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
const unsigned int otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::OutputSpaceDimension = NOutputDimensions
static

Definition at line 84 of file otbGenericMapProjection.h.

◆ ParametersDimension

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
const unsigned int otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::ParametersDimension = NInputDimensions*(NInputDimensions + 1)
static

Definition at line 86 of file otbGenericMapProjection.h.

◆ SpaceDimension

template<TransformDirection::TransformationDirection TDirectionOfMapping, class TScalarType = double, unsigned int NInputDimensions = 2, unsigned int NOutputDimensions = 2>
const unsigned int otb::GenericMapProjection< TDirectionOfMapping, TScalarType, NInputDimensions, NOutputDimensions >::SpaceDimension = NInputDimensions
static

Definition at line 85 of file otbGenericMapProjection.h.


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