OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::SensorModelAdapter Class Reference

#include <otbSensorModelAdapter.h>

+ Inheritance diagram for otb::SensorModelAdapter:
+ Collaboration diagram for otb::SensorModelAdapter:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef const ossimProjection * InternalMapProjectionConstPointer
 
typedef ossimProjection * InternalMapProjectionPointer
 
typedef ossimTieGptSet * InternalTiePointsContainerPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef SensorModelAdapter Self
 
typedef itk::Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

void AddTiePoint (double x, double y, double z, double lon, double lat)
 
void AddTiePoint (double x, double y, double lon, double lat)
 
void ClearTiePoints ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
void CreateProjection (const ImageKeywordlist &image_kwl)
 
void ForwardTransformPoint (double x, double y, double z, double &lon, double &lat, double &h) const
 
void ForwardTransformPoint (double x, double y, double &lon, double &lat, double &h) const
 
virtual const char * GetNameOfClass () const
 
void InverseTransformPoint (double lon, double lat, double h, double &x, double &y, double &z) const
 
void InverseTransformPoint (double lon, double lat, double &x, double &y, double &z) const
 
bool IsValidSensorModel () const
 
double Optimize ()
 
bool ReadGeomFile (const std::string &infile)
 
bool WriteGeomFile (const std::string &outfile)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 SensorModelAdapter ()
 
 ~SensorModelAdapter () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

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

Private Attributes

DEMHandler::Pointer m_DEMHandler
 
InternalMapProjectionPointer m_SensorModel
 
InternalTiePointsContainerPointer m_TiePoints
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

Wrapper class to group all dependencies to ossim for sensor models.

This class is NOT intended to be used outside of OTB. Use the InverseSensorModel and ForwardSensorModel. If you feel that you need to use it directly, think again!

See Also
InverseSensorModel
ForwardSensorModel

Definition at line 50 of file otbSensorModelAdapter.h.

Member Typedef Documentation

Definition at line 57 of file otbSensorModelAdapter.h.

Definition at line 60 of file otbSensorModelAdapter.h.

Definition at line 59 of file otbSensorModelAdapter.h.

Definition at line 61 of file otbSensorModelAdapter.h.

Definition at line 56 of file otbSensorModelAdapter.h.

Standard class typedefs.

Definition at line 54 of file otbSensorModelAdapter.h.

Definition at line 55 of file otbSensorModelAdapter.h.

Constructor & Destructor Documentation

otb::SensorModelAdapter::SensorModelAdapter ( )
protected
otb::SensorModelAdapter::~SensorModelAdapter ( )
overrideprotected
otb::SensorModelAdapter::SensorModelAdapter ( const Self )
privatedelete

Member Function Documentation

void otb::SensorModelAdapter::AddTiePoint ( double  x,
double  y,
double  z,
double  lon,
double  lat 
)

Add a tie point with elevation (above ellipsoid) provided by the user

void otb::SensorModelAdapter::AddTiePoint ( double  x,
double  y,
double  lon,
double  lat 
)

Add a tie point with elevation (above ellipsoid) from DEMHandler

void otb::SensorModelAdapter::ClearTiePoints ( )

Clear all tie points

virtual::itk::LightObject::Pointer otb::SensorModelAdapter::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

void otb::SensorModelAdapter::CreateProjection ( const ImageKeywordlist image_kwl)

Create the projection ( m_Model). Called by the SetImageGeometry methods

void otb::SensorModelAdapter::ForwardTransformPoint ( double  x,
double  y,
double  z,
double &  lon,
double &  lat,
double &  h 
) const

Forward sensor modelling with elevation (above ellipsoid) provided by the user

void otb::SensorModelAdapter::ForwardTransformPoint ( double  x,
double  y,
double &  lon,
double &  lat,
double &  h 
) const

Forward sensor modelling with elevation (above ellipsoid) estimated by the algorithm

virtual const char* otb::SensorModelAdapter::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::Object.

void otb::SensorModelAdapter::InverseTransformPoint ( double  lon,
double  lat,
double  h,
double &  x,
double &  y,
double &  z 
) const

Inverse sensor modelling with elevation (above ellipsoid) provided by the user

void otb::SensorModelAdapter::InverseTransformPoint ( double  lon,
double  lat,
double &  x,
double &  y,
double &  z 
) const

Inverse sensor modelling with elevation (above ellipsoid) from DEMHandler

bool otb::SensorModelAdapter::IsValidSensorModel ( ) const

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

static Pointer otb::SensorModelAdapter::New ( )
static

Method for creation through the object factory.

Referenced by otb::SensorModelBase< TScalarType, NInputDimensions, NOutputDimensions >::SensorModelBase().

void otb::SensorModelAdapter::operator= ( const Self )
privatedelete
double otb::SensorModelAdapter::Optimize ( )

Optimize sensor model with respect to tie points

bool otb::SensorModelAdapter::ReadGeomFile ( const std::string &  infile)

Read geom file and instantiate sensor model

bool otb::SensorModelAdapter::WriteGeomFile ( const std::string &  outfile)

Write geom file corresponding to sensor model

Member Data Documentation

DEMHandler::Pointer otb::SensorModelAdapter::m_DEMHandler
private

Object that read and use DEM

Definition at line 125 of file otbSensorModelAdapter.h.

InternalMapProjectionPointer otb::SensorModelAdapter::m_SensorModel
private

Definition at line 120 of file otbSensorModelAdapter.h.

InternalTiePointsContainerPointer otb::SensorModelAdapter::m_TiePoints
private

Definition at line 122 of file otbSensorModelAdapter.h.


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