Manages RVC::OBJTYPE_Georeference RVC objects. More...
#include <rvc/georefer.h>

Manages RVC::OBJTYPE_Georeference RVC objects.
RVC Object Types that this class supports: RVC::OBJTYPE_Georeference.
Valid parents for this class:
Read() and Write() methods inherited from RVC::SIMPLE class. View RVC::SIMPLE docs for inherited methods
| RVC::GEOREFERENCE::GEOREFERENCE | ( | ) |
Default Constructor.
| RVC::GEOREFERENCE::GEOREFERENCE | ( | const RVC::GEOREFERENCE & | rhs | ) |
Copy Constructor.
| virtual RVC::GEOREFERENCE::~GEOREFERENCE | ( | ) | [virtual] |
Destructor.
| INT32 RVC::GEOREFERENCE::AddBoundary | ( | const SIMPLE_ARRAY< INT32 > & | Boundary | ) |
Add a georeference boundary control point array to the list of boundary control point arrays Only works for extented georeference objects.
| INT32 RVC::GEOREFERENCE::AddCtrlPoint | ( | const CTRLPOINT3 & | CtrlPoint | ) |
Add a georeference control point to the list of control points Works for either basic or extented georeference objects.
| INT32 RVC::GEOREFERENCE::AddCtrlPointEdge | ( | const CTRLPTEDGE & | CtrlPtEdge | ) |
Add a georeference control point edge entry to the list of control points edge entries Only works for extented georeference objects.
| ERRVALUE RVC::GEOREFERENCE::ClearBoundaries | ( | ) |
Clear out all georeference control point array entries Only works for extented georeference objects.
| ERRVALUE RVC::GEOREFERENCE::ClearCtrlPointEdges | ( | ) |
Clear out all georeference control point edge entries Only works for extented georeference objects.
| ERRVALUE RVC::GEOREFERENCE::ClearCtrlPoints | ( | ) |
Clear out all georeference control point entries Works for either basic or extented georeference objects.
| ERRVALUE RVC::GEOREFERENCE::ConvertForward | ( | const TRANS2D_MAPGEN & | tmg | ) |
Convert control point list 'source' coordinates using an TRANS2D_MAPGEN transformation Only works for internally stored ctrl point lists, does not affect disabled ctrl points.
| ERRVALUE RVC::GEOREFERENCE::ConvertForward | ( | const TRANS2D_AFFINE & | Affine | ) |
Convert control point list 'source' coordinates using an affine transformation Only works for internally stored ctrl point lists, does not affect disabled ctrl points.
| ERRVALUE RVC::GEOREFERENCE::ConvertInverse | ( | const TRANS2D_MAPGEN & | tmg | ) |
Convert control point list 'source' coordinates using an TRANS2D_MAPGEN transformation Only works for internally stored ctrl point lists, does not affect disabled ctrl points.
| ERRVALUE RVC::GEOREFERENCE::ConvertInverse | ( | const TRANS2D_AFFINE & | Affine | ) |
Convert control point list 'source' coordinates using an affine transformation Only works for internally stored ctrl point lists, does not affect disabled ctrl points.
| ERRVALUE RVC::GEOREFERENCE::ConvertToExtended | ( | ) |
Convert a basic georeference object to an extented georeference object Only works for basic georeference objects.
Delete a control point at the location specified Maintains the order of the control point list Works for either basic or extented georeference objects.
Delete a control point edge entry at the location specified Maintains the order of the control point edge list Only works for extented georeference objects.
| const TRANS2D_AFFINE& RVC::GEOREFERENCE::GetAffineMatrix | ( | ) | const |
Get georeference affine matrix.
Only value if GetGeorefType() == GEOREFTYPE_AffineMatrix
| TRANSMODEL RVC::GEOREFERENCE::GetCalibModel | ( | ) | const |
Obtain the calibration / translation model from the rvc georeference object.
| const SPATREF::COORDREFSYS& RVC::GEOREFERENCE::GetCoordRefSys | ( | ) | const |
Get georeference Coordinate reference system parameters.
| GEOREFTYPE RVC::GEOREFERENCE::GetGeorefType | ( | ) | const |
Obtain the georeference type.
| ERRVALUE RVC::GEOREFERENCE::GetMapTrans | ( | TRANS2D_MAPGEN & | tmg, | |
| bool | DoOutput = false, |
|||
| TRANSMODEL | model = 0 | |||
| ) | const |
Generate a TRANS2D_MAPGEN from the georeference instance.
| tmg | Generic transformation generated and RETURNED | |
| DoOutput | Place transformation on output side if true | |
| model | Translation model, zero sets up the default model |
| INT32 RVC::GEOREFERENCE::GetNumBoundaries | ( | ) |
Get the number of boundary control point array items Only works for extented georeference objects.
| INT32 RVC::GEOREFERENCE::GetNumCtrlPointEdges | ( | ) |
Get the number of control points edge entries Only works for extented georeference objects.
| INT32 RVC::GEOREFERENCE::GetNumCtrlPoints | ( | ) |
Get the number of control points Works for either basic or extented georeference objects.
| ERRVALUE RVC::GEOREFERENCE::GetPointList | ( | SIMPLE_ARRAY< CTRLPOINT3 > & | CtrlList | ) | const |
Generate a control point list from the georeference This method will generate control points if the georeference is not a control point georeference.
| CtrlList | Control point list allocated and returned |
| ERRVALUE RVC::GEOREFERENCE::InsertCtrlPoint | ( | INT32 | CtrlPointNum, | |
| const CTRLPOINT3 & | CtrlPoint | |||
| ) |
Insert a control point at the location specified Maintains the order of the control point list Works for either basic or extented georeference objects.
| ERRVALUE RVC::GEOREFERENCE::InsertCtrlPointEdge | ( | INT32 | CtrlPointEdgeNum, | |
| const CTRLPTEDGE & | CtrlPtEdge | |||
| ) |
Insert a control point edge entry at the location specified Maintains the order of the control point edge list Works for extented georeference objects only.
| bool RVC::GEOREFERENCE::IsBasicFormat | ( | ) |
Determine if the georeference object is basic or extented.
| bool RVC::GEOREFERENCE::IsCtrlPointEnabled | ( | INT32 | CtrlPointIndex | ) |
Determine if the referenced control point is enabled Works for either basic or extented georeference objects.
Standard georeference objects always return 'true'
| bool RVC::GEOREFERENCE::IsEquivalentTo | ( | const RVC::GEOREFERENCE & | GeorefObj | ) | const |
Determine if the two georeference objects are equivalent.
| RVC::GEOREFERENCE& RVC::GEOREFERENCE::operator= | ( | const RVC::GEOREFERENCE & | rhs | ) |
Assignment.
Reimplemented from RVC::SIMPLE.
| ERRVALUE RVC::GEOREFERENCE::ReadBoundary | ( | INT32 | BoundaryIndex, | |
| SIMPLE_ARRAY< INT32 > & | Boundary | |||
| ) |
Read a specific georeference boundary control point array entry Only works for extented georeference objects.
| ERRVALUE RVC::GEOREFERENCE::ReadCtrlPoint | ( | INT32 | CtrlPointIndex, | |
| CTRLPOINT3 & | CtrlPoint | |||
| ) |
Read a specific georeference control point Works for either basic or extented georeference objects.
| ERRVALUE RVC::GEOREFERENCE::ReadCtrlPointEdge | ( | INT32 | CtrlPointEdgeIndex, | |
| CTRLPTEDGE & | CtrlPtEdge | |||
| ) |
Read a specific georeference control point edge entry Only works for extented georeference objects.
Read a specific georeference control point ID entry Enhanced georeference objects can store an ID value associated with the control point Only works for extented georeference objects.
Read a specific georeference control point name entry Enhanced georeference objects can store a name value associated with the control point Only works for extented georeference objects.
Set the number of control point edge entries Only works for extented georeference objects.
Set the number of control points Works for either basic or extented georeference objects.
| void RVC::GEOREFERENCE::SetAffine | ( | const TRANS2D_AFFINE & | taf | ) |
Set georeference to be an affine transformation.
| taf | Affine transformation to set in georeference |
| void RVC::GEOREFERENCE::SetCalibModel | ( | const TRANSMODEL & | model | ) |
Set calibration model.
| model | Calibration / translation model to use |
| ERRVALUE RVC::GEOREFERENCE::SetCoordRefSys | ( | const SPATREF::COORDREFSYS & | CoordRefSys | ) |
Set georeference Coordinate reference system parameters.
| CoordRefSys | Coordinate reference system parameters to use |
Set the specified control point to be enabled or disabled Only works for extented georeference objects.
| void RVC::GEOREFERENCE::SetImplied | ( | ) |
Set georeference to be an implied transformation.
| void RVC::GEOREFERENCE::SetManifold | ( | ) |
Set georeference to be a Manifold georeference.
| ERRVALUE RVC::GEOREFERENCE::SetPointList | ( | const CTRLPOINT3 * | CtrlPtList, | |
| int | NumCtrlPts | |||
| ) |
Set georeference to be an control point transformation.
| CtrlPtList | Control point list to use | |
| NumCtrlPts | Number of control points |
| ERRVALUE RVC::GEOREFERENCE::SetPointList | ( | const SIMPLE_ARRAY< CTRLPOINT3 > & | CtrlList | ) |
Set georeference to be an control point transformation.
| CtrlList | Control point list to use |
| ERRVALUE RVC::GEOREFERENCE::WriteBoundary | ( | INT32 | BoundaryIndex, | |
| const SIMPLE_ARRAY< INT32 > & | Boundary | |||
| ) |
Write a specific georeference boundary control point array entry Only works for extented georeference objects.
| ERRVALUE RVC::GEOREFERENCE::WriteCtrlPoint | ( | INT32 | CtrlPointIndex, | |
| const CTRLPOINT3 & | CtrlPoint | |||
| ) |
Write a specific georeference control point.
Use AddCtrlPoint() to add control points to the list Works for either basic or extented georeference objects.
| ERRVALUE RVC::GEOREFERENCE::WriteCtrlPointEdge | ( | INT32 | CtrlPointEdgeIndex, | |
| const CTRLPTEDGE & | CtrlPtEdge | |||
| ) |
Write a specific georeference control point edge entry Only works for extented georeference objects.
Write a specific georeference control point name entry Enhanced georeference objects can store an ID value associated with the control point Only works for extented georeference objects.
| ERRVALUE RVC::GEOREFERENCE::WriteCtrlPointName | ( | INT32 | CtrlPointIndex, | |
| const MISTRING & | CtrlPointName | |||
| ) |
Write a specific georeference control point name entry Enhanced georeference objects can store a name value associated with the control point Only works for extented georeference objects.
1.6.1