#include <mi32/trans2dc.h>
Definition at line 608 of file trans2dc.h.
| TRANS2D_MAPGEN::TRANS2D_MAPGEN | ( | ) | [inline] |
| TRANS2D_MAPGEN::TRANS2D_MAPGEN | ( | const TRANS2D_MAPGEN & | rhs | ) | [inline] |
| TRANS2D_MAPGEN::TRANS2D_MAPGEN | ( | const TRANSPARM & | transparm | ) | [inline] |
| TRANS2D_MAPGEN::~TRANS2D_MAPGEN | ( | ) | [inline] |
| void TRANS2D_MAPGEN::Clear | ( | ) | [inline] |
Definition at line 663 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertForward | ( | const DRECT2D & | irect, | |
| DRECT2D & | orect, | |||
| int | sidepoints = 0 | |||
| ) | const [inline] |
Perform forward transformation on rectangle.
| irect | Input rectangle |
| orect | Output rectangle |
| sidepoints | Number of extra points along sides for interpolation |
Definition at line 701 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertForward | ( | const void * | ipoints, | |
| void * | opoints, | |||
| INT32 | NumPoints, | |||
| int | NumDim | |||
| ) | const [inline] |
Perform forward transformation on generic point array.
| ipoints | Input point array |
| opoints | Output point array |
| NumPoints | Number of points to convert |
| NumDim | Number of dimensions |
Definition at line 693 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertForward | ( | const DPOINT3D * | ipoints, | |
| DPOINT3D * | opoints, | |||
| INT32 | NumPoints | |||
| ) | const [inline] |
Perform forward transformation on DPOINT3D array.
| ipoints | Input point array |
| opoints | Output point array |
| NumPoints | Number of points to convert |
Definition at line 686 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertForward | ( | const DPOINT2D * | ipoints, | |
| DPOINT2D * | opoints, | |||
| INT32 | NumPoints | |||
| ) | const [inline] |
Perform forward transformation on DPOINT2D array.
| ipoints | Input point array |
| opoints | Output point array |
| NumPoints | Number of points to convert |
Definition at line 679 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertForward | ( | const DPOINT3D & | ipoint, | |
| DPOINT3D & | opoint | |||
| ) | const [inline] |
Perform forward transformation on DPOINT3D.
| ipoint | Input point |
| opoint | Output point |
Definition at line 673 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertForward | ( | const DPOINT2D & | ipoint, | |
| DPOINT2D & | opoint | |||
| ) | const [inline] |
Perform forward transformation on DPOINT2D.
| ipoint | Input point |
| opoint | Output point |
Definition at line 667 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertInverse | ( | const DRECT2D & | irect, | |
| DRECT2D & | orect, | |||
| int | sidepoints = 0 | |||
| ) | const [inline] |
Perform inverse transformation on rectangle.
| irect | Input rectangle |
| orect | Output rectangle |
| sidepoints | Number of extra points along sides for interpolation |
Definition at line 755 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertInverse | ( | const void * | ipoints, | |
| void * | opoints, | |||
| INT32 | NumPoints, | |||
| int | NumDim | |||
| ) | const [inline] |
Perform inverse transformation on generic point array.
| ipoints | Input point array |
| opoints | Output point array |
| NumPoints | Number of points to convert |
| NumDim | Number of dimensions |
Definition at line 747 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertInverse | ( | const DPOINT3D * | ipoints, | |
| DPOINT3D * | opoints, | |||
| INT32 | NumPoints | |||
| ) | const [inline] |
Perform inverse transformation on DPOINT3D array.
| ipoints | Input point array |
| opoints | Output point array |
| NumPoints | Number of points to convert |
Definition at line 740 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertInverse | ( | const DPOINT2D * | ipoints, | |
| DPOINT2D * | opoints, | |||
| INT32 | NumPoints | |||
| ) | const [inline] |
Perform inverse transformation on DPOINT2D array.
| ipoints | Input point array |
| opoints | Output point array |
| NumPoints | Number of points to convert |
Definition at line 733 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertInverse | ( | const DPOINT3D & | ipoint, | |
| DPOINT3D & | opoint | |||
| ) | const [inline] |
Perform inverse transformation on DPOINT3D.
| ipoint | Input point |
| opoint | Output point |
Definition at line 727 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertInverse | ( | const DPOINT2D & | ipoint, | |
| DPOINT2D & | opoint | |||
| ) | const [inline] |
Perform inverse transformation on DPOINT2D.
| ipoint | Input point |
| opoint | Output point |
Definition at line 721 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertMapToMapForward | ( | const DPOINT2D & | ipoint, | |
| DPOINT2D & | opoint | |||
| ) | const [inline] |
Convert from input map coordinates to output map coordinates.
| ipoint | Point to convert |
| opoint | Output point |
Definition at line 775 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertMapToMapInverse | ( | const DPOINT2D & | ipoint, | |
| DPOINT2D & | opoint | |||
| ) | const [inline] |
Convert from output map coordinates to input map coordinates.
| ipoint | Point to convert |
| opoint | Output point |
Definition at line 781 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::ConvertOutputToMap | ( | const DPOINT2D & | ipoint, | |
| DPOINT2D & | opoint | |||
| ) | const [inline] |
Convert from "output" to "map" coordinates.
| ipoint | Point to convert |
| opoint | Output point |
Definition at line 787 of file trans2dc.h.
| void TRANS2D_MAPGEN::CopyInputToInput | ( | const TRANS2D_MAPGEN & | itrans | ) | [inline] |
| void TRANS2D_MAPGEN::CopyInputToInput | ( | const TRANSPARM & | transparm | ) | [inline] |
Copy TRANSPARM "input" parameters to "input" parameters.
XXX throw an exception
Definition at line 793 of file trans2dc.h.
| void TRANS2D_MAPGEN::CopyInputToOutput | ( | const TRANS2D_MAPGEN & | itrans | ) | [inline] |
| void TRANS2D_MAPGEN::CopyInputToOutput | ( | const TRANSPARM & | transparm | ) | [inline] |
Copy TRANSPARM "input" parameters to "output" parameters.
XXX throw an exception
Definition at line 809 of file trans2dc.h.
| void TRANS2D_MAPGEN::CopyOutputToInput | ( | const TRANS2D_MAPGEN & | itrans | ) | [inline] |
| void TRANS2D_MAPGEN::CopyOutputToInput | ( | const TRANSPARM & | transparm | ) | [inline] |
Copy TRANSPARM "output" parameters to "input" parameters.
XXX throw an exception
Definition at line 825 of file trans2dc.h.
| void TRANS2D_MAPGEN::CopyOutputToOutput | ( | const TRANS2D_MAPGEN & | itrans | ) | [inline] |
| void TRANS2D_MAPGEN::CopyOutputToOutput | ( | const TRANSPARM & | transparm | ) | [inline] |
Copy TRANSPARM "output" parameters to "output" parameters.
XXX throw an exception
Definition at line 841 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::DisectForward | ( | const DPOINT2D & | point, | |
| double * | xscale, | |||
| double * | yscale, | |||
| double * | rotangle = 0, |
|||
| double * | shearangle = 0, |
|||
| double | size = 1.0 | |||
| ) | const [inline] |
Determine scale/rotation/shear at specified point for forward transformation.
| point | Reference point at which values will be computed |
| xscale | X scale returned (0 if don't need) |
| yscale | Y scale returned (0 if don't need) |
| rotangle | Rotation angle in radians returned (0 if don't need) |
| shearangle | Shear angle in radians returned (0 if don't need) |
| size | Size of area over which to compute values |
Definition at line 857 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::DisectInverse | ( | const DPOINT2D & | point, | |
| double * | xscale, | |||
| double * | yscale, | |||
| double * | rotangle = 0, |
|||
| double * | shearangle = 0, |
|||
| double | size = 1.0 | |||
| ) | const [inline] |
Determine scale/rotation/shear at specified point for inverse transformation.
| point | Reference point at which values will be computed |
| xscale | X scale returned (0 if don't need) |
| yscale | Y scale returned (0 if don't need) |
| rotangle | Rotation angle in radians returned (0 if don't need) |
| shearangle | Shear angle in radians returned (0 if don't need) |
| size | Size of area over which to compute values |
Definition at line 869 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::GetAffine | ( | TRANS2D_AFFINE & | trans | ) | const [inline] |
Get affine transformation if available.
Will return error if transformation is not affine.
| trans | Affine transformation |
Definition at line 889 of file trans2dc.h.
Get affine transformation if available.
Will return error if transformation is not affine.
| fwd | Forward transformation |
| inv | Inverse transformation |
Definition at line 882 of file trans2dc.h.
| const DOUBLE_ARRAY<CTRLPOINT3>& TRANS2D_MAPGEN::GetInputCtrlPoints | ( | ) | const [inline] |
| const SPATREF::COORDREFSYS& TRANS2D_MAPGEN::GetInputMapCoordRefSys | ( | ) | const [inline] |
| UINT16 TRANS2D_MAPGEN::GetInputModel | ( | ) | const [inline] |
| int TRANS2D_MAPGEN::GetInputTrans | ( | CTRLPOINT3 ** | ctrlpoint | ) | const [inline] |
Get input transformation as control points.
Will return number of points if any or error
Definition at line 918 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::GetInputTrans | ( | TRANS2D_AFFINE & | trans | ) | const [inline] |
Get input transformation as affine.
| trans | Affine transformation |
Definition at line 906 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::GetLocalAffine | ( | const DPOINT2D & | point, | |
| TRANS2D_AFFINE & | trans, | |||
| double | size = 1.0, |
|||
| UINT32 | flags = 0 | |||
| ) | const [inline] |
Get local affine transformation.
| trans | Affine transformation |
Definition at line 932 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::GetLocalAffine | ( | const DPOINT2D & | point, | |
| MAT3X3 | fwd, | |||
| MAT3X3 | inv, | |||
| double | size = 1.0, |
|||
| UINT32 | flags = 0 | |||
| ) | const [inline] |
Get local affine transformation.
| fwd | Forward transformation |
| inv | Inverse transformation |
Definition at line 923 of file trans2dc.h.
| const DOUBLE_ARRAY<CTRLPOINT3>& TRANS2D_MAPGEN::GetOutputCtrlPoints | ( | ) | const [inline] |
| const SPATREF::COORDREFSYS& TRANS2D_MAPGEN::GetOutputMapCoordRefSys | ( | ) | const [inline] |
| UINT16 TRANS2D_MAPGEN::GetOutputModel | ( | ) | const [inline] |
| int TRANS2D_MAPGEN::GetOutputTrans | ( | CTRLPOINT3 ** | ctrlpoint | ) | const [inline] |
Get output transformation as control points.
Will return number of points if any or error
Definition at line 964 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::GetOutputTrans | ( | TRANS2D_AFFINE & | trans | ) | const [inline] |
Get output transformation as affine.
| trans | Affine transformation |
Definition at line 952 of file trans2dc.h.
| const TRANSPARM& TRANS2D_MAPGEN::GetTransParm | ( | ) | const [inline] |
Definition at line 968 of file trans2dc.h.
| bool TRANS2D_MAPGEN::IsAffine | ( | ) | const [inline] |
| bool TRANS2D_MAPGEN::IsIdentity | ( | void | ) | const [inline] |
| bool TRANS2D_MAPGEN::IsInputTransIdentity | ( | ) | const [inline] |
| bool TRANS2D_MAPGEN::IsOutputTransIdentity | ( | ) | const [inline] |
| bool TRANS2D_MAPGEN::IsReversible | ( | ) | const [inline] |
| TRANS2D_MAPGEN::operator const TRANSPARM * | ( | ) | const [inline] |
| TRANS2D_MAPGEN& TRANS2D_MAPGEN::operator= | ( | const TRANSPARM & | rhs | ) | [inline] |
| TRANS2D_MAPGEN& TRANS2D_MAPGEN::operator= | ( | const TRANS2D_MAPGEN & | rhs | ) | [inline] |
| ERRVALUE TRANS2D_MAPGEN::SetAffineApproximation | ( | const DRECT2D & | rect, | |
| double | tolerance, | |||
| UINT32 | coord | |||
| ) | [inline] |
Set full transformation to approximated affine if within specified tolerance.
The approximate affine transformation will be retained until the next "Set" method is used at which time the transformation will revert to its "exact" mode (which may also be affine).
| rect | Rectangle over which transformation is to be used |
| tolerance | Tolerance in opposite coordinates from rectangle |
| coord | Coordinates of rectangle (XXX change to enum) |
Definition at line 994 of file trans2dc.h.
| void TRANS2D_MAPGEN::SetExtrapolation | ( | bool | extrapolate | ) | [inline] |
Set whether to perform extrapolation outside specified bounds.
If extrapolation is not enabled then an exception -may- occur if and attempt is made to convert points outside the previously-specified input/output bounds. This is the default condition and will generally be much faster than extrapolating.
| extrapolate | Perform extrapolation if true, don't extrapolate if false |
Definition at line 1004 of file trans2dc.h.
| void TRANS2D_MAPGEN::SetFullTransAffine | ( | const TRANS2D_AFFINE & | trans | ) | [inline] |
Set entire transformation as affine.
| trans | Affine transformation |
Definition at line 1009 of file trans2dc.h.
Set boundaries for valid transformation in input coordinates.
| boundrect | Bounding rectangle in input coordinates |
Definition at line 1014 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::SetInputMapCoordRefSys | ( | const SPATREF::COORDREFSYS & | MapCRS | ) | [inline] |
Set input map coordinate reference system.
| MapCRS | Map coordinate reference system |
Definition at line 1027 of file trans2dc.h.
| void TRANS2D_MAPGEN::SetInputMaxError | ( | double | maxerror | ) | [inline] |
Set maximum error for point densification in input coordinates.
| maxerror | Maximum error value to set |
Definition at line 1019 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::SetInputTrans | ( | const CTRLPOINT3 * | CtrlPoint, | |
| INT32 | NumPoints, | |||
| UINT16 | Model | |||
| ) | [inline] |
Set input transformation from control point array.
| CtrlPoint | Control point array |
| NumPoints | Number of control points |
| Model | Transformation model |
Definition at line 1043 of file trans2dc.h.
Set input transformation as affine.
| fwd | Forward transformation |
| inv | Inverse transformation |
Definition at line 1037 of file trans2dc.h.
| void TRANS2D_MAPGEN::SetInputTrans | ( | const TRANS2D_AFFINE & | trans | ) | [inline] |
Set input transformation as affine.
| trans | Affine transformation |
Definition at line 1032 of file trans2dc.h.
| void TRANS2D_MAPGEN::SetInputTransIdentity | ( | ) | [inline] |
| void TRANS2D_MAPGEN::SetMaxVertices | ( | INT32 | MaxVertices | ) | [inline] |
Set maximum number of vertices to insert if densifying points.
Definition at line 1054 of file trans2dc.h.
Set boundaries for valid transformation in output coordinates.
| boundrect | Bounding rectangle in output coordinates |
Definition at line 1059 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::SetOutputMapCoordRefSys | ( | const SPATREF::COORDREFSYS & | MapCRS | ) | [inline] |
Set output map coordinate reference system.
| MapCRS | Map coordinate reference system |
Definition at line 1072 of file trans2dc.h.
| void TRANS2D_MAPGEN::SetOutputMaxError | ( | double | maxerror | ) | [inline] |
Set maximum error for point densification in output coordinates.
| maxerror | Maximum error value to set |
Definition at line 1064 of file trans2dc.h.
| ERRVALUE TRANS2D_MAPGEN::SetOutputTrans | ( | const CTRLPOINT3 * | CtrlPoint, | |
| INT32 | NumPoints, | |||
| UINT16 | Model | |||
| ) | [inline] |
Set output transformation from control point array.
| CtrlPoint | Control point array |
| NumPoints | Number of control points |
| Model | Transformation model |
Definition at line 1088 of file trans2dc.h.
| void TRANS2D_MAPGEN::SetOutputTrans | ( | const TRANS2D_AFFINE & | trans | ) | [inline] |
Set output transformation as affine.
| trans | Affine transformation |
Definition at line 1077 of file trans2dc.h.
| void TRANS2D_MAPGEN::SetOutputTransIdentity | ( | ) | [inline] |
| void TRANS2D_MAPGEN::SetPrimaryDirection | ( | DIRECTION | direction | ) | [inline] |
Set primary transformation direction.
The default transformation direction if not set explicitly is "forward". This method is used in cases where the time