public interface ImageTransform
| Modifier and Type | Field and Description |
|---|---|
static int |
PREFERRED_ROTATION_CENTER |
static int |
PREFERRED_ROTATION_CURRENT |
static int |
PREFERRED_ROTATION_ORIGIN |
| Modifier and Type | Method and Description |
|---|---|
double[][] |
getMatrixCopy()
Returns a copy of the 4x4 image transformation matrix.
|
void |
loadTransform(double[][] matNew,
int preferredOrigin,
Coordinate coor)
Load a different transform.
|
Coordinate |
transform(Coordinate coor)
Transforms the coordinate.
|
Coordinate |
transformNative(Coordinate coor)
Transforms the coordinate.
|
void |
updateTransform(double[][] matNew)
Update the transform.
|
static final int PREFERRED_ROTATION_CENTER
static final int PREFERRED_ROTATION_CURRENT
static final int PREFERRED_ROTATION_ORIGIN
double[][] getMatrixCopy()
void loadTransform(double[][] matNew,
int preferredOrigin,
Coordinate coor)
matNew - the 4x4 transform matrixpreferredOrigin - PREFERRED_ROTATION_CENTER, PREFERRED_ROTATION_ORIGIN, PREFERRED_ROTATION_CURRENTcoor - the rotation origin if PREFERRED_ROTATION_CURRENTCoordinate transform(Coordinate coor)
coor - the coordinate to transformCoordinate transformNative(Coordinate coor)
coor - the coordinate to transformvoid updateTransform(double[][] matNew)
matNew - the 4x4 transform matrix