TRANSMODEL Class Reference

Manages the different sections and values in the TRANS2DMODEL enum. More...

#include <mi32/transmod.h>

List of all members.

Public Types

enum  FLAGS { FLAGS_None = 0, FLAGS_OrientInvert = TRANS2DMODEL_OrientInvert, FLAGS_Piecewise = TRANS2DMODEL_Piecewise, FLAGS_3D = TRANS2DMODEL_3D }
enum  TYPE {
  TYPE_None = 0, TYPE_Affine = 1, TYPE_PlaneProj, TYPE_Bilinear,
  TYPE_Polynomial, TYPE_Quintic, TYPE_SpaceResect, TYPE_Conformal,
  TYPE_RubberSheet, TYPE_RationalPolynomial
}

Public Member Functions

 TRANSMODEL (TYPE dfttype)
 TRANSMODEL (UINT16 model)
 TRANSMODEL (TRANS2DMODEL model)
 TRANSMODEL ()
FLAGS GetFlags () const
TRANS2DMODEL GetModel () const
void GetName (MISTRING &name) const
UINT16 GetOrder () const
TYPE GetType () const
bool Is3D () const
bool IsOrientInvert () const
bool IsPiecewise () const
void SetFlags (FLAGS flags)
void SetModel (UINT16 model)
void SetModel (TRANS2DMODEL model)
void SetOrder (UINT16 order)
void SetType (TYPE type)

Detailed Description

Manages the different sections and values in the TRANS2DMODEL enum.

Its main goal is to hide the bit twiddling that the TRANS2DMODEL variable requires.


Member Enumeration Documentation

Enumerator:
FLAGS_None 

Translation model flags.

FLAGS_OrientInvert 
FLAGS_Piecewise 
FLAGS_3D 

Translation model type, based off of TRANS2DMODEL values.

Enumerator:
TYPE_None 
TYPE_Affine 

Affine.

TYPE_PlaneProj 

Plane-projective.

TYPE_Bilinear 
TYPE_Polynomial 
TYPE_Quintic 
TYPE_SpaceResect 

Space resection (aerial photography).

TYPE_Conformal 

Conformal transformation.

TYPE_RubberSheet 

"Rubber Sheeting" or "Morphing" model

TYPE_RationalPolynomial 

Constructor & Destructor Documentation

TRANSMODEL::TRANSMODEL (  )  [inline]

Default constructor.

TRANSMODEL::TRANSMODEL ( TRANS2DMODEL  model  )  [inline]

Construct using TRANS2DMODEL.

TRANSMODEL::TRANSMODEL ( UINT16  model  )  [inline]

Construct using legacy UINT16 model.

TRANSMODEL::TRANSMODEL ( TYPE  dfttype  )  [inline]

Constructor with type.


Member Function Documentation

FLAGS TRANSMODEL::GetFlags (  )  const [inline]

Obtain TRANSMODEL flags.

Returns:
: TRANSMODEL::FLAGS.
TRANS2DMODEL TRANSMODEL::GetModel (  )  const [inline]

Obtain old translation model combined value.

Returns:
: Translation model combined value.
void TRANSMODEL::GetName ( MISTRING name  )  const

Get model name.

UINT16 TRANSMODEL::GetOrder (  )  const [inline]

Obtain translation model order.

Returns:
: Translation model order.
TYPE TRANSMODEL::GetType (  )  const [inline]

Obtain translation model type.

Returns:
: Translation model type.
bool TRANSMODEL::Is3D (  )  const [inline]

Determine if translation model is 3D.

Returns:
: True if translation model is 3D, false if not.
bool TRANSMODEL::IsOrientInvert (  )  const [inline]

Determine translation model orientation.

Returns:
: True if translation model inverted, false if not
bool TRANSMODEL::IsPiecewise (  )  const [inline]

Determine if translation model is piecewise.

Returns:
: True if translation model is piecewise, false if not
void TRANSMODEL::SetFlags ( FLAGS  flags  )  [inline]

Set translation model flags.

void TRANSMODEL::SetModel ( UINT16  model  )  [inline]

Set translation model using legacy UINT16 value.

void TRANSMODEL::SetModel ( TRANS2DMODEL  model  )  [inline]

Set translation model TRANS2DMODEL value.

void TRANSMODEL::SetOrder ( UINT16  order  )  [inline]

Set translation model order.

void TRANSMODEL::SetType ( TYPE  type  )  [inline]

Set translation model type.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:33:57 2012 for TNTsdk 2012 by  doxygen 1.6.1