|
|
The GX is the base system for the majority of the ARH Inc. products. It is a collection of loadable modules and library functions and gives an easy to program interface to the hardware devices.
The GX system supports transformations between different coordinate systems. It is easy to realize transformations from a plain rotation to the more difficult image straightening ones using these functions. Every transformation structure contains the mappings needed for the transformation. These mappings describe the location of a specific point in the other coordinate system.
This file contains the descriptions of classes and functions of the transformation handling module.
Go to the source code of this file.
Classes | |
| struct | gxTRAFO |
| Structure which stores data of a trafo. More... | |
| class | gxTrafoData |
| Class for the TRAFO data and some low-level functions. More... | |
| class | gxTrafoHandler |
| Class for the TRAFO functions. More... | |
| class | gxTrafo |
| Class for the transformation functions. More... | |
Functions | |
| int | gx_inittrafo (gxHANDLE handle, gxTRAFO *ptrafo) |
| Initializes a transformation structure. | |
| int | gx_alloctrafo (gxHANDLE handle, gxTRAFO **ptrafo) |
| Allocates a transformation structure. | |
| int | gx_alloctrafo_dbg (gxHANDLE handle, gxTRAFO **ptrafo, const char *file, int line) |
| Allocates a transformation structure (Debug version). | |
| int | gx_freetrafo (gxHANDLE handle, gxTRAFO *ptrafo) |
| Frees the specified transformation structure. | |
| int | gx_reftrafo (gxHANDLE handle, gxTRAFO *ptrafo) |
| Increases the reference number of the specified transformation structure. | |
| int | gx_unreftrafo (gxHANDLE handle, gxTRAFO *ptrafo) |
| Decreases the reference number of the specified transformation structure. | |
| int | gx_createtrafo (gxHANDLE handle, gxTRAFO *ptrafo, const gxPG2 *pairs, int npair, const gxRCT &frame, int resolution) |
| Creates a transformation structure based on the specified parameters. | |
| int | gx_loadtrafo (gxHANDLE handle, gxTRAFO *ptrafo, const wchar_t *filename) |
| Loads data from the specified transformation file to an initialized structure (Unicode version). | |
| int | gx_loadtrafoa (gxHANDLE handle, gxTRAFO *ptrafo, const char *filename) |
| Loads data from the specified transformation file to an initialized structure (ASCII version). | |
| int | gx_loadtrafo (gxHANDLE handle, gxTRAFO *ptrafo, const char *filename) |
| Loads data from the specified transformation file to an initialized structure (ASCII version). | |
| int | gx_savetrafo (gxHANDLE handle, gxTRAFO *ptrafo, const wchar_t *filename) |
| Saves the specified transformation structure to a file (Unicode version). | |
| int | gx_savetrafoa (gxHANDLE handle, gxTRAFO *ptrafo, const char *filename) |
| Saves the specified transformation structure to a file (ASCII version). | |
| int | gx_savetrafo (gxHANDLE handle, gxTRAFO *ptrafo, const char *filename) |
| Saves the specified transformation structure to a file (ASCII version). | |
| int | gx_copytrafo (gxHANDLE handle, gxTRAFO *ptrafo, const gxTRAFO *ptrafo_source) |
| Copies one transformation structure to another. | |
| int | gx_trafo (gxHANDLE handle, gxTRAFO *ptrafo, const gxPNT *source, gxPNT *target, int npoints) |
| Transforms points from the source sequence with the help of the specified structure then writes the result to the destination sequence list. | |
| int | gx_trafo_pnt (gxHANDLE handle, gxTRAFO *ptrafo, const gxPNT *source, gxPNT *target) |
| Transforms one point from the source with the help of the specified structure then writes the result to the destination point. | |
| int | gx_itrafo (gxHANDLE handle, gxTRAFO *ptrafo, const gxPNT *source, gxPNT *target, int npoints) |
| Inverse transformation. | |
| int | gx_itrafo_pnt (gxHANDLE handle, gxTRAFO *ptrafo, const gxPNT *source, gxPNT *target) |
| Inverse transformation. | |
| int | gx_isvalidtrafo (gxHANDLE handle, const gxTRAFO *ptrafo) |
| Checks the specified transformation structure. | |
| int | gx_trafotovariant (gxHANDLE handle, gxTRAFO *source, int varid, gxVARIANT *target) |
| Embedds a transformation structure into a variant. | |
| int | gx_trafofromvariant (gxHANDLE handle, gxTRAFO **target, gxVARIANT source) |
| Loads an embedded transformation structure from a variant. | |
| int | gx_inittrafo (gxTRAFO *ptrafo) |
| Initializes a transformation structure. | |
| int | gx_alloctrafo (gxTRAFO **ptrafo) |
| Allocates a transformation structure. | |
| int | gx_alloctrafo_dbg (gxTRAFO **ptrafo, const char *file, int line) |
| Allocates a transformation structure (Debug version). | |
| int | gx_freetrafo (gxTRAFO *ptrafo) |
| Frees the specified transformation structure. | |
| int | gx_reftrafo (gxTRAFO *ptrafo) |
| Increases the reference number of the specified transformation structure. | |
| int | gx_unreftrafo (gxTRAFO *ptrafo) |
| Decreases the reference number of the specified transformation structure. | |
| int | gx_createtrafo (gxTRAFO *ptrafo, const gxPG2 *pairs, int npair, const gxRCT &frame, int resolution) |
| Creates a transformation structure based on the specified parameters. | |
| int | gx_loadtrafo (gxTRAFO *ptrafo, const wchar_t *filename) |
| Loads data from the specified transformation file to an initialized structure (Unicode version). | |
| int | gx_loadtrafo (gxTRAFO *ptrafo, const char *filename) |
| Loads data from the specified transformation file to an initialized structure (ASCII version). | |
| int | gx_savetrafo (gxTRAFO *ptrafo, const wchar_t *filename) |
| Saves the specified transformation structure to a file (Unicode version). | |
| int | gx_savetrafo (gxTRAFO *ptrafo, const char *filename) |
| Saves the specified transformation structure to a file (ASCII version). | |
| int | gx_copytrafo (gxTRAFO *ptrafo, const gxTRAFO *ptrafo_source) |
| Copies one transformation structure to another. | |
| int | gx_trafo (gxTRAFO *ptrafo, const gxPNT *source, gxPNT *target, int npoints) |
| Transforms points from the source sequence with the help of the specified structure then writes the result to the destination sequence list. | |
| int | gx_trafo_pnt (gxTRAFO *ptrafo, const gxPNT *source, gxPNT *target) |
| Transforms one point from the source with the help of the specified structure then writes the result to the destination point. | |
| int | gx_itrafo (gxTRAFO *ptrafo, const gxPNT *source, gxPNT *target, int npoints) |
| Inverse transformation. | |
| int | gx_itrafo_pnt (gxTRAFO *ptrafo, const gxPNT *source, gxPNT *target) |
| Inverse transformation. | |
| int | gx_isvalidtrafo (const gxTRAFO *ptrafo) |
| Checks the specified transformation structure. | |
| int | gx_trafotovariant (gxTRAFO *source, int varid, gxVARIANT *target) |
| Embedds a transformation structure into a variant. | |
| int | gx_trafofromvariant (gxTRAFO **target, gxVARIANT source) |
| Loads an embedded transformation structure from a variant. | |