| Package | flare.vis.operator.distortion |
| Class | public class BifocalDistortion |
| Inheritance | BifocalDistortion Distortion Layout Operator |
For more details on this form of transformation, see Y. K. Leung and M. D. Apperley, "A Review and Taxonomy of Distortion-Oriented Presentation Techniques", in Transactions of Computer-Human Interaction (TOCHI), 1(2): 126-160 (1994). Available online at portal.acm.org/citation.cfm?id=180173&dl=ACM.
| Method | Defined by | ||
|---|---|---|---|
|
BifocalDistortion(xRange:Number = 0.1, xMagnify:Number = 3, yRange:Number = 0.1, yMagnify:Number = 3)
Create a new BifocalDistortion with the specified range and magnification along both axes. NOTE:if the range value times the magnification value is greater than 1, the resulting distortion can exceed the display bounds. | BifocalDistortion | ||
![]() |
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.
| BifocalDistortion | ||
|
xDistort(x:Number):Number
Compute a distorted x-coordinate.
| BifocalDistortion | ||
|
yDistort(y:Number):Number
Compute a distorted y-coordinate.
| BifocalDistortion | ||
| BifocalDistortion | () | constructor |
public function BifocalDistortion(xRange:Number = 0.1, xMagnify:Number = 3, yRange:Number = 0.1, yMagnify:Number = 3)
Create a new BifocalDistortion with the specified range and magnification along both axes.
NOTE:if the range value times the magnification value is greater than 1, the resulting distortion can exceed the display bounds.
ParametersxRange:Number (default = 0.1) — the range around the focus that should be magnified along
the x direction. This specifies the horizontal size of the magnified
focus region, and should be a value between 0 and 1, 0 indicating no
focus region and 1 indicating the whole display.
|
|
xMagnify:Number (default = 3) — how much magnification along the x direction should be used
in the focal area
|
|
yRange:Number (default = 0.1) — the range around the focus that should be magnified along
the y direction. This specifies the vertical size of the magnified
focus region, and should be a value between 0 and 1, 0 indicating no
focus region and 1 indicating the whole display.
|
|
yMagnify:Number (default = 3) — how much magnification along the y direction should be used
in the focal area
|
| 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
|