| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpedviz.view.effects.Effect
pedviz.view.effects.FisheyeEffect
public class FisheyeEffect
This class implements the FishEyeEffect.
| Constructor Summary | |
|---|---|
FisheyeEffect(float dx,
              float dy,
              float sz)
Creates a new FishEyeEffect with the given values.  | 
|
| Method Summary | |
|---|---|
 float | 
getMinSize()
Returns the minimum size of a node.  | 
 void | 
setMinSize(float minSize)
Sets the minimum size of a node.  | 
 java.awt.geom.Point2D.Float | 
transformPoint(float x,
               float y)
Transforms the given points.  | 
 float | 
transformSize(float size,
              float x,
              float y,
              float newX,
              float newY)
Transforms the given size. x,y are untransformed and newX, newY are the transformed coordinates.  | 
| Methods inherited from class pedviz.view.effects.Effect | 
|---|
getBounds, getFocus, getSpeed, isAutoUpdateOnDrag, isAutoUpdateOnMove, moveFocus, setAutoUpdateOnDrag, setAutoUpdateOnMove, setBounds, setFocus, setSpeed | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FisheyeEffect(float dx,
                     float dy,
                     float sz)
dx - dy - sz - | Method Detail | 
|---|
public java.awt.geom.Point2D.Float transformPoint(float x,
                                                  float y)
Effect
transformPoint in class Effect
public float transformSize(float size,
                           float x,
                           float y,
                           float newX,
                           float newY)
Effect
transformSize in class Effectsize - sizex - untransformed x coord.y - untransformed y coord.newX - transformed x coord.newY - transformed y coord.
public float getMinSize()
public void setMinSize(float minSize)
minSize - the minimum size of a node.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||