OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimLsrSpace.h>
Public Member Functions | |
ossimLsrSpace () | |
ossimLsrSpace (const ossimLsrSpace ©_this) | |
ossimLsrSpace (const ossimEcefPoint &origin, const ossimEcefVector &x_dir_ecf_vec, const ossimEcefVector &y_dir_ecf_vec, const int z_not_provided_space_holder) | |
ossimLsrSpace (const ossimEcefPoint &origin, const ossimEcefVector &x_dir_ecf_vec, const int y_not_provided_space_holder, const ossimEcefVector &z_dir_ecf_vec) | |
ossimLsrSpace (const ossimEcefPoint &origin, const int x_not_provided_space_holder, const ossimEcefVector &y_dir_ecf_vec, const ossimEcefVector &z_dir_ecf_vec) | |
ossimLsrSpace (const ossimGpt &origin, const double &y_azimuth=0) | |
ossimLsrSpace (const ossimEcefPoint &origin, const NEWMAT::Matrix &lsrToEcfRot) | |
~ossimLsrSpace () | |
bool | operator== (const ossimLsrSpace &) const |
bool | operator!= (const ossimLsrSpace &that) const |
const ossimLsrSpace & | operator= (const ossimLsrSpace &space) |
const ossimEcefPoint & | origin () const |
const NEWMAT::Matrix & | lsrToEcefRotMatrix () const |
NEWMAT::Matrix | ecefToLsrRotMatrix () const |
void | print (ostream &stream=ossimNotify(ossimNotifyLevel_INFO)) const |
Static Public Member Functions | |
static ostream & | lsrSpaceErrorMessage (ostream &os=ossimNotify(ossimNotifyLevel_INFO)) |
Private Attributes | |
NEWMAT::Matrix | theLsrToEcefRotMatrix |
ossimEcefPoint | theOrigin |
Friends | |
ostream & | operator<< (ostream &os, const ossimLsrSpace &instance) |
Definition at line 36 of file ossimLsrSpace.h.
|
inline |
|
inline |
Definition at line 44 of file ossimLsrSpace.h.
ossimLsrSpace::ossimLsrSpace | ( | const ossimEcefPoint & | origin, |
const ossimEcefVector & | x_dir_ecf_vec, | ||
const ossimEcefVector & | y_dir_ecf_vec, | ||
const int | z_not_provided_space_holder | ||
) |
CONSTRUCTORS: The following three constructors accept an ECEF origin and two of the three axes direction vectors. Note the use of the dummy "int" argument (not used) to hold the place of the unspecified axes.
Definition at line 31 of file ossimLsrSpace.cpp.
References ossimMatrix3x3::create(), ossimEcefVector::data(), theLsrToEcefRotMatrix, and ossimColumnVector3d::unit().
ossimLsrSpace::ossimLsrSpace | ( | const ossimEcefPoint & | origin, |
const ossimEcefVector & | x_dir_ecf_vec, | ||
const int | y_not_provided_space_holder, | ||
const ossimEcefVector & | z_dir_ecf_vec | ||
) |
Definition at line 59 of file ossimLsrSpace.cpp.
References ossimMatrix3x3::create(), ossimEcefVector::data(), theLsrToEcefRotMatrix, and ossimColumnVector3d::unit().
ossimLsrSpace::ossimLsrSpace | ( | const ossimEcefPoint & | origin, |
const int | x_not_provided_space_holder, | ||
const ossimEcefVector & | y_dir_ecf_vec, | ||
const ossimEcefVector & | z_dir_ecf_vec | ||
) |
Definition at line 87 of file ossimLsrSpace.cpp.
References ossimMatrix3x3::create(), ossimEcefVector::data(), theLsrToEcefRotMatrix, and ossimColumnVector3d::unit().
ossimLsrSpace::ossimLsrSpace | ( | const ossimGpt & | origin, |
const double & | y_azimuth = 0 |
||
) |
CONSTRUCTOR: ossimLsrSpace(ossimGpt, y_azimuth) This constructor sets up a local coordinate system centered at the specified groundpoint, with the Z-axis normal to the ellipsoid and the Y-axis rotated clockwise from north by the y_azimuth. This angle defaults to 0, producing an East-North-Up (ENU) system.
Definition at line 117 of file ossimLsrSpace.cpp.
References abs, ossim::cosd(), ossimMatrix3x3::create(), ossimColumnVector3d::cross(), FLT_EPSILON, origin(), ossim::sind(), theLsrToEcefRotMatrix, and theOrigin.
|
inline |
CONSTRUCTOR: ossimLsrSpace(ossimEcefPt, NEWMAT::Matrix) This constructor sets up a local coordinate system centered at the specified ECF, with given LSR-to-ECF rotation.
Definition at line 84 of file ossimLsrSpace.h.
|
inline |
Definition at line 88 of file ossimLsrSpace.h.
|
inline |
Definition at line 106 of file ossimLsrSpace.h.
Referenced by ossimPositionQualityEvaluator::computeElevAzim(), ossimLsrPoint::initialize(), ossimLsrVector::initialize(), and ossimSonomaSensor::updateModel().
|
static |
METHOD: lsrSpaceErrorMessage() Convenience method accessible to all owners of an ossimLsrSpace for displaying an error message when LSR spaces do not match between objects. All operations between LSR objects must be in a common space.
Definition at line 201 of file ossimLsrSpace.cpp.
Referenced by ossimLsrVector::angleTo(), ossimLsrVector::cross(), ossimLsrVector::dot(), ossimLsrVector::operator+(), ossimLsrPoint::operator+(), ossimLsrPoint::operator-(), and ossimLsrVector::operator-().
|
inline |
Definition at line 104 of file ossimLsrSpace.h.
Referenced by ossimSarModel::getArpPos(), ossimHgtRef::getSurfaceNormalCovMatrix(), ossimSarModel::projOPtoSurface(), ossimApplanixUtmModel::updateModel(), ossimSpectraboticsRedEdgeModel::updateModel(), and ossimApplanixEcefModel::updateModel().
|
inline |
Definition at line 95 of file ossimLsrSpace.h.
const ossimLsrSpace & ossimLsrSpace::operator= | ( | const ossimLsrSpace & | space | ) |
Definition at line 186 of file ossimLsrSpace.cpp.
References theLsrToEcefRotMatrix, and theOrigin.
bool ossimLsrSpace::operator== | ( | const ossimLsrSpace & | that | ) | const |
OPERATORS:
Definition at line 172 of file ossimLsrSpace.cpp.
References origin(), theLsrToEcefRotMatrix, and theOrigin.
|
inline |
DATA ACCESS METHODS:
Definition at line 103 of file ossimLsrSpace.h.
Referenced by ossimLsrPoint::initialize(), operator==(), and ossimLsrSpace().
void ossimLsrSpace::print | ( | ostream & | stream = ossimNotify(ossimNotifyLevel_INFO) | ) | const |
Debug Dump:
Definition at line 217 of file ossimLsrSpace.cpp.
References theLsrToEcefRotMatrix, and theOrigin.
|
friend |
Definition at line 122 of file ossimLsrSpace.h.
|
private |
Definition at line 126 of file ossimLsrSpace.h.
Referenced by operator=(), operator==(), ossimLsrSpace(), and print().
|
private |
Definition at line 127 of file ossimLsrSpace.h.
Referenced by operator=(), operator==(), ossimLsrSpace(), and print().