OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Class derived from ossimImageModel, this adds an image projection for lineSampleToWorld and worldToLineSample. More...
#include <ossimImageProjectionModel.h>
Public Member Functions | |
ossimImageProjectionModel () | |
default constructor More... | |
virtual void | initialize (const ossimImageHandler &ih) |
Method to initialize class from an image handler. More... | |
const ossimProjection * | getProjection () const |
Method to get projection. More... | |
![]() | |
ossimImageModel () | |
default constructor More... | |
void | rnToR0 (ossim_uint32 rrds, const ossimDpt &rnPt, ossimDpt &r0Pt) const |
Get r0 point from rn point. More... | |
void | rnToR0 (const ossimDpt &rnPt, ossimDpt &r0Pt) const |
Get r0 point from rn point. More... | |
void | r0ToRn (ossim_uint32 rrds, const ossimDpt &r0Pt, ossimDpt &rnPt) const |
Get rn point from r0 point. More... | |
void | r0ToRn (const ossimDpt &r0Pt, ossimDpt &rnPt) const |
Get rn point from r0 point. More... | |
void | getSubImageOffset (ossim_uint32 rrds, ossimDpt &offset) const |
Get the sub image offset for a given resolution level. More... | |
void | getImageRectangle (ossim_uint32 rrds, ossimDrect &rect) const |
Gets the zero-based image rectangle for a given reduced resolution data set. More... | |
void | getBoundingRectangle (ossim_uint32 rrds, ossimDrect &rect) const |
Gets the model-based image rectangle for a given reduced resolution data set. More... | |
ossim_uint32 | getNumberOfDecimationLevels () const |
void | setTargetRrds (ossim_uint32 rrds) |
Set theTargetRrds data member. More... | |
ossim_uint32 | getTargetRrds () const |
![]() | |
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 std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
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 Member Functions | |
virtual | ~ossimImageProjectionModel () |
virtual destructor More... | |
![]() | |
virtual | ~ossimImageModel () |
virtual destructor More... | |
![]() | |
virtual | ~ossimReferenced () |
Protected Attributes | |
ossimProjection * | theProjection |
![]() | |
ossimDpt | theSubImageOffset |
Offset from the full image. More... | |
std::vector< ossimDpt > | theDecimationFactors |
Decimation factors for each rrds level. More... | |
ossim_uint32 | theLines |
ossim_uint32 | theSamples |
ossim_uint32 | theTargetRrds |
Class derived from ossimImageModel, this adds an image projection for lineSampleToWorld and worldToLineSample.
Note that image points fed to projection methods should be full resolution with any sub image offset applied.
Definition at line 30 of file ossimImageProjectionModel.h.
ossimImageProjectionModel::ossimImageProjectionModel | ( | ) |
default constructor
|
protectedvirtual |
virtual destructor
Definition at line 30 of file ossimImageProjectionModel.cpp.
References theProjection.
const ossimProjection * ossimImageProjectionModel::getProjection | ( | ) | const |
Method to get projection.
Definition at line 51 of file ossimImageProjectionModel.cpp.
References theProjection.
|
virtual |
Method to initialize class from an image handler.
ih | Image handler. |
Reimplemented from ossimImageModel.
Definition at line 35 of file ossimImageProjectionModel.cpp.
References ossimImageHandler::getImageGeometry(), ossimImageGeometry::getProjection(), ossimImageModel::initialize(), theProjection, and ossimRefPtr< T >::valid().
|
protected |
Definition at line 56 of file ossimImageProjectionModel.h.
Referenced by getProjection(), initialize(), and ~ossimImageProjectionModel().