de.fhpotsdam.unfolding.texture
Class LinearInterpolationDistorter
java.lang.Object
de.fhpotsdam.unfolding.texture.AbstractLensDistorter
de.fhpotsdam.unfolding.texture.LinearInterpolationDistorter
- All Implemented Interfaces:
- Distorter
public class LinearInterpolationDistorter
- extends AbstractLensDistorter
Simple distortion with hard edge.
Field Summary |
protected float |
r0
|
protected float |
r1
|
protected float |
s1
|
protected float |
zoom
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
r0
protected float r0
r1
protected float r1
zoom
protected float zoom
s1
protected float s1
LinearInterpolationDistorter
public LinearInterpolationDistorter(float radius0,
float radius1)
interpolateRadius
protected float interpolateRadius(float radius)
- Specified by:
interpolateRadius
in class AbstractLensDistorter
setRadius
public void setRadius(int r)
setOuterRadius
public void setOuterRadius(int r)
setInnerRadius
public void setInnerRadius(int r)
setZoom
public void setZoom(float zoom)