Package | com.panosalado.model |
Class | public class ViewData |
Inheritance | ViewData ![]() |
Subclasses | DependentViewData, PanoSalado |
Property | Defined by | ||
---|---|---|---|
_boundsHeight : Number
Height of panorama.
| ViewData | ||
boundsHeight : Number
Height of rendered panorama.
| ViewData | ||
_boundsWidth : Number
Width of panorama.
| ViewData | ||
boundsWidth : Number
Width of rendered panorama.
| ViewData | ||
_fieldOfView : Number
Field of view.
| ViewData | ||
fieldOfView : Number
Field of view.
| ViewData | ||
frustumBottom : Vector3D
Bottom frustum plane as determined by field of view.
| ViewData | ||
frustumLeft : Vector3D
Left frustum plane as determined by field of view.
| ViewData | ||
frustumRight : Vector3D
Right frustum plane as determined by field of view.
| ViewData | ||
frustumTop : Vector3D
Top frustum plane as determined by field of view.
| ViewData | ||
invalid : Boolean
Invalidation flag for all properties.
| ViewData | ||
invalidPerspective : Boolean
Invalidation flag for field of view, boundsWidth and boundsHeight, which determine perspectiveProjection and perspectiveMatrix3D
| ViewData | ||
invalidTransform : Boolean
Invalidation flag for pan and tilt, which determine the transformMatrix3D
| ViewData | ||
_maximumFieldOfView : Number
Maximum field of view.
| ViewData | ||
maximumFieldOfView : Number
maximumFieldOfView
| ViewData | ||
_maximumPan : Number
Maximum pan.
| ViewData | ||
maximumPan : Number
maximumPan
| ViewData | ||
_maximumTilt : Number
Maximum tilt.
| ViewData | ||
maximumTilt : Number
maximumTilt
| ViewData | ||
_minimumFieldOfView : Number
Minimum field of view.
| ViewData | ||
minimumFieldOfView : Number
minimumFieldOfView
| ViewData | ||
_minimumPan : Number
Minimum pan.
| ViewData | ||
minimumPan : Number
minimumPan
| ViewData | ||
_minimumTilt : Number
Minimum tilt.
| ViewData | ||
minimumTilt : Number
minimumTilt
| ViewData | ||
_pan : Number
Pan angle.
| ViewData | ||
pan : Number
Pan angle.
| ViewData | ||
_path : String
Path for panorama.
| ViewData | ||
path : String
Path.
| ViewData | ||
perspectiveMatrix3D : Matrix3D
Matrix3D from perspectiveProjection.toMatrix3d().
| ViewData | ||
perspectiveProjection : PerspectiveProjection
PerspectiveProjection set from field of view, boundsWidth and boundsHeight.
| ViewData | ||
pixelsPerDegree : Number
Pixels per degree as determined from field of view, boundsWidth and boundsHeight.
| ViewData | ||
secondaryViewData : DependentViewData
Secondary ViewData, which is used for the secondary (outgoing) panorama.
| ViewData | ||
_tierThreshold : Number
Tier threshold.
| ViewData | ||
tierThreshold : Number
Tier Threshold.
| ViewData | ||
_tile : Tile
Tile.
| ViewData | ||
tile : Tile
[read-only]
The root tile in the tile linked list data structure.
| ViewData | ||
_tilt : Number
Tilt angle.
| ViewData | ||
tilt : Number
Tilt angle.
| ViewData | ||
transformMatrix3D : Matrix3D
Matrix3D recomposed from pan and tilt angles.
| ViewData |
Property | Defined by | ||
---|---|---|---|
constructed : Boolean | ViewData |
Method | Defined by | ||
---|---|---|---|
ViewData(constructSecondaryViewData:Boolean = true)
Constructor.
| ViewData | ||
Clones the properties of this view data object into another.
| ViewData |
Constant | Defined by | ||
---|---|---|---|
MAXIMUM_FOV : Number = 179.999999999999999999999 [static]
Maximum renderable field of view
| ViewData | ||
MINIMUM_FOV : Number = 0.000000000000000000001 [static]
Minimum renderable field of view
| ViewData |
_boundsHeight | property |
public var _boundsHeight:Number
Height of panorama. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
boundsHeight | property |
boundsHeight:Number
[read-write]Height of rendered panorama.
The default value is 375
.
public function get boundsHeight():Number
public function set boundsHeight(value:Number):void
_boundsWidth | property |
public var _boundsWidth:Number
Width of panorama. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
boundsWidth | property |
boundsWidth:Number
[read-write]Width of rendered panorama.
The default value is 500
.
public function get boundsWidth():Number
public function set boundsWidth(value:Number):void
constructed | property |
protected var constructed:Boolean
_fieldOfView | property |
public var _fieldOfView:Number
Field of view. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
fieldOfView | property |
fieldOfView:Number
[read-write]Field of view.
The default value is 90
.
public function get fieldOfView():Number
public function set fieldOfView(value:Number):void
frustumBottom | property |
public var frustumBottom:Vector3D
Bottom frustum plane as determined by field of view. For internal use.
frustumLeft | property |
public var frustumLeft:Vector3D
Left frustum plane as determined by field of view. For internal use.
frustumRight | property |
public var frustumRight:Vector3D
Right frustum plane as determined by field of view. For internal use.
frustumTop | property |
public var frustumTop:Vector3D
Top frustum plane as determined by field of view. For internal use.
invalid | property |
public var invalid:Boolean
Invalidation flag for all properties. i.e. if one of them is invalid, this must be invalid as well.
invalidPerspective | property |
public var invalidPerspective:Boolean
Invalidation flag for field of view, boundsWidth and boundsHeight, which determine perspectiveProjection and perspectiveMatrix3D
invalidTransform | property |
public var invalidTransform:Boolean
Invalidation flag for pan and tilt, which determine the transformMatrix3D
_maximumFieldOfView | property |
public var _maximumFieldOfView:Number
Maximum field of view. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
maximumFieldOfView | property |
maximumFieldOfView:Number
[read-write]maximumFieldOfView
The default value is 179.999999999999999999999
.
public function get maximumFieldOfView():Number
public function set maximumFieldOfView(value:Number):void
_maximumPan | property |
public var _maximumPan:Number
Maximum pan. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
maximumPan | property |
maximumPan:Number
[read-write]maximumPan
The default value is Number.POSITIVE_INFINITY
.
public function get maximumPan():Number
public function set maximumPan(value:Number):void
_maximumTilt | property |
public var _maximumTilt:Number
Maximum tilt. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
maximumTilt | property |
maximumTilt:Number
[read-write]maximumTilt
The default value is Number.POSITIVE_INFINITY
.
public function get maximumTilt():Number
public function set maximumTilt(value:Number):void
_minimumFieldOfView | property |
public var _minimumFieldOfView:Number
Minimum field of view. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
minimumFieldOfView | property |
minimumFieldOfView:Number
[read-write]minimumFieldOfView
The default value is 0.000000000000000000001
.
public function get minimumFieldOfView():Number
public function set minimumFieldOfView(value:Number):void
_minimumPan | property |
public var _minimumPan:Number
Minimum pan. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
minimumPan | property |
minimumPan:Number
[read-write]minimumPan
The default value is Number.NEGATIVE_INFINITY
.
public function get minimumPan():Number
public function set minimumPan(value:Number):void
_minimumTilt | property |
public var _minimumTilt:Number
Minimum tilt. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
minimumTilt | property |
minimumTilt:Number
[read-write]minimumTilt
The default value is Number.NEGATIVE_INFINITY
.
public function get minimumTilt():Number
public function set minimumTilt(value:Number):void
_pan | property |
public var _pan:Number
Pan angle. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
pan | property |
pan:Number
[read-write]Pan angle.
The default value is 0
.
public function get pan():Number
public function set pan(value:Number):void
_path | property |
public var _path:String
Path for panorama. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
path | property |
path:String
[read-write]Path. Depending on the type of panorama images (tiled, QTVR, etc) the path will differ. Note that this property changes asynchronously. In other words, after you set it, accessing the value will return the previous value until the new panorama has loaded sufficiently to display. DeepZoom Style cubic: front face xml descriptor file Zoomify cubic: front face xml descriptor file cubic: front face image file QTVR: .mov file
The default value is null
.
public function get path():String
public function set path(value:String):void
perspectiveMatrix3D | property |
public var perspectiveMatrix3D:Matrix3D
Matrix3D from perspectiveProjection.toMatrix3d(). For internal use.
perspectiveProjection | property |
public var perspectiveProjection:PerspectiveProjection
PerspectiveProjection set from field of view, boundsWidth and boundsHeight. For internal use.
pixelsPerDegree | property |
public var pixelsPerDegree:Number
Pixels per degree as determined from field of view, boundsWidth and boundsHeight. For internal use.
secondaryViewData | property |
public var secondaryViewData:DependentViewData
Secondary ViewData, which is used for the secondary (outgoing) panorama.
See also
_tierThreshold | property |
public var _tierThreshold:Number
Tier threshold. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
tierThreshold | property |
tierThreshold:Number
[read-write]Tier Threshold. Specifies multiplier on pixels per degree which is used in the rendering cycle to determine which tier of tiles to display/load. Can be used to blur or sharpen the rendering by forcing use of higher or lower resolution tiles. E.g a value of 1.5 will blur the panorama.
The default value is 1
.
public function get tierThreshold():Number
public function set tierThreshold(value:Number):void
_tile | property |
public var _tile:Tile
Tile. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
tile | property |
tile:Tile
[read-only]The root tile in the tile linked list data structure. Read-only. It is dependent on the path.
Implementation public function get tile():Tile
_tilt | property |
public var _tilt:Number
Tilt angle. Can be used in place of getter for faster access. Do NOT use in place of setter.
See also
tilt | property |
tilt:Number
[read-write]Tilt angle.
The default value is 0
.
public function get tilt():Number
public function set tilt(value:Number):void
transformMatrix3D | property |
public var transformMatrix3D:Matrix3D
Matrix3D recomposed from pan and tilt angles. For internal use.
ViewData | () | constructor |
public function ViewData(constructSecondaryViewData:Boolean = true)
Constructor.
ParametersconstructSecondaryViewData:Boolean (default = true ) — Boolean true. When a DependentViewData object is constructed it will pass
false so that the DendentViewData object does not create its own DependentViewData into an infinite loop.
|
clone | () | method |
public function clone(into:ViewData = null):ViewData
Clones the properties of this view data object into another. If into arg is not null it will clone into that ViewData object, otherwise it will clone into a new ViewData
Parametersinto:ViewData (default = null ) — ViewData to clone into (optional, will create new if null)
|
ViewData |
MAXIMUM_FOV | constant |
public static const MAXIMUM_FOV:Number = 179.999999999999999999999
Maximum renderable field of view
The default value is 179.999999999999999999999
.
MINIMUM_FOV | constant |
public static const MINIMUM_FOV:Number = 0.000000000000000000001
Minimum renderable field of view
The default value is 0.000000000000000000001
.