Modifier and Type | Field and Description |
---|---|
int |
cols |
private static float |
m00 |
private static float |
m01 |
private static float |
m02 |
private static float |
m03 |
private static float |
m10 |
private static float |
m11 |
private static float |
m12 |
private static float |
m13 |
private static float |
m20 |
private static float |
m22 |
private static float |
m31 |
int |
rows |
float[] |
xGrid |
float[] |
yGrid |
Constructor and Description |
---|
WarpGrid(int rows,
int cols,
int w,
int h) |
Modifier and Type | Method and Description |
---|---|
void |
addCol(int before)
Add a new column to the grid.
|
void |
addRow(int before)
Add a new row to the grid.
|
protected void |
interpolateSpline(float[] xKnots,
float[] yKnots,
int offset,
int length,
float[] splineY,
int splineOffset,
int splineLength) |
protected void |
interpolateSpline2(float[] xKnots,
float[] yKnots,
int offset,
float[] splineY,
int splineOffset,
int splineLength) |
void |
lerp(float t,
WarpGrid destination,
WarpGrid intermediate) |
void |
removeCol(int r)
Remove a column from the grid.
|
void |
removeRow(int r)
Remove a row from the grid.
|
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
private static final float m00
private static final float m01
private static final float m02
private static final float m03
private static final float m10
private static final float m11
private static final float m12
private static final float m13
private static final float m20
private static final float m22
private static final float m31
public WarpGrid(int rows, int cols, int w, int h)
public void addRow(int before)
public void addCol(int before)
public void removeRow(int r)
public void removeCol(int r)
public void warp(int[] inPixels, int cols, int rows, WarpGrid sourceGrid, WarpGrid destGrid, int[] outPixels)
protected void interpolateSpline(float[] xKnots, float[] yKnots, int offset, int length, float[] splineY, int splineOffset, int splineLength)
protected void interpolateSpline2(float[] xKnots, float[] yKnots, int offset, float[] splineY, int splineOffset, int splineLength)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses