OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossim2dTo2dShiftTransform.h>
Public Member Functions | |
ossim2dTo2dShiftTransform (const ossimDpt &shift=ossimDpt(0.0, 0.0)) | |
Constructor to initialize the shift transform. More... | |
ossim2dTo2dShiftTransform (const ossim2dTo2dShiftTransform &src) | |
Copy constructor. More... | |
virtual ossimObject * | dup () const |
Duplication method that duplicates this object. More... | |
const ossim2dTo2dShiftTransform & | operator= (const ossim2dTo2dShiftTransform &src) |
operator = allows one to copy the contents of the class through a common = operator. More... | |
virtual void | forward (const ossimDpt &input, ossimDpt &output) const |
Apply the shift to the input. More... | |
virtual void | forward (ossimDpt &modify_this) const |
Apply the shift to the input and put the result in the same variable. More... | |
virtual void | inverse (const ossimDpt &input, ossimDpt &output) const |
Negate the shift to the input and put the result in output. More... | |
virtual void | inverse (ossimDpt &modify_this) const |
Negate the shift operation and put the result in the same variable. More... | |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
Saves the state of this object. More... | |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
loads the state of this object from a keywordlist. More... | |
virtual std::ostream & | print (std::ostream &out) const |
Print the contents of the class and pass to the derived class. More... | |
![]() | |
virtual const ossim2dTo2dTransform & | operator= (const ossim2dTo2dTransform &rhs) |
virtual ossimDpt | getOrigin () const |
void | setConvergenceThreshold (const double &new_threshold) |
void | setMaxIterations (int new_max_iters) |
void | setDxDy (const ossimDpt &dxdy) |
![]() | |
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 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 | ~ossim2dTo2dShiftTransform () |
![]() | |
ossim2dTo2dTransform () | |
virtual | ~ossim2dTo2dTransform () |
![]() | |
virtual | ~ossimReferenced () |
Protected Attributes | |
ossimDpt | m_shift |
TYPE_DATA | |
![]() | |
double | theConvergenceThreshold |
int | theMaxIterations |
ossimDpt | theDxDy |
Definition at line 13 of file ossim2dTo2dShiftTransform.h.
|
inline |
Constructor to initialize the shift transform.
Definition at line 19 of file ossim2dTo2dShiftTransform.h.
|
inline |
Copy constructor.
Definition at line 27 of file ossim2dTo2dShiftTransform.h.
|
inlineprotectedvirtual |
Definition at line 120 of file ossim2dTo2dShiftTransform.h.
|
inlinevirtual |
Duplication method that duplicates this object.
Reimplemented from ossimObject.
Definition at line 35 of file ossim2dTo2dShiftTransform.h.
|
inlinevirtual |
Apply the shift to the input.
input | The value to shift. |
output | the shifted value. |
Implements ossim2dTo2dTransform.
Definition at line 57 of file ossim2dTo2dShiftTransform.h.
|
inlinevirtual |
Apply the shift to the input and put the result in the same variable.
modify_this | The value to shift. The result is placed back into this value. |
Reimplemented from ossim2dTo2dTransform.
Definition at line 67 of file ossim2dTo2dShiftTransform.h.
References ossimDpt::x, and ossimDpt::y.
|
inlinevirtual |
Negate the shift to the input and put the result in output.
input | The value to apply the negated shift. |
output | the shifted value. |
Reimplemented from ossim2dTo2dTransform.
Definition at line 79 of file ossim2dTo2dShiftTransform.h.
|
inlinevirtual |
Negate the shift operation and put the result in the same variable.
modify_this | The value to shift. The result is placed back into this value. |
Reimplemented from ossim2dTo2dTransform.
Definition at line 90 of file ossim2dTo2dShiftTransform.h.
References ossimDpt::x, and ossimDpt::y.
|
virtual |
loads the state of this object from a keywordlist.
Reimplemented from ossim2dTo2dTransform.
Definition at line 13 of file ossim2dTo2dShiftTransform.cpp.
References ossimString::empty(), ossimKeywordlist::find(), ossim2dTo2dTransform::loadState(), m_shift, and ossimDpt::toPoint().
|
inline |
operator = allows one to copy the contents of the class through a common = operator.
The = is passed to the derived class.
Definition at line 41 of file ossim2dTo2dShiftTransform.h.
References m_shift, and ossim2dTo2dTransform::operator=().
|
inlinevirtual |
Print the contents of the class and pass to the derived class.
Reimplemented from ossim2dTo2dTransform.
Definition at line 110 of file ossim2dTo2dShiftTransform.h.
References ossim2dTo2dTransform::print().
|
virtual |
Saves the state of this object.
Reimplemented from ossim2dTo2dTransform.
Definition at line 4 of file ossim2dTo2dShiftTransform.cpp.
References ossimKeywordlist::add(), m_shift, ossim2dTo2dTransform::saveState(), and ossimDpt::toString().
|
protected |
Definition at line 122 of file ossim2dTo2dShiftTransform.h.
Referenced by loadState(), operator=(), and saveState().
|
protected |
Definition at line 124 of file ossim2dTo2dShiftTransform.h.