Manages the different sections and values in the TRANS2DMODEL enum. More...
#include <mi32/transmod.h>
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) |
Manages the different sections and values in the TRANS2DMODEL enum.
Its main goal is to hide the bit twiddling that the TRANS2DMODEL variable requires.
| enum TRANSMODEL::FLAGS |
| enum TRANSMODEL::TYPE |
Translation model type, based off of TRANS2DMODEL values.
| 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.
| FLAGS TRANSMODEL::GetFlags | ( | ) | const [inline] |
Obtain TRANSMODEL flags.
| TRANS2DMODEL TRANSMODEL::GetModel | ( | ) | const [inline] |
Obtain old translation model combined value.
| void TRANSMODEL::GetName | ( | MISTRING & | name | ) | const |
Get model name.
| UINT16 TRANSMODEL::GetOrder | ( | ) | const [inline] |
Obtain translation model order.
| TYPE TRANSMODEL::GetType | ( | ) | const [inline] |
Obtain translation model type.
| bool TRANSMODEL::Is3D | ( | ) | const [inline] |
Determine if translation model is 3D.
| bool TRANSMODEL::IsOrientInvert | ( | ) | const [inline] |
Determine translation model orientation.
| bool TRANSMODEL::IsPiecewise | ( | ) | const [inline] |
Determine if translation model is piecewise.
| 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.
1.6.1