| Package | flare.vis.operator.distortion |
| Class | public class FisheyeDistortion |
| Inheritance | FisheyeDistortion Distortion Layout Operator |
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.
| Method | Defined by | ||
|---|---|---|---|
|
FisheyeDistortion(dx:Number = 4, dy:Number = 4, ds:Number = 3)
Create a new FisheyeDistortion with the given distortion factors
along the x and y directions.
| FisheyeDistortion | ||
![]() |
applyParameters(op:IOperator, params:Object):void
[static]
Static method that applies parameter settings to an operator.
| Operator | |
![]() |
clearEdgePoints():void
Strips all EdgeSprites in a visualization of any control points.
| Layout | |
![]() |
Hides the axes.
| Layout | |
![]() |
operate(t:Transitioner = null):void
Performs an operation over the contents of a visualization.
| Distortion | |
![]() |
setup():void
Setup method invoked whenever this operator's visualization
property is set.
| Operator | |
![]() |
Reveals the axes.
| Layout | |
![]() |
[static]
Updates all edges to be straight lines.
| Layout | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
autoAnchor():void
Automatically-generate an anchor point.
| Layout | |
![]() |
axesDistort(evt:VisualizationEvent):void
Performs distortion of Cartesian axes.
| Distortion | |
![]() |
distort(d:DataSprite):void
Distortion method for processing a DataSprite.
| Distortion | |
![]() |
layout():void
Calculates the spatial layout of visualized items.
| Layout | |
![]() |
minAngle(a1:Number, a2:Number):Number
Returns an angle value that minimizes the angular distance
between a reference angle and a target angle.
| Layout | |
|
sizeDistort(bb:Rectangle, x:Number, y:Number):Number
Compute a distorted size value.
| FisheyeDistortion | ||
|
xDistort(x:Number):Number
Compute a distorted x-coordinate.
| FisheyeDistortion | ||
|
yDistort(y:Number):Number
Compute a distorted y-coordinate.
| FisheyeDistortion | ||
| FisheyeDistortion | () | constructor |
public function FisheyeDistortion(dx:Number = 4, dy:Number = 4, ds:Number = 3)Create a new FisheyeDistortion with the given distortion factors along the x and y directions.
Parametersdx:Number (default = 4) — the distortion factor along the x axis (0 for none)
|
|
dy:Number (default = 4) — the distortion factor along the y axis (0 for none)
|
|
ds:Number (default = 3) — the distortion factor to use for sizes (0 for none)
|
| sizeDistort | () | method |
protected override function sizeDistort(bb:Rectangle, x:Number, y:Number):NumberCompute a distorted size value.
Parametersbb:Rectangle — an object's bounding box
|
|
x:Number — the initial x-coordinate
|
|
y:Number — the initial y-coordinate
|
Number — the distorted size value
|
| xDistort | () | method |
protected override function xDistort(x:Number):NumberCompute a distorted x-coordinate.
Parametersx:Number — the initial x-coordinate
|
Number — the distorted s-coordinate
|
| yDistort | () | method |
protected override function yDistort(y:Number):NumberCompute a distorted y-coordinate.
Parametersy:Number — the initial y-coordinate
|
Number — the distorted y-coordinate
|