#include <mi32/ctrlpt.h>
#include <mi32/stddefns.h>
Include dependency graph for transgen.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | TRANSPARM |
Defines | |
| #define | GEOMLIBEXPORT MI_DLLIMPORT |
| #define | TRANSDIR_Forward 0 |
| #define | TRANSDIR_Inverse 1 |
| #define | TRANSGENCOORD_Input 0x00000001 |
| #define | TRANSGENCOORD_Output 0x00000002 |
| #define | TRANSGENCOORD_External 0x00000004 |
| #define | TRANSGENCOORD_Map 0x00000008 |
Typedefs | |
| typedef int(* | TRANSFUNC )(void *, void *, int, int, void *) |
Functions | |
| GEOMLIBEXPORT int | DisectGen2D (const DPOINT2D *point, double size, double *xscale, double *yscale, double *rotangle, double *shearangle, TRANSFUNC transfunc, void *transfuncdata) |
| GEOMLIBEXPORT int | TransGenConvPointFwd (const TRANSPARM *transparm, const DPOINT2D *ipoint, DPOINT2D *opoint) |
| GEOMLIBEXPORT int | TransGenConvPointInv (const TRANSPARM *transparm, const DPOINT2D *ipoint, DPOINT2D *opoint) |
| GEOMLIBEXPORT int | TransGenConvPointInputToMap (const TRANSPARM *transparm, const DPOINT2D *ipoint, DPOINT2D *opoint) |
| GEOMLIBEXPORT int | TransGenConvPointMapToInput (const TRANSPARM *transparm, const DPOINT2D *ipoint, DPOINT2D *opoint) |
| GEOMLIBEXPORT int | TransGenConvPointMapToMapFwd (const TRANSPARM *transparm, const DPOINT2D *ipoint, DPOINT2D *opoint) |
| GEOMLIBEXPORT int | TransGenConvPointMapToMapInv (const TRANSPARM *transparm, const DPOINT2D *ipoint, DPOINT2D *opoint) |
| GEOMLIBEXPORT int | TransGenConvPointMapToOutput (const TRANSPARM *transparm, const DPOINT2D *ipoint, DPOINT2D *opoint) |
| GEOMLIBEXPORT int | TransGenConvPointOutputToMap (const TRANSPARM *transparm, const DPOINT2D *ipoint, DPOINT2D *opoint) |
| GEOMLIBEXPORT int | TransGenConvPointSetFwd (const TRANSPARM *transparm, const double *ipoint, INT32 iNumPoints, int NumDim, double *opoint) |
| GEOMLIBEXPORT int | TransGenConvPointSetInv (const TRANSPARM *transparm, const double *ipoint, INT32 iNumPoints, int NumDim, double *opoint) |
| GEOMLIBEXPORT int | TransGenConvPointsFwd (const TRANSPARM *transparm, const double *ipoint, INT32 iNumPoints, int NumDim, double **opoint, INT32 *) |
| GEOMLIBEXPORT int | TransGenConvPointsInv (const TRANSPARM *transparm, const double *ipoint, INT32 iNumPoints, int NumDim, double **opoint, INT32 *) |
| GEOMLIBEXPORT int | TransGenConvRectFwd (const TRANSPARM *transparm, const DRECT2D *irect, DRECT2D *orect, int sidepoints) |
| GEOMLIBEXPORT int | TransGenConvRectInv (const TRANSPARM *transparm, const DRECT2D *irect, DRECT2D *orect, int sidepoints) |
| GEOMLIBEXPORT int | TransGenCopy (TRANSPARM *otp, const TRANSPARM *itp) |
| GEOMLIBEXPORT int | TransGenCopyInputParms (TRANSPARM *dtransparm, const TRANSPARM *stransparm) |
| GEOMLIBEXPORT int | TransGenCopyInputToOutput (TRANSPARM *dtransparm, const TRANSPARM *stransparm) |
| GEOMLIBEXPORT int | TransGenCopyOutputParms (TRANSPARM *dtransparm, const TRANSPARM *stransparm) |
| GEOMLIBEXPORT int | TransGenCopyOutputToInput (TRANSPARM *dtransparm, const TRANSPARM *stransparm) |
| GEOMLIBEXPORT int | TransGenDisectFwd (const TRANSPARM *transparm, const DPOINT2D *point, double size, double *xscale, double *yscale, double *rotangle, double *shearangle) |
| GEOMLIBEXPORT int | TransGenDisectInv (const TRANSPARM *transparm, const DPOINT2D *point, double size, double *xscale, double *yscale, double *rotangle, double *shearangle) |
| GEOMLIBEXPORT void | TransGenFreeParm (TRANSPARM *transparm) |
| GEOMLIBEXPORT void | TransGenFreePoints (TRANSPARM *transparm) |
| GEOMLIBEXPORT int | TransGenGetAffine (const TRANSPARM *transparm, MAT3X3 ItoO, MAT3X3 OtoI) |
| GEOMLIBEXPORT int | TransGenGetAffineLocal (const TRANSPARM *transparm, const DPOINT2D *point, double size, MAT3X3 ItoO, MAT3X3 OtoI, UINT32 flags) |
| GEOMLIBEXPORT UINT16 | TransGenGetInputModel (const TRANSPARM *tp) |
| GEOMLIBEXPORT MAPPROJPARM * | TransGenGetInputProj (const TRANSPARM *transparm, MAPPROJPARM *projparm) |
| GEOMLIBEXPORT int | TransGenGetInputTransAffine (const TRANSPARM *transparm, MAT3X3 ItoO, MAT3X3 OtoI) |
| GEOMLIBEXPORT int | TransGenGetNumPieces (const TRANSPARM *tp, UINT32 flags) |
| GEOMLIBEXPORT UINT16 | TransGenGetOutputModel (const TRANSPARM *tp) |
| GEOMLIBEXPORT MAPPROJPARM * | TransGenGetOutputProj (const TRANSPARM *transparm, MAPPROJPARM *projparm) |
| GEOMLIBEXPORT int | TransGenGetOutputTransAffine (const TRANSPARM *transparm, MAT3X3 ItoO, MAT3X3 OtoI) |
| GEOMLIBEXPORT int | TransGenGetPiece (const TRANSPARM *tp, int piecenum, DPOINT2D **points, int *numpoints, UINT32 flags) |
| GEOMLIBEXPORT int | TransGenInit (TRANSPARM *transparm) |
| bool | TransGenIsAffine (const TRANSPARM *transparm) |
| GEOMLIBEXPORT int | TransGenIsFlipped (const TRANSPARM *tp, const DPOINT2D *pt, bool fwd=true) |
| bool | TransGenIsInitialized (const TRANSPARM *transparm) |
| bool | TransGenIsIdentity (const TRANSPARM *transparm) |
| bool | TransGenIsReversible (const TRANSPARM *transparm) |
| GEOMLIBEXPORT int | TransGenSetAffineApprox (TRANSPARM *transparm, const DRECT2D *rect, double tolerance, UINT32 flags) |
| GEOMLIBEXPORT void | TransGenSetDoInsert (TRANSPARM *transparm, UINT8 doinsert) |
| GEOMLIBEXPORT void | TransGenSetExtrapOutside (TRANSPARM *transparm, UINT8 extrapoutside) |
| GEOMLIBEXPORT int | TransGenSetFullTransAffine (TRANSPARM *transparm, const MAT3X3 ItoO, const MAT3X3 OtoI) |
| GEOMLIBEXPORT ERRVALUE | TransGenSetInputBound (TRANSPARM *transparm, const DRECT2D *boundrect) |
| GEOMLIBEXPORT void | TransGenSetInputInsertMaxError (TRANSPARM *transparm, double MaxError) |
| GEOMLIBEXPORT ERRVALUE | TransGenSetInputProj (TRANSPARM *transparm, const MAPPROJPARM *projparm) |
| GEOMLIBEXPORT ERRVALUE | TransGenSetInputProjHandle (TRANSPARM *transparm, void *gctphandle) |
| GEOMLIBEXPORT int | TransGenSetInputTransAffine (TRANSPARM *transparm, const MAT3X3 ItoM, const MAT3X3 MtoI) |
| GEOMLIBEXPORT ERRVALUE | TransGenSetInputTransCtrlPoint (TRANSPARM *transparm, const CTRLPOINT3 *ctrlpoint, int NumPoints, UINT16 transmodel) |
| GEOMLIBEXPORT int | TransGenSetInputTransIdentity (TRANSPARM *transparm) |
| GEOMLIBEXPORT void | TransGenSetMaxInsertVertices (TRANSPARM *transparm, int MaxVertices) |
| GEOMLIBEXPORT ERRVALUE | TransGenSetOutputBound (TRANSPARM *transparm, const DRECT2D *boundrect) |
| GEOMLIBEXPORT void | TransGenSetOutputInsertMaxError (TRANSPARM *transparm, double MaxError) |
| GEOMLIBEXPORT ERRVALUE | TransGenSetOutputProj (TRANSPARM *transparm, const MAPPROJPARM *projparm) |
| GEOMLIBEXPORT ERRVALUE | TransGenSetOutputProjHandle (TRANSPARM *transparm, void *gctphandle) |
| GEOMLIBEXPORT int | TransGenSetOutputTransAffine (TRANSPARM *transparm, const MAT3X3 OtoM, const MAT3X3 MtoO) |
| GEOMLIBEXPORT ERRVALUE | TransGenSetOutputTransCtrlPoint (TRANSPARM *transparm, const CTRLPOINT3 *ctrlpoint, int NumPoints, UINT16 transmodel) |
| GEOMLIBEXPORT int | TransGenSetOutputTransIdentity (TRANSPARM *transparm) |
| GEOMLIBEXPORT void | TransGenSetPrimaryDirection (TRANSPARM *transparm, UINT8 directions) |
| GEOMLIBEXPORT ERRVALUE | TransGenSetupObjProjTrans (TRANSPARM *transparm, MAT3X3 AtoM, MAT3X3 MtoA, MAPPROJPARM *Aprojparm, MAT3X3 BtoM, MAT3X3 MtoB, MAPPROJPARM *Bprojparm) |
| GEOMLIBEXPORT ERRVALUE | TransGenTransFuncFwd (void *ipoint, void *opoint, int numpoints, int numdim, void *vtp) |
| GEOMLIBEXPORT ERRVALUE | TransGenTransFuncInv (void *ipoint, void *opoint, int numpoints, int numdim, void *vtp) |
| GEOMLIBEXPORT void | TransGenUpdate (TRANSPARM *transparm) |
| int | DisectGen2D (const DPOINT2D_OLD *point, double size, double *xscale, double *yscale, double *rotangle, double *shear, TRANSFUNC transfunc, void *transdata) |
Definition in file transgen.h.
|
|
Definition at line 163 of file transgen.h. |
|
|
Definition at line 207 of file transgen.h. |
|
|
Definition at line 208 of file transgen.h. |
|
|
Definition at line 213 of file transgen.h. |
|
|
Definition at line 211 of file transgen.h. |
|
|
Definition at line 214 of file transgen.h. |
|
|
Definition at line 212 of file transgen.h. |
|
|
Definition at line 169 of file transgen.h. |
|
||||||||||||||||||||||||||||||||||||
|
Disect a transformation into component parts (scale, rotation, shear).
Definition at line 827 of file transgen.h. |
|
||||||||||||||||||||||||||||||||||||
|
Disect a transformation into component parts (scale, rotation, shear). #include <mi32/geom2d.h> This function is used to compute the affine transformation parameters above at a given point for a general transformation function.
|
|
||||||||||||||||
|
Transform single point from "input" to "output" coordinates.
|
|
||||||||||||||||
|
Transform single point from "input" to map coordinates.
|
|
||||||||||||||||
|
Transform single point from "output" to "input" coordinates.
|
|
||||||||||||||||
|
Transform single point from map to "input" coordinates.
|
|
||||||||||||||||
|
Transform single point from input map coordinates to output map coordinates.
|
|
||||||||||||||||
|
Transform single point from output map coordinates to input map coordinates.
|
|
||||||||||||||||
|
Transform single point from map to "output" coordinates.
|
|
||||||||||||||||
|
Transform single point from "output" to map coordinates.
|
|
||||||||||||||||||||||||
|
Transform N-dimensional point "set" from "input" to "output" coordinates.
|
|
||||||||||||||||||||||||
|
Transform N-dimensional point "set" from "output" to "input" coordinates.
|
|
||||||||||||||||||||||||||||
|
Transform N-dimensional point array from "input" to "output" coordinates.
|
|
||||||||||||||||||||||||||||
|
Transform N-dimensional point array from "output" to "input" coordinates.
|
|
||||||||||||||||||||
|
Transform rectangle (DRECT2D) from "input" to "output" coordinates.
|
|
||||||||||||||||||||
|
Transform rectangle (DRECT2D) from "output" to "input" coordinates.
|
|
||||||||||||
|
Copy one TRANSPARM to another.
|
|
||||||||||||
|
Copy "input parameters" from on TRANSPARM structure to another.
|
|
||||||||||||
|
Copy "input parameters" from one TRANSPARM to "output parameters" of another.
|
|
||||||||||||
|
Copy "output parameters" from one TRANSPARM to another.
|
|
||||||||||||
|
Copy "output parameters" from one TRANSPARM to "input parameters" of another.
|
|
||||||||||||||||||||||||||||||||
|
Determine scale/rotation/shear at specified point for forward transformation.
|
|
||||||||||||||||||||||||||||||||
|
Determine scale/rotation/shear at specified point for inverse transformation.
|
|
|
Free all allocated entried in the TRANSPARM structure.
|
|
|
Free output point array in the TRANSPARM structure.
|
|
||||||||||||||||
|
Get affine (Mat3x3) transformation if available.
|
|
||||||||||||||||||||||||||||
|
Determine affine transformation at specified point. return Error code < 0 The flags value determines if the specified point is in "input" or "output" coordinates.
|
|
|
Get input transformation model.
|
|
||||||||||||
|
Get "input projection parameters" from TRANSPARM.
|
|
||||||||||||||||
|
Get input object-map affine transformation if possible.
|
|
||||||||||||
|
Get number of "pieces" for piecewise transformations.
|
|
|
Get output transformation model.
|
|
||||||||||||
|
Get "output projection parameters" from TRANSPARM.
|
|
||||||||||||||||
|
Get outpu object-map affine transformation if possible.
|
|
||||||||||||||||||||||||
|
Return array of points defining "piece" for piecewise transformation.
|
|
|
Initialize TRANSPARM structure.
|
|
|
Determine if transformation is "affine".
Definition at line 574 of file transgen.h. |
|
||||||||||||||||
|
Determine if transformation results in change between right-hand and left-hand system.
|
|
|
Determine if transformation is "identity".
Definition at line 601 of file transgen.h. |
|
|
Determine if transformation has been "initialized".
Definition at line 592 of file transgen.h. |
|
|
Determine if transformation is reversible.
Definition at line 610 of file transgen.h. |
|
||||||||||||||||||||
|
Set full transformation to approximated affine if within tolerance.
|
|
||||||||||||
|
Set whether to insert new points when doing TransGenConvPoints...().
|
|
||||||||||||
|
Set whether or not to extrapolate points outside defined boundaries. If extrapolation is not enabled then an error -may- be returned for points outside the defined extents. This is the default condition and will generally be much faster than extrapolating.
|
|
||||||||||||||||
|
Temporarily set full transformation to specified affine matrices.
|
|
||||||||||||
|
Set boundaries for valid transformation in input coordinates. Using this function will ensure that all points within the specified rectangle will have a valid conversion for the forward transformation, assuming that their map coordinates are reasonable. Points outside the rectangle may or may not have a valid transformation depending on the type of transformation being performed. This function is needed for some of the piecewise transformations which are defined by the convex hull of the defining control point mesh.
|
|
||||||||||||
|
Set maximum displacement for point insertion, input coordinates.
|
|
||||||||||||
|
Set "input projection" in TRANSPARM structure.
|
|
||||||||||||
|
Set "input projection" using given gctp handle (assumes handle is initialized). This makes a copy of the handle, so any subsequent changes to it will have no effect on the TRANSPARM
|
|