public class WarpGrid
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
int |
cols |
int |
rows |
float[] |
xGrid |
float[] |
yGrid |
| Constructor and Description |
|---|
WarpGrid(int rows,
int cols,
int w,
int h) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
interpolate(float[] xKnots,
float[] yKnots,
int offset,
float[] splineY,
int splineOffset,
int splineLength) |
void |
lerp(float t,
WarpGrid destination,
WarpGrid intermediate) |
void |
warp(int[] inPixels,
int cols,
int rows,
WarpGrid sourceGrid,
WarpGrid destGrid,
int[] outPixels) |
public float[] xGrid
public float[] yGrid
public int rows
public int cols