|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
storage class for tie point between ground and image based on ossimGpt More...
#include <ossimTieGpt.h>
Public Member Functions | |
| ossimTieGpt () | |
| ossimTieGpt (const ossimGpt &aPt, const ossimDpt &aTie, const ossim_float64 &aScore) | |
| ossimTieGpt (const ossimTieGpt &tpt) | |
| ~ossimTieGpt () | |
| const ossimTieGpt & | operator= (const ossimTieGpt &) |
| void | setGroundPoint (const ossimGpt &mPt) |
| const ossimGpt & | getGroundPoint () const |
| ossimGpt & | refGroundPoint () |
| void | setImagePoint (const ossimDpt &sPt) |
| const ossimDpt & | getImagePoint () const |
| ossimDpt & | refImagePoint () |
| void | setScore (const ossim_float64 &s) |
| const ossim_float64 & | getScore () const |
| ossim_float64 & | refScore () |
| void | makeNan () |
| bool | hasNans () const |
| bool | isNan () const |
| std::ostream & | print (std::ostream &os) const |
| text serialization More... | |
| std::ostream & | printTab (std::ostream &os) const |
| ossimRefPtr< ossimXmlNode > | exportAsGmlNode (ossimString aGmlVersion="2.1.2") const |
| GML feauture (XML) serialization. More... | |
| bool | importFromGmlNode (ossimRefPtr< ossimXmlNode > aGmlNode, ossimString aGmlVersion="2.1.2") |
Public Member Functions inherited from ossimReferenced | |
| ossimReferenced () | |
| ossimReferenced (const ossimReferenced &) | |
| ossimReferenced & | operator= (const ossimReferenced &) |
| void | ref () const |
| increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| void | unref () const |
| decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unref_nodelete () const |
| decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| int | referenceCount () const |
Public Member Functions inherited from ossimGpt | |
| ossimGpt (const double alat=0, const double alon=0, const double ahgt=0, const ossimDatum *aDatum=ossimDatumFactory::instance() ->wgs84()) | |
| Constructor. More... | |
| ossimGpt (const ossimGpt &src) | |
| Copy Constructor: More... | |
| ossimGpt (const ossimEcefPoint &aPt, const ossimDatum *aDatum=ossimDatumFactory::instance() ->wgs84()) | |
| Constructor. More... | |
| ossimGpt (const ossimDpt3d &aPt) | |
| Argument aPt (x, y, z) is understood to represent (lon, lat, hgt) relative to WGS84 datum. More... | |
| double | latr () const |
| latr(). More... | |
| void | latr (double radianValue) |
| Returns the latitude in radian measure. More... | |
| double | lonr () const |
| Returns the longitude in radian measure. More... | |
| void | lonr (double radianValue) |
| Assumes the value being passed in is in radians. More... | |
| double | latd () const |
| Will convert the radian measure to degrees. More... | |
| void | latd (double degreeValue) |
| Assumes the passed in value is in degrees. More... | |
| double | lond () const |
| Will convert the radian measure to degrees. More... | |
| void | lond (double degreeValue) |
| Assumes the passed in value is in degrees. More... | |
| double | height () const |
| double | heightMSL () const |
| void | height (double height) |
| Sets the "hgt" data member to height. More... | |
| void | heightMSL (double heightMSL) |
| Sets the "hgt" data member to heightMsl adding any geiod offset. More... | |
| void | makeNan () |
| bool | isNan () const |
| bool | hasNans () const |
| bool | isLatNan () const |
| bool | isLonNan () const |
| bool | isLonLatNan () const |
| bool | isLatLonNan () const |
| bool | isHgtNan () const |
| std::ostream & | print (std::ostream &os, ossim_uint32 precision=15) const |
| ossimString | toString (ossim_uint32 precision=15) const |
| void | toPoint (const std::string &s) |
| Initializes this point from string. More... | |
| const ossimDatum * | datum () const |
| datum(). More... | |
| void | datum (const ossimDatum *aDatum) |
| Note: this will not do a shift. More... | |
| void | changeDatum (const ossimDatum *datum) |
| This will actually perform a shift. More... | |
| const ossimGpt & | operator= (const ossimGpt &aPt) |
| bool | operator== (const ossimGpt &gpt) const |
| bool | operator!= (const ossimGpt &gpt) const |
| void | limitLonTo180 () |
| METHOD: limitLonTo180() Converts the lon data member to a value between -180 and +180: More... | |
| void | wrap () |
| Wrap method to maintain longitude between -180 and +180 and latitude between -90 and +90. More... | |
| void | clampLon (double low, double high) |
| void | clampLat (double low, double high) |
| void | clampHgt (double low, double high) |
| double | distanceTo (const ossimGpt &arg_gpt) const |
| METHOD: distanceTo(ossimGpt) Computes straight-line distance in meters between this and arg gpt: More... | |
| double | azimuthTo (const ossimGpt &arg_gpt) const |
| METHOD: azimuthTo(ossimGpt) Computes the great-circle starting azimuth (i.e., at this gpt) to the argument gpt in degrees. More... | |
| ossimDpt | metersPerDegree () const |
| ossimString | toDmsString () const |
| bool | isEqualTo (const ossimGpt &rhs, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
Public Attributes | |
| ossimDpt | tie |
| Public data members. More... | |
| ossim_float64 | score |
Public Attributes inherited from ossimGpt | |
| ossim_float64 | lat |
| ossim_float64 | lon |
| ossim_float64 | hgt |
| Height in meters above the ellipsiod. More... | |
Friends | |
| OSSIMDLLEXPORT std::ostream & | operator<< (std::ostream &os, const ossimTieGpt &pt) |
| OSSIMDLLEXPORT std::istream & | operator>> (std::istream &is, ossimTieGpt &pt) |
| Method to input the formatted string of the "operator<<". More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ossimReferenced | |
| virtual | ~ossimReferenced () |
storage class for tie point between ground and image based on ossimGpt
NOTES accuracy is not stored here (need to derive object if need a per-point accuracy) GML storage is WGS84 only, it stores above ellipsoid height (m)
TODO : -support other datum (easy) / ground projection (big change in OSSIM) -unify with ossimTDpt
Definition at line 24 of file ossimTieGpt.h.
|
inline |
Definition at line 30 of file ossimTieGpt.h.
|
inline |
Definition at line 37 of file ossimTieGpt.h.
|
inline |
Definition at line 44 of file ossimTieGpt.h.
|
inline |
Definition at line 50 of file ossimTieGpt.h.
| ossimRefPtr< ossimXmlNode > ossimTieGpt::exportAsGmlNode | ( | ossimString | aGmlVersion = "2.1.2" | ) | const |
GML feauture (XML) serialization.
Definition at line 111 of file ossimTieGpt.cpp.
References ossimXmlNode::addChildNode(), ossimXmlNode::addNode(), COORD_GML2, ossimGpt::datum(), GROUND_GML2, ossimDpt::hasNans(), ossimGpt::height(), IMAGE_GML2, ossimDatumFactory::instance(), ossimGpt::isHgtNan(), ossimGpt::isLatNan(), ossimGpt::isLonNan(), ossimGpt::latd(), ossimGpt::lond(), ossimNotify(), ossimNotifyLevel_WARN, score, SCORE_GML2, ossimXmlNode::setTag(), tie, ossimString::toString(), ossimDpt::x, and ossimDpt::y.
|
inline |
Definition at line 55 of file ossimTieGpt.h.
|
inline |
Definition at line 59 of file ossimTieGpt.h.
|
inline |
Definition at line 63 of file ossimTieGpt.h.
|
inline |
Definition at line 73 of file ossimTieGpt.h.
References ossimGpt::hasNans(), and ossim::isnan().
| bool ossimTieGpt::importFromGmlNode | ( | ossimRefPtr< ossimXmlNode > | aGmlNode, |
| ossimString | aGmlVersion = "2.1.2" |
||
| ) |
Definition at line 153 of file ossimTieGpt.cpp.
References COORD_GML2, ossimXmlNode::findFirstNode(), ossimXmlNode::getText(), GROUND_GML2, ossimGpt::height(), IMAGE_GML2, ossimGpt::latd(), ossimGpt::lond(), ossimDpt::makeNan(), makeNan(), ossimNotify(), ossimNotifyLevel_WARN, score, SCORE_GML2, tie, ossimRefPtr< T >::valid(), ossimDpt::x, and ossimDpt::y.
Referenced by ossimTieGptSet::importFromGmlNode().
|
inline |
Definition at line 78 of file ossimTieGpt.h.
References ossim::isnan(), and ossimGpt::isNan().
|
inline |
Definition at line 66 of file ossimTieGpt.h.
References ossimGpt::makeNan(), and ossim::nan().
Referenced by importFromGmlNode(), and operator>>().
|
inline |
Definition at line 112 of file ossimTieGpt.h.
References ossimReferenced::operator=(), ossimGpt::operator=(), score, and tie.
| std::ostream & ossimTieGpt::print | ( | std::ostream & | os | ) | const |
text serialization
Definition at line 11 of file ossimTieGpt.cpp.
References ossim::isnan(), score, and tie.
Referenced by operator<<().
| std::ostream & ossimTieGpt::printTab | ( | std::ostream & | os | ) | const |
Definition at line 30 of file ossimTieGpt.cpp.
References ossimGpt::height(), ossimGpt::latd(), ossimGpt::lond(), score, tie, ossimDpt::x, and ossimDpt::y.
|
inline |
Definition at line 56 of file ossimTieGpt.h.
|
inline |
Definition at line 60 of file ossimTieGpt.h.
|
inline |
Definition at line 64 of file ossimTieGpt.h.
|
inline |
|
inline |
Definition at line 58 of file ossimTieGpt.h.
|
inline |
Definition at line 62 of file ossimTieGpt.h.
|
friend |
Definition at line 43 of file ossimTieGpt.cpp.
|
friend |
Method to input the formatted string of the "operator<<".
Expected format: ( ( ossimGpt ), ( ossimDpt ), 0.50000000000000 ) –*this-— , -—tie--—, —score-----—
Definition at line 48 of file ossimTieGpt.cpp.
| ossim_float64 ossimTieGpt::score |
Definition at line 109 of file ossimTieGpt.h.
Referenced by exportAsGmlNode(), importFromGmlNode(), operator=(), operator>>(), print(), and printTab().
| ossimDpt ossimTieGpt::tie |
Public data members.
Definition at line 108 of file ossimTieGpt.h.
Referenced by exportAsGmlNode(), importFromGmlNode(), operator=(), operator>>(), print(), and printTab().
1.8.14