OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimPointObservation.h>
Public Member Functions | |
ossimPointObservation () | |
ossimPointObservation (const ossimString &anID) | |
ossimPointObservation (const ossimGpt &aPt, const ossimString &anID, const ossimColumnVector3d &latLonHgtSigmas) | |
ossimPointObservation (const ossimPointObservation &tpt) | |
~ossimPointObservation () | |
void | reset () |
ossimGpt & | Gpt () |
ossimString | ID () const |
void | setID (const std::string &anID) |
unsigned int | numImages () const |
unsigned int | numMeas () const |
ossimImageGeometry * | getImageGeom (const int index) |
void | setImageGeom (const int index, ossimImageGeometry *imgGeom) |
ossimFilename | imageFile (const int index) const |
void | addMeasurement (const ossimDpt &meas, const ossimFilename &imgFile, const ossimDpt &measSigma=ossimDpt(1.0, 1.0)) |
void | addMeasurement (const double &x, const double &y, const std::string &imgFile, const ossimDpt &measSigma=ossimDpt(1.0, 1.0)) |
void | getResiduals (const int index, NEWMAT::Matrix &resid) |
void | getMeasCov (const int index, NEWMAT::Matrix &cov) const |
void | getObsCov (NEWMAT::Matrix &cov) const |
void | getMeasurement (const int index, NEWMAT::Matrix &meas) const |
ossimDpt | getMeasurement (const int index) const |
int | numPars (const int index) const |
void | getParameterPartials (const int index, NEWMAT::Matrix &parPartials) |
void | getObjSpacePartials (const int index, NEWMAT::Matrix &objPartials) |
const ossimPointObservation & | operator= (const ossimPointObservation &) |
void | setGroundPoint (const double &lat, const double &lon, const double &hgt) |
void | setGroundSigmas (const double &latSig, const double &lonSig, const double &hgtSig) |
void | setGroundPoint (const ossimGpt &mPt) |
const ossimGpt & | getGroundPoint () const |
ossimGpt & | refGroundPoint () |
void | setScore (const double &s) |
const double & | getScore () const |
double & | refScore () |
void | makeNan () |
bool | hasNans () const |
bool | isNan () const |
std::ostream & | print (std::ostream &os) const |
Generic print method. More... | |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
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 |
Protected Attributes | |
ossimGpt | thePt |
ossimString | theID |
double | theObsSigmas [3] |
double | theScore |
std::vector< ossimDpt > | theMeas |
std::vector< ossimDpt > | theMeasSigmas |
std::vector< ossimFilename > | theImageFiles |
std::vector< int > | theNumPars |
std::vector< ossimRefPtr< ossimImageHandler > > | theImageHandlers |
Friends | |
OSSIMDLLEXPORT std::ostream & | operator<< (std::ostream &os, const ossimPointObservation &pt) |
OSSIMDLLEXPORT std::istream & | operator>> (std::istream &is, ossimPointObservation &pt) |
Method to input the formatted string of the "operator<<". More... | |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 24 of file ossimPointObservation.h.
ossimPointObservation::ossimPointObservation | ( | ) |
Definition at line 24 of file ossimPointObservation.cpp.
References ossimGpt::makeNan(), theObsSigmas, and thePt.
ossimPointObservation::ossimPointObservation | ( | const ossimString & | anID | ) |
Definition at line 32 of file ossimPointObservation.cpp.
References ossimGpt::makeNan(), theObsSigmas, and thePt.
ossimPointObservation::ossimPointObservation | ( | const ossimGpt & | aPt, |
const ossimString & | anID, | ||
const ossimColumnVector3d & | latLonHgtSigmas | ||
) |
ossimPointObservation::ossimPointObservation | ( | const ossimPointObservation & | tpt | ) |
Definition at line 50 of file ossimPointObservation.cpp.
References theImageFiles, theImageHandlers, theMeas, theMeasSigmas, theNumPars, and theObsSigmas.
ossimPointObservation::~ossimPointObservation | ( | ) |
Definition at line 64 of file ossimPointObservation.cpp.
References reset().
void ossimPointObservation::addMeasurement | ( | const ossimDpt & | meas, |
const ossimFilename & | imgFile, | ||
const ossimDpt & | measSigma = ossimDpt(1.0,1.0) |
||
) |
Definition at line 101 of file ossimPointObservation.cpp.
References ossimRefPtr< T >::get(), ossimImageGeometry::getAdjustableParameterInterface(), ossimImageHandler::getImageGeometry(), ossimAdjustableParameterInterface::getNumberOfAdjustableParameters(), ossimImageHandlerRegistry::instance(), ossimImageHandlerRegistry::open(), theImageFiles, theImageHandlers, theMeas, theMeasSigmas, theNumPars, and ossimRefPtr< T >::valid().
Referenced by addMeasurement().
void ossimPointObservation::addMeasurement | ( | const double & | x, |
const double & | y, | ||
const std::string & | imgFile, | ||
const ossimDpt & | measSigma = ossimDpt(1.0,1.0) |
||
) |
Definition at line 91 of file ossimPointObservation.cpp.
References addMeasurement(), x, and y.
|
inline |
Definition at line 102 of file ossimPointObservation.h.
ossimImageGeometry * ossimPointObservation::getImageGeom | ( | const int | index | ) |
Definition at line 125 of file ossimPointObservation.cpp.
References theImageHandlers.
Referenced by getObjSpacePartials(), getParameterPartials(), and getResiduals().
void ossimPointObservation::getMeasCov | ( | const int | index, |
NEWMAT::Matrix & | cov | ||
) | const |
Definition at line 145 of file ossimPointObservation.cpp.
References theMeasSigmas.
void ossimPointObservation::getMeasurement | ( | const int | index, |
NEWMAT::Matrix & | meas | ||
) | const |
Definition at line 137 of file ossimPointObservation.cpp.
References theMeas.
|
inline |
Definition at line 71 of file ossimPointObservation.h.
void ossimPointObservation::getObjSpacePartials | ( | const int | index, |
NEWMAT::Matrix & | objPartials | ||
) |
Definition at line 196 of file ossimPointObservation.cpp.
References ossimImageGeometry::computeGroundToImagePartials(), getImageGeom(), and refGroundPoint().
void ossimPointObservation::getObsCov | ( | NEWMAT::Matrix & | cov | ) | const |
Definition at line 155 of file ossimPointObservation.cpp.
References DEG_PER_RAD, ossimGpt::metersPerDegree(), theObsSigmas, thePt, ossimDpt::x, and ossimDpt::y.
void ossimPointObservation::getParameterPartials | ( | const int | index, |
NEWMAT::Matrix & | parPartials | ||
) |
Definition at line 189 of file ossimPointObservation.cpp.
References ossimImageGeometry::computeImageToGroundPartialsWRTAdjParams(), getImageGeom(), refGroundPoint(), and theNumPars.
void ossimPointObservation::getResiduals | ( | const int | index, |
NEWMAT::Matrix & | resid | ||
) |
Definition at line 169 of file ossimPointObservation.cpp.
References getImageGeom(), refGroundPoint(), theMeas, and ossimImageGeometry::worldToLocal().
|
inline |
Definition at line 108 of file ossimPointObservation.h.
|
inline |
Definition at line 42 of file ossimPointObservation.h.
|
inline |
Definition at line 117 of file ossimPointObservation.h.
References ossim::isnan().
|
inline |
Definition at line 43 of file ossimPointObservation.h.
|
inline |
Definition at line 53 of file ossimPointObservation.h.
|
inline |
Definition at line 122 of file ossimPointObservation.h.
References ossim::isnan().
|
inline |
Definition at line 111 of file ossimPointObservation.h.
References ossim::nan().
|
inline |
Definition at line 45 of file ossimPointObservation.h.
|
inline |
Definition at line 46 of file ossimPointObservation.h.
Referenced by print().
|
inline |
Definition at line 73 of file ossimPointObservation.h.
const ossimPointObservation& ossimPointObservation::operator= | ( | const ossimPointObservation & | ) |
|
virtual |
Generic print method.
Derived classes should re-implement as they see fit.
Reimplemented from ossimObject.
Definition at line 203 of file ossimPointObservation.cpp.
References ossim::isnan(), numMeas(), theID, theMeas, and theScore.
Referenced by operator<<().
|
inline |
Definition at line 103 of file ossimPointObservation.h.
Referenced by getObjSpacePartials(), getParameterPartials(), and getResiduals().
|
inline |
Definition at line 109 of file ossimPointObservation.h.
void ossimPointObservation::reset | ( | ) |
Definition at line 73 of file ossimPointObservation.cpp.
References ossimGpt::makeNan(), theID, theImageFiles, theImageHandlers, theMeas, theMeasSigmas, theNumPars, theObsSigmas, thePt, and theScore.
Referenced by ~ossimPointObservation().
|
inline |
Definition at line 83 of file ossimPointObservation.h.
|
inline |
Definition at line 101 of file ossimPointObservation.h.
|
inline |
Definition at line 92 of file ossimPointObservation.h.
|
inline |
Definition at line 44 of file ossimPointObservation.h.
void ossimPointObservation::setImageGeom | ( | const int | index, |
ossimImageGeometry * | imgGeom | ||
) |
Definition at line 131 of file ossimPointObservation.cpp.
References theImageHandlers.
|
inline |
Definition at line 107 of file ossimPointObservation.h.
|
friend |
Definition at line 229 of file ossimPointObservation.cpp.
|
friend |
|
protected |
Definition at line 141 of file ossimPointObservation.h.
|
protected |
Definition at line 147 of file ossimPointObservation.h.
Referenced by addMeasurement(), ossimPointObservation(), and reset().
|
protected |
Definition at line 149 of file ossimPointObservation.h.
Referenced by addMeasurement(), getImageGeom(), ossimPointObservation(), reset(), and setImageGeom().
|
protected |
Definition at line 145 of file ossimPointObservation.h.
Referenced by addMeasurement(), getMeasurement(), getResiduals(), ossimPointObservation(), print(), and reset().
|
protected |
Definition at line 146 of file ossimPointObservation.h.
Referenced by addMeasurement(), getMeasCov(), ossimPointObservation(), and reset().
|
protected |
Definition at line 148 of file ossimPointObservation.h.
Referenced by addMeasurement(), getParameterPartials(), ossimPointObservation(), and reset().
|
protected |
Definition at line 142 of file ossimPointObservation.h.
Referenced by getObsCov(), ossimPointObservation(), and reset().
|
protected |
Definition at line 140 of file ossimPointObservation.h.
Referenced by getObsCov(), ossimPointObservation(), and reset().
|
protected |
Definition at line 143 of file ossimPointObservation.h.