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::SarSensorModelAdapter Class Reference

#include <otbSarSensorModelAdapter.h>

+ Inheritance diagram for otb::SarSensorModelAdapter:
+ Collaboration diagram for otb::SarSensorModelAdapter:

Public Types

using ConstPointer = itk::SmartPointer< const Self >
 
using InternalModelPointer = std::unique_ptr< ossimplugins::ossimSarSensorModel >
 
using Point2DType = itk::Point< double, 2 >
 
using Point3DType = itk::Point< double, 3 >
 
using Pointer = itk::SmartPointer< Self >
 
using Self = SarSensorModelAdapter
 
using Superclass = itk::Object
 
- 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

bool BurstExtraction (const unsigned int burst_index, std::pair< unsigned long, unsigned long > &lines, std::pair< unsigned long, unsigned long > &samples, bool allPixels=false)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
bool Deburst (std::vector< std::pair< unsigned long, unsigned long > > &lines, std::pair< unsigned long, unsigned long > &samples, bool onlyValidSample=false)
 
bool DeburstAndConcatenate (std::vector< std::pair< unsigned long, unsigned long > > &linesBursts, std::vector< std::pair< unsigned long, unsigned long > > &samplesBursts, unsigned int &linesOffset, unsigned int first_burstInd, bool inputWithInvalidPixels=false)
 
virtual const char * GetNameOfClass () const
 
bool IsValidSensorModel () const
 
bool LineToSatPositionAndVelocity (const double line, Point3DType &satellitePosition, Point3DType &satelliteVelocity) const
 
bool LoadState (const ImageKeywordlist &image_kwl)
 
bool Overlap (std::pair< unsigned long, unsigned long > &linesUp, std::pair< unsigned long, unsigned long > &linesLow, std::pair< unsigned long, unsigned long > &samplesUp, std::pair< unsigned long, unsigned long > &samplesLow, unsigned int burstIndUp, bool inputWithInvalidPixels=false)
 
bool SaveState (ImageKeywordlist &image_kwl)
 
bool WorldToLineSample (const Point3DType &inGEoPOint, Point2DType &cr) const
 
bool WorldToLineSampleYZ (const Point3DType &inGeoPoint, Point2DType &cr, Point2DType &yz) const
 
bool WorldToSatPositionAndVelocity (const Point3DType &inGeoPoint, Point3DType &satellitePosition, Point3DType &satelliteVelocity) const
 
- 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 void DeburstLineToImageLine (const std::vector< std::pair< unsigned long, unsigned long > > &lines, unsigned long deburstLine, unsigned long &imageLine)
 
static bool ImageLineToDeburstLine (const std::vector< std::pair< unsigned long, unsigned long > > &lines, unsigned long imageLine, unsigned long &deburstLine)
 
static Pointer New ()
 
static bool WorldToCartesian (const Point3DType &inGeoPoint, Point3DType &outCartesianPoint)
 
- 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

 SarSensorModelAdapter ()
 
virtual ~SarSensorModelAdapter () 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
 
 SarSensorModelAdapter (const Self &)=delete
 

Private Attributes

InternalModelPointer m_SensorModel
 

Additional Inherited Members

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

Detailed Description

Wrapper class to access SarSensorModel specific methods.

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 55 of file otbSarSensorModelAdapter.h.

Member Typedef Documentation

Definition at line 62 of file otbSarSensorModelAdapter.h.

using otb::SarSensorModelAdapter::InternalModelPointer = std::unique_ptr<ossimplugins::ossimSarSensorModel>

Definition at line 64 of file otbSarSensorModelAdapter.h.

Definition at line 66 of file otbSarSensorModelAdapter.h.

Definition at line 67 of file otbSarSensorModelAdapter.h.

Definition at line 61 of file otbSarSensorModelAdapter.h.

Standard class typedefs.

Definition at line 59 of file otbSarSensorModelAdapter.h.

Definition at line 60 of file otbSarSensorModelAdapter.h.

Constructor & Destructor Documentation

