OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimAffineProjection.h>
Public Member Functions | |
ossimAffineProjection () | |
ossimAffineProjection (ossimProjection *client) | |
ossimAffineProjection (const ossimKeywordlist &geom_kwl, const char *prefix=NULL) | |
~ossimAffineProjection () | |
virtual void | worldToLineSample (const ossimGpt &worldPoint, ossimDpt &lineSampPt) const |
virtual void | lineSampleToWorld (const ossimDpt &lineSampPt, ossimGpt &worldPt) const |
virtual void | lineSampleHeightToWorld (const ossimDpt &lineSampPt, const double &hgtEllipsoid, ossimGpt &worldPt) const |
virtual std::ostream & | print (std::ostream &out) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
virtual ossimObject * | dup () const |
virtual ossimGpt | origin () const |
virtual bool | operator== (const ossimProjection &) const |
virtual ossimDpt | getMetersPerPixel () const |
virtual bool | isAffectedByElevation () const |
Implementation of pure virtual ossimProjection::isAffectedByElevation method. More... | |
![]() | |
ossimProjection () | |
virtual | ~ossimProjection () |
virtual ossimDpt | forward (const ossimGpt &wp) const |
virtual ossimGpt | inverse (const ossimDpt &pp) const |
virtual void | getRoundTripError (const ossimDpt &imagePoint, ossimDpt &errorResult) const |
virtual void | getRoundTripError (const ossimGpt &groundPoint, ossimDpt &errorResult) const |
virtual void | getGroundClipPoints (ossimGeoPolygon &gpts) const |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual bool | operator!= (const ossimProjection &projection) const |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
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 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 |
![]() | |
ossimErrorStatusInterface () | |
virtual | ~ossimErrorStatusInterface () |
virtual ossimErrorCode | getErrorStatus () const |
virtual ossimString | getErrorStatusString () const |
virtual void | setErrorStatus (ossimErrorCode error_status) const |
virtual void | setErrorStatus () const |
virtual void | clearErrorStatus () const |
bool | hasError () const |
Protected Attributes | |
ossimRefPtr< ossimProjection > | theClientProjection |
ossimRefPtr< ossim2dTo2dTransform > | theAffineTransform |
![]() | |
ossimErrorCode | theErrorStatus |
Friends | |
std::ostream & | operator<< (std::ostream &os, const ossimAffineProjection &m) |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
ossimAffineProjection::ossimAffineProjection | ( | ) |
Default Contructor:
Definition at line 32 of file ossimAffineProjection.cpp.
Referenced by dup().
ossimAffineProjection::ossimAffineProjection | ( | ossimProjection * | client | ) |
Primary constructor accepting pointer to the underlying client projection.
Definition at line 46 of file ossimAffineProjection.cpp.
ossimAffineProjection::ossimAffineProjection | ( | const ossimKeywordlist & | geom_kwl, |
const char * | prefix = NULL |
||
) |
Constructor accepts OSSIM keywordlist geometry file.
Definition at line 57 of file ossimAffineProjection.cpp.
References ossimErrorStatusInterface::getErrorStatus(), ossimProjectionFactoryRegistry::instance(), ossim2dTo2dTransform::loadState(), ossimErrorCodes::OSSIM_ERROR, ossimErrorStatusInterface::setErrorStatus(), theAffineTransform, and theClientProjection.
ossimAffineProjection::~ossimAffineProjection | ( | ) |
Definition at line 78 of file ossimAffineProjection.cpp.
|
virtual |
Returns pointer to a new instance, copy of this.
Implements ossimProjection.
Definition at line 242 of file ossimAffineProjection.cpp.
References ossimAffineProjection(), and saveState().
|
virtual |
ACCESS METHODS:
Implements ossimProjection.
Definition at line 263 of file ossimAffineProjection.cpp.
References ossimProjection::getMetersPerPixel(), ossim::nan(), theClientProjection, and ossimRefPtr< T >::valid().
|
inlinevirtual |
Implementation of pure virtual ossimProjection::isAffectedByElevation method.
Implements ossimProjection.
Definition at line 108 of file ossimAffineProjection.h.
|
virtual |
Performs the inverse projection from line, sample to ground, bypassing reference to elevation surface:
Implements ossimProjection.
Definition at line 129 of file ossimAffineProjection.cpp.
|
virtual |
METHOD: lineSampleToWorld() Performs the inverse projection from line, sample to ground (world):
Implements ossimProjection.
Definition at line 106 of file ossimAffineProjection.cpp.
|
virtual |
Method to the load (recreate) the state of the object from a keyword list. Return true if ok or false on error.
Reimplemented from ossimProjection.
Definition at line 197 of file ossimAffineProjection.cpp.
|
inlinevirtual |
Compares this instance with arg projection. NOT IMPLEMENTED.
Implements ossimProjection.
Definition at line 98 of file ossimAffineProjection.h.
|
virtual |
Returns projection's ground point origin. That is the GP corresponding to line=0, sample=0.
Implements ossimProjection.
Definition at line 253 of file ossimAffineProjection.cpp.
References ossimProjection::origin(), theClientProjection, and ossimRefPtr< T >::valid().
|
virtual |
Extends base-class implementation. Dumps contents of object to ostream.
Reimplemented from ossimProjection.
Definition at line 152 of file ossimAffineProjection.cpp.
References ossimProjection::print(), theAffineTransform, theClientProjection, and ossimRefPtr< T >::valid().
Referenced by operator<<().
|
virtual |
Fulfills ossimObject base-class pure virtuals. Loads and saves geometry KWL files. Returns true if successful.
Reimplemented from ossimProjection.
Definition at line 179 of file ossimAffineProjection.cpp.
Referenced by dup().
|
virtual |
METHOD: worldToLineSample() Performs the forward projection from ground point to line, sample.
Implements ossimProjection.
Definition at line 86 of file ossimAffineProjection.cpp.
|
friend |
Definition at line 171 of file ossimAffineProjection.cpp.
|
protected |
Definition at line 116 of file ossimAffineProjection.h.
Referenced by ossimAffineProjection(), and print().
|
protected |
Data Members:
Definition at line 115 of file ossimAffineProjection.h.
Referenced by getMetersPerPixel(), origin(), ossimAffineProjection(), and print().