public abstract class AbstractLensDistorter extends java.lang.Object implements Distorter
| Modifier and Type | Field and Description |
|---|---|
protected processing.core.PVector |
center |
protected static float |
DEFAULT_ZOOM |
| Constructor and Description |
|---|
AbstractLensDistorter() |
| Modifier and Type | Method and Description |
|---|---|
void |
distort(processing.core.PVector origCoord,
processing.core.PVector distCoord,
int value) |
protected abstract float |
interpolateRadius(float radius) |
void |
setCenter(float x,
float y) |
void |
setCenter(processing.core.PVector center) |
protected static final float DEFAULT_ZOOM
protected processing.core.PVector center
public void setCenter(processing.core.PVector center)
public void setCenter(float x,
float y)
public void distort(processing.core.PVector origCoord,
processing.core.PVector distCoord,
int value)
protected abstract float interpolateRadius(float radius)