otb::SarSensorModelAdapter::SarSensorModelAdapter ( )
protected
virtual otb::SarSensorModelAdapter::~SarSensorModelAdapter ( )
overrideprotectedvirtual
otb::SarSensorModelAdapter::SarSensorModelAdapter ( const Self )
privatedelete

Member Function Documentation

bool otb::SarSensorModelAdapter::BurstExtraction ( const unsigned int  burst_index,
std::pair< unsigned long, unsigned long > &  lines,
std::pair< unsigned long, unsigned long > &  samples,
bool  allPixels = false 
)

Burst extraction and return lines/samples to keep into image file (the required burst)

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

Reimplemented from itk::Object.

bool otb::SarSensorModelAdapter::Deburst ( std::vector< std::pair< unsigned long, unsigned long > > &  lines,
std::pair< unsigned long, unsigned long > &  samples,
bool  onlyValidSample = false 
)

Deburst metadata if possible and return lines to keep in image file

bool otb::SarSensorModelAdapter::DeburstAndConcatenate ( std::vector< std::pair< unsigned long, unsigned long > > &  linesBursts,
std::vector< std::pair< unsigned long, unsigned long > > &  samplesBursts,
unsigned int &  linesOffset,
unsigned int  first_burstInd,
bool  inputWithInvalidPixels = false 
)

Deburst metadata if possible and prepare the burst concatenation

static void otb::SarSensorModelAdapter::DeburstLineToImageLine ( const std::vector< std::pair< unsigned long, unsigned long > > &  lines,
unsigned long  deburstLine,
unsigned long &  imageLine 
)
static
virtual const char* otb::SarSensorModelAdapter::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::Object.

static bool otb::SarSensorModelAdapter::ImageLineToDeburstLine ( const std::vector< std::pair< unsigned long, unsigned long > > &  lines,
unsigned long  imageLine,
unsigned long &  deburstLine 
)
static
bool otb::SarSensorModelAdapter::IsValidSensorModel ( ) const

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

bool otb::SarSensorModelAdapter::LineToSatPositionAndVelocity ( const double  line,
Point3DType satellitePosition,
Point3DType satelliteVelocity 
) const

Transform line index to satellite position (x,y,z) and satellite velocity

bool otb::SarSensorModelAdapter::LoadState ( const ImageKeywordlist image_kwl)

Load model from keyword list

static Pointer otb::SarSensorModelAdapter::New ( )
static
void otb::SarSensorModelAdapter::operator= ( const Self )
privatedelete
bool otb::SarSensorModelAdapter::Overlap ( std::pair< unsigned long, unsigned long > &  linesUp,
std::pair< unsigned long, unsigned long > &  linesLow,
std::pair< unsigned long, unsigned long > &  samplesUp,
std::pair< unsigned long, unsigned long > &  samplesLow,
unsigned int  burstIndUp,
bool  inputWithInvalidPixels = false 
)

Specify overlap area between two bursts

bool otb::SarSensorModelAdapter::SaveState ( ImageKeywordlist image_kwl)

Save keyword list from model

static bool otb::SarSensorModelAdapter::WorldToCartesian ( const Point3DType inGeoPoint,
Point3DType outCartesianPoint 
)
static

Transform world point (lat,lon,hgt) to cartesian point (x,y,z)

bool otb::SarSensorModelAdapter::WorldToLineSample ( const Point3DType inGEoPOint,
Point2DType cr 
) const

Transform world point (lat,lon,hgt) to input image point (col,row)

bool otb::SarSensorModelAdapter::WorldToLineSampleYZ ( const Point3DType inGeoPoint,
Point2DType cr,
Point2DType yz 
) const

Transform world point (lat,lon,hgt) to input image point (col,row) and YZ frame

bool otb::SarSensorModelAdapter::WorldToSatPositionAndVelocity ( const Point3DType inGeoPoint,
Point3DType satellitePosition,
Point3DType satelliteVelocity 
) const

Transform world point (lat,lon,hgt) to satellite position (x,y,z) and satellite velocity

Member Data Documentation

InternalModelPointer otb::SarSensorModelAdapter::m_SensorModel
private

Definition at line 140 of file otbSarSensorModelAdapter.h.


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