de.fhpotsdam.unfolding.texture
Class ScaleInterpolationDistorter

java.lang.Object
  extended by de.fhpotsdam.unfolding.texture.AbstractLensDistorter
      extended by de.fhpotsdam.unfolding.texture.ScaleInterpolationDistorter
All Implemented Interfaces:
Distorter

public class ScaleInterpolationDistorter
extends AbstractLensDistorter

Scale interpolation algorithm by [Bogen 2008], Visual Navigation with Schematic Maps


Field Summary
protected  float r0
           
protected  float r1
           
protected  float s1
           
protected  float zoom
           
 
Fields inherited from class de.fhpotsdam.unfolding.texture.AbstractLensDistorter
center, DEFAULT_ZOOM
 
Constructor Summary
ScaleInterpolationDistorter(float radius0, float radius1)
           
 
Method Summary
protected  float interpolateRadius(float radius)
           
 void setRadius(int r)
           
 void setZoom(float zoom)
           
 
Methods inherited from class de.fhpotsdam.unfolding.texture.AbstractLensDistorter
distort, setCenter, setCenter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

r0

protected float r0

r1

protected float r1

zoom

protected float zoom

s1

protected float s1
Constructor Detail

ScaleInterpolationDistorter

public ScaleInterpolationDistorter(float radius0,
                                   float radius1)
Method Detail

interpolateRadius

protected float interpolateRadius(float radius)
Specified by:
interpolateRadius in class AbstractLensDistorter

setRadius

public void setRadius(int r)

setZoom

public void setZoom(float zoom)