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::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions > Class Template Reference

#include <otbSensorModelBase.h>

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

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::Point< TScalarType, NInputDimensions > InputPointType
 
typedef itk::Point< TScalarType, NOutputDimensions > OutputPointType
 
typedef TScalarType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef SensorModelBase 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
 
ImageKeywordlist GetImageGeometryKeywordlist (void) const
 
virtual const char * GetNameOfClass () const
 
bool IsValidSensorModel ()
 
virtual void SetImageGeometry (const ImageKeywordlist &image_kwl)
 
- 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 unsigned int InputSpaceDimension = NInputDimensions
 
static const unsigned int OutputSpaceDimension = NOutputDimensions
 
- 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

 SensorModelBase ()
 
 ~SensorModelBase () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const 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

ImageKeywordlist m_ImageKeywordlist
 
SensorModelAdapter::Pointer m_Model
 
- Protected Attributes inherited from otb::Transform< TScalarType, NInputDimensions, NOutputDimensions >
ParametersType m_FixedParameters
 
JacobianType m_Jacobian
 
ParametersType m_Parameters
 

Private Member Functions

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

Detailed Description

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
class otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >

Base class for the sensor model projection classes.

This class allows transforming a geographic point in (lat, long) to a point in the sensor geometry. (lat, lon) -> (i, j) or (lat, lon, h) -> (i, j)

Definition at line 46 of file otbSensorModelBase.h.

Member Typedef Documentation

◆ ConstPointer

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
typedef itk::SmartPointer<const Self> otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::ConstPointer

Definition at line 54 of file otbSensorModelBase.h.

◆ InputPointType

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
typedef itk::Point<TScalarType, NInputDimensions> otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::InputPointType

Definition at line 56 of file otbSensorModelBase.h.

◆ OutputPointType

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
typedef itk::Point<TScalarType, NOutputDimensions> otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::OutputPointType

Definition at line 57 of file otbSensorModelBase.h.

◆ PixelType

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
typedef TScalarType otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::PixelType

Definition at line 59 of file otbSensorModelBase.h.

◆ Pointer

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
typedef itk::SmartPointer<Self> otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::Pointer

Definition at line 53 of file otbSensorModelBase.h.

◆ Self

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
typedef SensorModelBase otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::Self

Standard class typedefs.

Definition at line 51 of file otbSensorModelBase.h.

◆ Superclass

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
typedef Transform<TScalarType, NInputDimensions, NOutputDimensions> otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::Superclass

Definition at line 52 of file otbSensorModelBase.h.

Constructor & Destructor Documentation

◆ SensorModelBase() [1/2]

template<class TScalarType , unsigned int NInputDimensions, unsigned int NOutputDimensions>
otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::SensorModelBase ( )
protected

◆ ~SensorModelBase()

template<class TScalarType , unsigned int NInputDimensions, unsigned int NOutputDimensions>
otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::~SensorModelBase ( )
overrideprotected

Definition at line 37 of file otbSensorModelBase.hxx.

◆ SensorModelBase() [2/2]

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::SensorModelBase ( const Self )
privatedelete

Member Function Documentation

◆ CreateAnother()

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
virtual::itk::LightObject::Pointer otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::CreateAnother ( void  ) const

◆ GetImageGeometryKeywordlist()

template<class TScalarType , unsigned int NInputDimensions, unsigned int NOutputDimensions>
ImageKeywordlist otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::GetImageGeometryKeywordlist ( void  ) const

◆ GetNameOfClass()

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
virtual const char* otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::GetNameOfClass ( ) const
virtual

◆ IsValidSensorModel()

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
bool otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::IsValidSensorModel ( )
inline

Is sensor model valid method. return false if the sensor model is null

Definition at line 81 of file otbSensorModelBase.h.

◆ New()

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
static Pointer otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
void otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::operator= ( const Self )
privatedelete

◆ PrintSelf()

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

◆ SetImageGeometry()

template<class TScalarType , unsigned int NInputDimensions, unsigned int NOutputDimensions>
void otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::SetImageGeometry ( const ImageKeywordlist image_kwl)
virtual

Member Data Documentation

◆ InputSpaceDimension

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
const unsigned int otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::InputSpaceDimension = NInputDimensions
static

Definition at line 67 of file otbSensorModelBase.h.

◆ m_ImageKeywordlist

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
ImageKeywordlist otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::m_ImageKeywordlist
protected

◆ m_Model

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
SensorModelAdapter::Pointer otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::m_Model
protected

◆ OutputSpaceDimension

template<class TScalarType , unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 2>
const unsigned int otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::OutputSpaceDimension = NOutputDimensions
static

Definition at line 68 of file otbSensorModelBase.h.


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