OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossim2dTo2dTransform.h>
Public Member Functions | |
virtual void | forward (const ossimDpt &input, ossimDpt &output) const =0 |
virtual void | forward (ossimDpt &modify_this) const |
virtual void | inverse (const ossimDpt &input, ossimDpt &output) const |
virtual void | inverse (ossimDpt &modify_this) const |
virtual const ossim2dTo2dTransform & | operator= (const ossim2dTo2dTransform &rhs) |
virtual ossimDpt | getOrigin () const |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
void | setConvergenceThreshold (const double &new_threshold) |
void | setMaxIterations (int new_max_iters) |
void | setDxDy (const ossimDpt &dxdy) |
![]() | |
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 | 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 | |
ossim2dTo2dTransform () | |
virtual | ~ossim2dTo2dTransform () |
![]() | |
virtual | ~ossimReferenced () |
Protected Attributes | |
double | theConvergenceThreshold |
int | theMaxIterations |
ossimDpt | theDxDy |
Definition at line 17 of file ossim2dTo2dTransform.h.
|
protected |
Definition at line 47 of file ossim2dTo2dTransform.cpp.
|
inlineprotectedvirtual |
Definition at line 55 of file ossim2dTo2dTransform.h.
|
pure virtual |
Implemented in ossimQuadTreeWarp, ossim2dTo2dMatrixTransform, ossim2dBilinearTransform, ossimRadialDecentLensDistortion, ossim2dTo2dShiftTransform, ossimAffineTransform, ossimImageViewTransform, ossimLensDistortion, and ossim2dTo2dIdentityTransform.
Referenced by forward(), and ossimImageGeometry::rnToFull().
|
virtual |
Reimplemented in ossimQuadTreeWarp, ossim2dTo2dMatrixTransform, ossim2dBilinearTransform, ossimRadialDecentLensDistortion, ossim2dTo2dShiftTransform, and ossim2dTo2dIdentityTransform.
Definition at line 225 of file ossim2dTo2dTransform.cpp.
References forward().
|
virtual |
Used by the inverse iterator. This will give it a good initial value that is within the input transforms
Reimplemented in ossimQuadTreeWarp, and ossimAffineTransform.
Definition at line 239 of file ossim2dTo2dTransform.cpp.
Reimplemented in ossim2dTo2dMatrixTransform, ossim2dBilinearTransform, ossim2dTo2dShiftTransform, ossim2dTo2dIdentityTransform, ossimAffineTransform, and ossimImageViewTransform.
Definition at line 58 of file ossim2dTo2dTransform.cpp.
Referenced by ossimImageGeometry::fullToRn(), inverse(), and ossimImageViewTransform::viewToImage().
|
virtual |
Reimplemented in ossim2dTo2dMatrixTransform, ossim2dBilinearTransform, ossim2dTo2dShiftTransform, and ossim2dTo2dIdentityTransform.
Definition at line 232 of file ossim2dTo2dTransform.cpp.
References inverse().
|
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 ossimObject.
Reimplemented in ossimQuadTreeWarp, ossim2dTo2dMatrixTransform, ossim2dBilinearTransform, ossimImageViewAffineTransform, ossimImageViewTransform, ossimMeanRadialLensDistortion, ossim2dTo2dShiftTransform, ossimImageViewProjectionTransform, ossimRadialDecentLensDistortion, ossimTangentialRadialLensDistortion, ossimAffineTransform, and ossimLensDistortion.
Definition at line 177 of file ossim2dTo2dTransform.cpp.
References ossimKeywordNames::CONVERGENCE_THRESHOLD_KW, ossimKeywordlist::find(), ossimObject::loadState(), ossimKeywordNames::MAX_ITERATIONS_KW, ossimString::split(), theConvergenceThreshold, theDxDy, theMaxIterations, ossimString::trim(), ossimDpt::x, and ossimDpt::y.
Referenced by ossim2dTo2dTransformFactory::createTransform(), ossimLensDistortion::loadState(), ossimAffineTransform::loadState(), ossimRadialDecentLensDistortion::loadState(), ossim2dTo2dShiftTransform::loadState(), ossimImageViewTransform::loadState(), ossim2dBilinearTransform::loadState(), ossim2dTo2dMatrixTransform::loadState(), ossimQuadTreeWarp::loadState(), ossimAffineProjection::ossimAffineProjection(), and ossimWarpProjection::ossimWarpProjection().
|
virtual |
Definition at line 260 of file ossim2dTo2dTransform.cpp.
References ossimReferenced::operator=(), theConvergenceThreshold, theDxDy, and theMaxIterations.
Referenced by ossimAffineTransform::operator=(), ossim2dTo2dShiftTransform::operator=(), ossim2dTo2dIdentityTransform::operator=(), ossim2dBilinearTransform::operator=(), and ossim2dTo2dMatrixTransform::operator=().
|
virtual |
Generic print method.
Derived classes should re-implement as they see fit.
Reimplemented from ossimObject.
Reimplemented in ossim2dTo2dMatrixTransform, ossim2dBilinearTransform, ossimQuadTreeWarp, ossimRadialDecentLensDistortion, ossim2dTo2dShiftTransform, ossimAffineTransform, ossimImageViewTransform, ossimMeanRadialLensDistortion, ossimImageViewProjectionTransform, and ossimTangentialRadialLensDistortion.
Definition at line 273 of file ossim2dTo2dTransform.cpp.
References theConvergenceThreshold, theDxDy, and theMaxIterations.
Referenced by ossim2dTo2dShiftTransform::print(), ossim2dBilinearTransform::print(), ossim2dTo2dMatrixTransform::print(), and ossimImageGeometry::print().
|
virtual |
Method to save the state of the object to a keyword list. Return true if ok or false on error.
Reimplemented from ossimObject.
Reimplemented in ossimQuadTreeWarp, ossim2dTo2dMatrixTransform, ossim2dBilinearTransform, ossimImageViewAffineTransform, ossimImageViewTransform, ossimImageViewProjectionTransform, ossimMeanRadialLensDistortion, ossim2dTo2dShiftTransform, ossimRadialDecentLensDistortion, ossimTangentialRadialLensDistortion, ossimAffineTransform, and ossimLensDistortion.
Definition at line 154 of file ossim2dTo2dTransform.cpp.
References ossimKeywordlist::add(), ossimKeywordNames::CONVERGENCE_THRESHOLD_KW, ossimKeywordNames::MAX_ITERATIONS_KW, ossimObject::saveState(), theConvergenceThreshold, theDxDy, theMaxIterations, ossimString::toString(), ossimDpt::x, and ossimDpt::y.
Referenced by ossimLensDistortion::saveState(), ossimAffineTransform::saveState(), ossimRadialDecentLensDistortion::saveState(), ossim2dTo2dShiftTransform::saveState(), ossimImageViewTransform::saveState(), ossim2dBilinearTransform::saveState(), ossim2dTo2dMatrixTransform::saveState(), ossimQuadTreeWarp::saveState(), and ossimImageGeometry::saveState().
void ossim2dTo2dTransform::setConvergenceThreshold | ( | const double & | new_threshold | ) |
Definition at line 244 of file ossim2dTo2dTransform.cpp.
References theConvergenceThreshold.
void ossim2dTo2dTransform::setDxDy | ( | const ossimDpt & | dxdy | ) |
Definition at line 254 of file ossim2dTo2dTransform.cpp.
References theDxDy, ossimDpt::x, and ossimDpt::y.
void ossim2dTo2dTransform::setMaxIterations | ( | int | new_max_iters | ) |
|
protected |
Definition at line 56 of file ossim2dTo2dTransform.h.
Referenced by ossimLensDistortion::distort(), loadState(), operator=(), print(), saveState(), and setConvergenceThreshold().
|
protected |
Definition at line 59 of file ossim2dTo2dTransform.h.
Referenced by loadState(), operator=(), print(), saveState(), and setDxDy().
|
protected |
Definition at line 57 of file ossim2dTo2dTransform.h.
Referenced by ossimLensDistortion::distort(), loadState(), operator=(), print(), saveState(), and setMaxIterations().