|
JIGL v1.6 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--jigl.image.warp.AffineTransform
Performs any affine warp on a mapped image. The matrix keeps constant.
| Field Summary | |
protected boolean |
applied_once
Flag for whether the reverse matrix has been calculated. |
protected Matrix |
inverse
Reverse transform matrix |
protected Matrix |
matrix
Transfrom matrix |
| Constructor Summary | |
AffineTransform(double[][] data)
Creates an Affine Transform from a two-dimensional array (transform matrix) |
|
AffineTransform(Matrix m)
Creates an Affine Transform from a matrix |
|
| Method Summary | |
void |
inverseTransform(float[] x,
float[] y)
Performs the inverse of the Affine Transformation |
void |
inverseTransform(float[] x,
float[] y,
int offset,
int count)
Performs the inverse of the Affine Transformation. |
void |
transform(float[] x,
float[] y)
Performs the Affine Transformation. |
void |
transform(float[] x,
float[] y,
int offset,
int count)
Performs the Affine Transformation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Matrix matrix
protected Matrix inverse
protected boolean applied_once
| Constructor Detail |
public AffineTransform(double[][] data)
public AffineTransform(Matrix m)
| Method Detail |
public void transform(float[] x,
float[] y)
throws IllegalArgumentException
x.length = y.length
transform in interface PointMapperx - an array containing the x coordinatesy - an array containing the y coordinates
IllegalArgumentException
public void transform(float[] x,
float[] y,
int offset,
int count)
throws IllegalArgumentException
transform in interface PointMapperx - an array containing the x coordinatesy - an array containing the y coordinatesoffset - the starting point of the arraycount - the number of points from the offset to apply the transformation
IllegalArgumentException
public void inverseTransform(float[] x,
float[] y)
inverseTransform in interface PointMapperx - an array containing the x coordinatesy - an array containing the y coordinates
public void inverseTransform(float[] x,
float[] y,
int offset,
int count)
inverseTransform in interface PointMapperx - an array containing the x coordinatesy - an array containing the y coordinatesoffset - the starting point of the arraycount - the number of points from the offset to apply the transformation
|
JIGL v1.6 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||