OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This class represents an ephemeris. More...
#include <Ephemeris.h>
Public Member Functions | |
Ephemeris () | |
Constructor. More... | |
virtual | ~Ephemeris () |
Destructor. More... | |
Ephemeris (JSDDateTime date, double pos[3], double speed[3]) | |
Constructor with initialisations. More... | |
Ephemeris (const Ephemeris &rhs) | |
Copy constructor. More... | |
Ephemeris & | operator= (const Ephemeris &rhs) |
Affectation operator. More... | |
virtual Ephemeris * | Clone () |
This function creatse a copy of the current class. More... | |
JSDDateTime | get_date () const |
double * | get_position () |
const double * | get_position () const |
double * | get_speed () |
const double * | get_speed () const |
void | set_date (JSDDateTime date) |
void | set_position (double position[3]) |
void | set_speed (double speed[3]) |
bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
Method to save object state to a keyword list. More... | |
bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
Method to the load (recreate) the state of the object from a keyword list. More... | |
Protected Attributes | |
JSDDateTime | _date |
double | _position [3] |
double | _speed [3] |
This class represents an ephemeris.
Definition at line 28 of file Ephemeris.h.
ossimplugins::Ephemeris::Ephemeris | ( | ) |
Constructor.
Definition at line 29 of file Ephemeris.cpp.
References _position, and _speed.
Referenced by ossimplugins::GeographicEphemeris::operator=(), and ossimplugins::GalileanEphemeris::operator=().
|
virtual |
ossimplugins::Ephemeris::Ephemeris | ( | JSDDateTime | date, |
double | pos[3], | ||
double | speed[3] | ||
) |
Constructor with initialisations.
Definition at line 43 of file Ephemeris.cpp.
References _position, and _speed.
ossimplugins::Ephemeris::Ephemeris | ( | const Ephemeris & | rhs | ) |
|
inlinevirtual |
This function creatse a copy of the current class.
Reimplemented in ossimplugins::GalileanEphemeris, and ossimplugins::GeographicEphemeris.
Definition at line 58 of file Ephemeris.h.
Referenced by ossimplugins::PlatformPosition::InitData(), ossimplugins::PlatformPosition::Interpolate(), ossimplugins::RefPoint::operator=(), ossimplugins::RefPoint::RefPoint(), and ossimplugins::RefPoint::set_ephemeris().
|
inline |
Definition at line 63 of file Ephemeris.h.
Referenced by ossimplugins::ossimGeometricSarSensorModel::getTime(), ossimplugins::PlatformPosition::InitAuxiliaryData(), and ossimplugins::PlatformPosition::Interpolate().
|
inline |
Definition at line 68 of file Ephemeris.h.
Referenced by ossimplugins::PlatformPosition::getPlatformPositionAtTime(), ossimplugins::PlatformPosition::InitAuxiliaryData(), and ossimplugins::SarSensor::localisationSAR().
|
inline |
Definition at line 73 of file Ephemeris.h.
|
inline |
Definition at line 78 of file Ephemeris.h.
Referenced by ossimplugins::PlatformPosition::getPlatformPositionAtTime(), ossimplugins::PlatformPosition::InitAuxiliaryData(), and ossimplugins::SarSensor::localisationSAR().
|
inline |
Definition at line 83 of file Ephemeris.h.
bool ossimplugins::Ephemeris::loadState | ( | const ossimKeywordlist & | kwl, |
const char * | prefix = 0 |
||
) |
Method to the load (recreate) the state of the object from a keyword list.
Return true if ok or false on error.
Definition at line 100 of file Ephemeris.cpp.
References _date, _position, _speed, ossimKeywordlist::find(), ossimNotify(), ossimNotifyLevel_WARN, ossimplugins::JSDDateTime::set_day0hTU(), ossimplugins::JSDDateTime::set_decimal(), ossimplugins::JSDDateTime::set_second(), ossimString::toDouble(), ossimDpt3d::toPoint(), ossimDpt3d::x, ossimDpt3d::y, and ossimDpt3d::z.
Referenced by ossimplugins::RefPoint::loadState(), and ossimplugins::PlatformPosition::loadState().
Affectation operator.
Definition at line 65 of file Ephemeris.cpp.
References _date, _position, and _speed.
bool ossimplugins::Ephemeris::saveState | ( | ossimKeywordlist & | kwl, |
const char * | prefix = 0 |
||
) | const |
Method to save object state to a keyword list.
kwl | Keyword list to save to. |
prefix | added to keys when saved. |
Definition at line 78 of file Ephemeris.cpp.
References _date, _position, _speed, ossimKeywordlist::add(), ossimplugins::JSDDateTime::get_day0hTU(), ossimplugins::JSDDateTime::get_decimal(), ossimplugins::JulianDate::get_julianDate(), ossimplugins::JSDDateTime::get_second(), and ossimDpt3d::toString().
Referenced by ossimplugins::RefPoint::saveState(), and ossimplugins::PlatformPosition::saveState().
|
inline |
Definition at line 88 of file Ephemeris.h.
Referenced by ossimplugins::PlatformPosition::Interpolate(), ossimplugins::GeographicEphemeris::ToGalilean(), and ossimplugins::GalileanEphemeris::ToGeographic().
|
inline |
Definition at line 93 of file Ephemeris.h.
Referenced by ossimplugins::PlatformPosition::Interpolate(), ossimplugins::GeographicEphemeris::ToGalilean(), and ossimplugins::GalileanEphemeris::ToGeographic().
|
inline |
Definition at line 100 of file Ephemeris.h.
Referenced by ossimplugins::PlatformPosition::Interpolate(), ossimplugins::GeographicEphemeris::ToGalilean(), and ossimplugins::GalileanEphemeris::ToGeographic().
|
protected |
Definition at line 124 of file Ephemeris.h.
Referenced by loadState(), operator=(), saveState(), ossimplugins::GeographicEphemeris::ToGalilean(), and ossimplugins::GalileanEphemeris::ToGeographic().
|
protected |
Definition at line 125 of file Ephemeris.h.
Referenced by Ephemeris(), loadState(), operator=(), saveState(), ossimplugins::GeographicEphemeris::ToGalilean(), and ossimplugins::GalileanEphemeris::ToGeographic().
|
protected |
Definition at line 126 of file Ephemeris.h.
Referenced by Ephemeris(), loadState(), operator=(), saveState(), ossimplugins::GeographicEphemeris::ToGalilean(), and ossimplugins::GalileanEphemeris::ToGeographic().