fr.inria.zvtm.lens
Class LInfFSManhattanLens

java.lang.Object
  extended by fr.inria.zvtm.lens.Lens
      extended by fr.inria.zvtm.lens.FixedSizeLens
          extended by fr.inria.zvtm.lens.FSManhattanLens
              extended by fr.inria.zvtm.lens.LInfFSManhattanLens

public class LInfFSManhattanLens
extends FSManhattanLens

Profile: manhattan - Distance metric: L(Inf) (square shape)
Size expressed as an absolute value in pixels


Field Summary
 
Fields inherited from class fr.inria.zvtm.lens.FixedSizeLens
CONSTANT, LR1, LR2, SPEED_DEPENDENT_LINEAR
 
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
LInfFSManhattanLens()
          create a lens with a maximum magnification factor of 2.0
LInfFSManhattanLens(float mm)
          create a lens with a given maximum magnification factor
LInfFSManhattanLens(float mm, int innerRadius)
          create a lens with a given maximum magnification factor, inner and outer radii
LInfFSManhattanLens(float mm, 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.FSManhattanLens
getRadius
 
Methods inherited from class fr.inria.zvtm.lens.FixedSizeLens
getActualRingRadius, getInnerRadius, getInnerRadiusColor, getOuterRadius, getOuterRadiusColor, getVisibleRegionInFocus, moveLensBy, setAbsolutePosition, setFocusControlled, setFocusControlled, setInnerRadius, setInnerRadiusColor, setLensBuffer, setMMandRadii, setMMandRadii, setOuterRadius, setOuterRadiusColor, setRadii, setRadii
 
Methods inherited from class fr.inria.zvtm.lens.Lens
dispose, getActualMaximumMagnification, getBufferThreshold, getMagnificationGraphics, getMaximumMagnification, getOwningView, getVisibleRegion, getXfocusOffset, getYfocusOffset, isInitialized, resetMagnificationBuffer, setBufferThreshold, setMagRasterDimensions, setMagRasterDimensions, setMaximumMagnification, setMaximumMagnification, setXfocusOffset, setYfocusOffset, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LInfFSManhattanLens

public LInfFSManhattanLens()
create a lens with a maximum magnification factor of 2.0


LInfFSManhattanLens

public LInfFSManhattanLens(float mm)
create a lens with a given maximum magnification factor

Parameters:
mm - maximum magnification factor, mm in [0,+inf[

LInfFSManhattanLens

public LInfFSManhattanLens(float mm,
                           int innerRadius)
create a lens with a given maximum magnification factor, inner and outer radii

Parameters:
mm - maximum magnification factor, mm in [0,+inf[
innerRadius - inner radius (beyond which maximum magnification is applied - inward)

LInfFSManhattanLens

public LInfFSManhattanLens(float mm,
                           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[
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)
Method Detail

gf

public void gf(float x,
               float y,
               float[] g)
Description copied from class: Lens
gain factor function

Overrides:
gf in class FSManhattanLens

drawBoundary

public void drawBoundary(Graphics2D g2d)
Description copied from class: FixedSizeLens
for internal use

Overrides:
drawBoundary in class FSManhattanLens


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.