|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.media.pictures.filters.WarpGrid
public class WarpGrid
A warp grid.
| Field Summary | |
|---|---|
int |
cols
DOCUMENT ME! |
int |
rows
DOCUMENT ME! |
float[] |
xGrid
DOCUMENT ME! |
float[] |
yGrid
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
WarpGrid(int rows,
int cols,
int w,
int h)
Creates a new WarpGrid object. |
|
| Method Summary | |
|---|---|
protected void |
interpolate(float[] xKnots,
float[] yKnots,
int offset,
float[] splineY,
int splineOffset,
int splineLength)
DOCUMENT ME! |
void |
lerp(float t,
WarpGrid destination,
WarpGrid intermediate)
DOCUMENT ME! |
void |
warp(int[] inPixels,
int cols,
int rows,
WarpGrid sourceGrid,
WarpGrid destGrid,
int[] outPixels)
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public float[] xGrid
public float[] yGrid
public int rows
public int cols
| Constructor Detail |
|---|
public WarpGrid(int rows,
int cols,
int w,
int h)
rows - DOCUMENT ME!cols - DOCUMENT ME!w - DOCUMENT ME!h - DOCUMENT ME!| Method Detail |
|---|
public void lerp(float t,
WarpGrid destination,
WarpGrid intermediate)
t - DOCUMENT ME!destination - DOCUMENT ME!intermediate - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!
public void warp(int[] inPixels,
int cols,
int rows,
WarpGrid sourceGrid,
WarpGrid destGrid,
int[] outPixels)
inPixels - DOCUMENT ME!cols - DOCUMENT ME!rows - DOCUMENT ME!sourceGrid - DOCUMENT ME!destGrid - DOCUMENT ME!outPixels - DOCUMENT ME!
protected void interpolate(float[] xKnots,
float[] yKnots,
int offset,
float[] splineY,
int splineOffset,
int splineLength)
xKnots - DOCUMENT ME!yKnots - DOCUMENT ME!offset - DOCUMENT ME!splineY - DOCUMENT ME!splineOffset - DOCUMENT ME!splineLength - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||