Two-dimensional grid transform class.
#include <csol_grid.h>
|
| Grid2dTransform () |
|
| Grid2dTransform (const Grid2dTransform &) |
|
void | applyInverseTransformation (REAL &, REAL &) |
|
void | applyInverseTranslation (REAL &px, REAL &py) |
|
void | applyTransformation (REAL &, REAL &) |
|
void | applyTranslation (REAL &px, REAL &py) |
|
void | find2dTransformedLimits (REAL &, REAL &, REAL &, REAL &) |
| Find bounding box from a two-dimensional transform. More...
|
|
bool | isNull () |
|
Grid2dTransform & | operator= (const Grid2dTransform &) |
|
void | setUnitMatrices () |
|
template<typename T > |
void | updateFromGrid (Grid< T > &grid) |
|
void | updateTransforms () |
|
void | updateTranslation (REAL, REAL, REAL, REAL) |
|
void applyInverseTransformation |
( |
REAL & |
px, |
|
|
REAL & |
py |
|
) |
| |
void applyInverseTranslation |
( |
REAL & |
px, |
|
|
REAL & |
py |
|
) |
| |
void applyTransformation |
( |
REAL & |
px, |
|
|
REAL & |
py |
|
) |
| |
void applyTranslation |
( |
REAL & |
px, |
|
|
REAL & |
py |
|
) |
| |
void find2dTransformedLimits |
( |
REAL & |
vmin_x, |
|
|
REAL & |
vmin_y, |
|
|
REAL & |
vmax_x, |
|
|
REAL & |
vmax_y |
|
) |
| |
- Parameters
-
[out] | vmin_x | x minimum value of bounding rectangle. |
[out] | vmin_y | y minimum value of bounding rectangle. |
[out] | vmax_x | x maximum value of bounding rectangle. |
[out] | vmax_y | y maximum value of bounding rectangle. |
void updateFromGrid |
( |
Grid< T > & |
grid | ) |
|
|
inline |
void updateTransforms |
( |
| ) |
|
void updateTranslation |
( |
REAL |
trans_x_, |
|
|
REAL |
off_x_, |
|
|
REAL |
trans_y_, |
|
|
REAL |
off_y_ |
|
) |
| |
REAL inverseTransform[16] |