| prefuse.action.distortion.Distortion prefuse.action.distortion.FisheyeDistortion
FisheyeDistortion | public class FisheyeDistortion extends Distortion (Code) | |
Computes a graphical fisheye distortion of a graph view. This distortion
allocates more space to items near the layout anchor and less space to
items further away, magnifying space near the anchor and demagnifying
distant space in a continuous fashion.
For more details on this form of transformation, see Manojit Sarkar and
Marc H. Brown, "Graphical Fisheye Views of Graphs", in Proceedings of
CHI'92, Human Factors in Computing Systems, p. 83-91, 1992. Available
online at
http://citeseer.ist.psu.edu/sarkar92graphical.html.
author: jeffrey heer |
Constructor Summary | |
public | FisheyeDistortion() Create a new FisheyeDistortion with default distortion factor. | public | FisheyeDistortion(double dfactor) Create a new FisheyeDistortion with the given distortion factor
for use along both the x and y directions. | public | FisheyeDistortion(double xfactor, double yfactor) Create a new FisheyeDistortion with the given distortion factors
along the x and y directions. |
FisheyeDistortion | public FisheyeDistortion()(Code) | | Create a new FisheyeDistortion with default distortion factor.
|
FisheyeDistortion | public FisheyeDistortion(double dfactor)(Code) | | Create a new FisheyeDistortion with the given distortion factor
for use along both the x and y directions.
Parameters: dfactor - the distortion factor (same for both axes) |
FisheyeDistortion | public FisheyeDistortion(double xfactor, double yfactor)(Code) | | Create a new FisheyeDistortion with the given distortion factors
along the x and y directions.
Parameters: xfactor - the distortion factor along the x axis Parameters: yfactor - the distortion factor along the y axis |
getXDistortionFactor | public double getXDistortionFactor()(Code) | | Returns the distortion factor for the x-axis.
returns the distortion factor for the x-axis. |
getYDistortionFactor | public double getYDistortionFactor()(Code) | | Returns the distortion factor for the y-axis.
returns the distortion factor for the y-axis. |
setXDistortionFactor | public void setXDistortionFactor(double d)(Code) | | Sets the distortion factor for the x-axis.
Parameters: d - The distortion factor to set. |
setYDistortionFactor | public void setYDistortionFactor(double d)(Code) | | Sets the distortion factor for the y-axis.
Parameters: d - The distortion factor to set. |
|
|