OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimHgtRef.h>
Public Member Functions | |
ossimHgtRef (HeightRefType_t cRefType) | |
constructor. More... | |
ossimHgtRef (HeightRefType_t cRefType, const ossim_float64 &atHgt) | |
virtual | ~ossimHgtRef () |
virtual destructor. More... | |
HeightRefType_t | getHeightRefType () const |
Method to get height reference type (ellipsoid or DEM). More... | |
virtual ossim_float64 | getRefHeight (const ossimGpt &pg) const |
Method to get height reference. More... | |
virtual bool | getSurfaceCovMatrix (const ossimGpt &pg, NEWMAT::Matrix &cov) const |
Method to get surface information string. More... | |
virtual bool | getSurfaceCovMatrix (const ossim_float64 refCE, const ossim_float64 refLE, NEWMAT::Matrix &cov) const |
Method to get surface covariance matrix. More... | |
bool | getSurfaceNormalCovMatrix (const ossimGpt &pg, const NEWMAT::Matrix &surfCov, NEWMAT::Matrix &normCov) const |
Method to get surface normal covariance matrix. More... | |
virtual ossimColumnVector3d | getLocalTerrainNormal (const ossimGpt &pg) const |
Method to get local terrain normal unit vector (slope). More... | |
Private Attributes | |
HeightRefType_t | theCurrentHeightRefType |
ossim_float64 | theCurrentRefHeight |
Definition at line 24 of file ossimHgtRef.h.
ossimHgtRef::ossimHgtRef | ( | HeightRefType_t | cRefType | ) |
constructor.
Definition at line 37 of file ossimHgtRef.cpp.
ossimHgtRef::ossimHgtRef | ( | HeightRefType_t | cRefType, |
const ossim_float64 & | atHgt | ||
) |
Definition at line 60 of file ossimHgtRef.cpp.
|
virtual |
|
inline |
Method to get height reference type (ellipsoid or DEM).
Definition at line 42 of file ossimHgtRef.h.
|
virtual |
Method to get local terrain normal unit vector (slope).
pg | Reference point. |
Definition at line 395 of file ossimHgtRef.cpp.
References AT_DEM, AT_HGT, ossimElevManager::getHeightAboveEllipsoid(), ossimGpt::height(), ossimElevManager::instance(), ossimGpt::latd(), ossimGpt::lond(), ossimGpt::metersPerDegree(), theCurrentHeightRefType, ossimDpt::x, ossimDpt::y, and ossimColumnVector3d::zAligned().
|
virtual |
Method to get height reference.
pg | Reference point. |
Definition at line 90 of file ossimHgtRef.cpp.
References AT_DEM, AT_HGT, ossimElevManager::getHeightAboveEllipsoid(), ossimElevManager::instance(), theCurrentHeightRefType, and theCurrentRefHeight.
Referenced by ossimSarModel::projOPtoSurface().
|
virtual |
Method to get surface information string.
pg | Reference point. |
info | ossimElevationAccuracyInfo string. |
pg | Reference point. |
cov | 3X3 ENU covariance matrix. |
Definition at line 176 of file ossimHgtRef.cpp.
References AT_DEM, AT_HGT, ossimElevManager::getAccuracyInfo(), ossimElevationAccuracyInfo::hasValidAbsoluteError(), ossimElevManager::instance(), ossimElevationAccuracyInfo::m_absoluteCE, ossimElevationAccuracyInfo::m_absoluteLE, theCurrentHeightRefType, and ossimDpt::x.
|
virtual |
Method to get surface covariance matrix.
METHOD: ossimHgtRef::getSurfaceCovMatrix()
refCE | Reference surface 90% CE [m] |
refLE | Reference surface 90% LE [m] |
cov | 3X3 ENU covariance matrix. |
Definition at line 299 of file ossimHgtRef.cpp.
References AT_DEM, AT_HGT, and theCurrentHeightRefType.
bool ossimHgtRef::getSurfaceNormalCovMatrix | ( | const ossimGpt & | pg, |
const NEWMAT::Matrix & | surfCov, | ||
NEWMAT::Matrix & | normCov | ||
) | const |
Method to get surface normal covariance matrix.
pg | Reference point. |
surfCov | 3X3 ENU surface covariance matrix. |
normCov | 3X3 ECF normal covariance matrix. |
Definition at line 355 of file ossimHgtRef.cpp.
References ossimLsrSpace::lsrToEcefRotMatrix().
|
private |
Definition at line 116 of file ossimHgtRef.h.
Referenced by getLocalTerrainNormal(), getRefHeight(), and getSurfaceCovMatrix().
|
private |
Definition at line 117 of file ossimHgtRef.h.
Referenced by getRefHeight().