|
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.Composite
Allows for composition of transformations on a mapped image.
| Field Summary | |
private PointMapper |
pointMapper1
The first PointerMapper object |
private PointMapper |
pointMapper2
The second PointerMapper object |
| Constructor Summary | |
Composite(PointMapper pm1,
PointMapper pm2)
Create a composite of two PointMappers. |
|
| Method Summary | |
void |
inverseTransform(float[] x,
float[] y)
Performs the inverse of the composite transforms. |
void |
inverseTransform(float[] x,
float[] y,
int offset,
int count)
Performs the inverse of the composite transforms. |
void |
transform(float[] x,
float[] y)
Performs the Composite transforms. |
void |
transform(float[] x,
float[] y,
int offset,
int count)
Performs the composite transforms. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private PointMapper pointMapper1
private PointMapper pointMapper2
| Constructor Detail |
public Composite(PointMapper pm1,
PointMapper pm2)
pm1 - the first PointMapper to be appliedpm2 - the pointMapper to applied last.| Method Detail |
public void transform(float[] x,
float[] y)
throws IllegalArgumentException
pointMapper1 applies
a transform on it, then pointMapper2 applies
a transform on it.
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)
throws IllegalArgumentException
inverseTransform in interface PointMapperx - an array containing the x coordinatesy - an array containing the y coordinates
IllegalArgumentException
public void inverseTransform(float[] x,
float[] y,
int offset,
int count)
throws IllegalArgumentException
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
IllegalArgumentException
|
JIGL v1.6 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||