fr.inria.zvtm.lens
Class LInfSCFInverseCosineLens
java.lang.Object
fr.inria.zvtm.lens.Lens
fr.inria.zvtm.lens.FixedSizeLens
fr.inria.zvtm.lens.FSInverseCosineLens
fr.inria.zvtm.lens.SCFInverseCosineLens
fr.inria.zvtm.lens.LInfSCFInverseCosineLens
- All Implemented Interfaces:
- TemporalLens
public class LInfSCFInverseCosineLens
- extends SCFInverseCosineLens
Profile: linear - Distance metric: L(Inf) (square shape) - Flattens itself when moving fast
Size expressed as an absolute value in pixels
| Fields inherited from class fr.inria.zvtm.lens.Lens |
h, lensHeight, lensWidth, lx, ly, magnifiedGraphics, mbh, mbi, mbw, MM, MM_FLOOR, mSwitchThreshold, owningView, sh, sw, w |
|
Constructor Summary |
LInfSCFInverseCosineLens()
create a lens with a maximum magnification factor of 2.0 |
LInfSCFInverseCosineLens(float mm)
create a lens with a given maximum magnification factor |
LInfSCFInverseCosineLens(float mm,
int outerRadius,
int innerRadius)
create a lens with a given maximum magnification factor, inner and outer radii |
LInfSCFInverseCosineLens(float mm,
int outerRadius,
int innerRadius,
int x,
int y)
create a lens with a given maximum magnification factor, inner and outer radii |
|
Method Summary |
void |
drawBoundary(Graphics2D g2d)
for internal use |
void |
gf(float x,
float y,
float[] g)
gain factor function |
| Methods inherited from class fr.inria.zvtm.lens.SCFInverseCosineLens |
dispose, getActualMaximumMagnification, getTemporalParamListener, setAbsolutePosition, setCutoffFrequencyParameters, setDrawMaxFlatTop, setMinMagFactor, setNoUpdateWhenMouseStill, setSpeedBlendRadii, setSpeedCoupling, setTemporalParamListener, updateFrequency, updateFrequency, updateTimeBasedParams, updateTimeBasedParams |
| Methods inherited from class fr.inria.zvtm.lens.FixedSizeLens |
getActualRingRadius, getInnerRadius, getInnerRadiusColor, getOuterRadius, getOuterRadiusColor, getRadius, getVisibleRegionInFocus, moveLensBy, setAbsolutePosition, setFocusControlled, setFocusControlled, setInnerRadiusColor, setLensBuffer, setOuterRadiusColor |
| Methods inherited from class fr.inria.zvtm.lens.Lens |
getBufferThreshold, getMagnificationGraphics, getMaximumMagnification, getOwningView, getVisibleRegion, getXfocusOffset, getYfocusOffset, isInitialized, resetMagnificationBuffer, setBufferThreshold, setMagRasterDimensions, setMagRasterDimensions, setXfocusOffset, setYfocusOffset, transform |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LInfSCFInverseCosineLens
public LInfSCFInverseCosineLens()
- create a lens with a maximum magnification factor of 2.0
LInfSCFInverseCosineLens
public LInfSCFInverseCosineLens(float mm)
- create a lens with a given maximum magnification factor
- Parameters:
mm - maximum magnification factor, mm in [0,+inf[
LInfSCFInverseCosineLens
public LInfSCFInverseCosineLens(float mm,
int outerRadius,
int innerRadius)
- create a lens with a given maximum magnification factor, inner and outer radii
- Parameters:
mm - maximum magnification factor, mm in [0,+inf[outerRadius - outer radius (beyond which no magnification is applied - outward)innerRadius - inner radius (beyond which maximum magnification is applied - inward)
LInfSCFInverseCosineLens
public LInfSCFInverseCosineLens(float mm,
int outerRadius,
int innerRadius,
int x,
int y)
- create a lens with a given maximum magnification factor, inner and outer radii
- Parameters:
mm - maximum magnification factor, mm in [0,+inf[outerRadius - outer radius (beyond which no magnification is applied - outward)innerRadius - inner radius (beyond which maximum magnification is applied - inward)x - horizontal coordinate of the lens' center (as an offset w.r.t the view's center coordinates)y - vertical coordinate of the lens' center (as an offset w.r.t the view's center coordinates)
gf
public void gf(float x,
float y,
float[] g)
- Description copied from class:
Lens
- gain factor function
- Overrides:
gf in class SCFInverseCosineLens
drawBoundary
public void drawBoundary(Graphics2D g2d)
- for internal use
- Overrides:
drawBoundary in class SCFInverseCosineLens
Copyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2011 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.