wrapper for FLARSquare that provides:
- centerpoint of marker;
- Vector3D instance that describes x, y, and z location, and rotation (in the z-axis) of marker;
- rotation of marker around x, y, and z axes;
- a more accurately descriptive name.
public var _centerpoint:Point = null
centerpoint:Point
[read-only]
centerpoint of marker outline;
calculated as average of four corner points.
Implementation
public function get centerpoint():Point
corners:Vector
[read-only]Implementation
public function get corners():Vector
public var _flarSquare:FLARSquare
flarSquare:FLARSquare
[read-only]
FLARSquare instance used to create this FLARMarkerOutline instance.
can be accessed if direct access to FLARToolkit output is desired;
no downsampling correction is applied.
Implementation
public function get flarSquare():FLARSquare
public var _rotationX:Number = NaN
rotationX:Number
[read-only]
rotation of marker along X axis.
Implementation
public function get rotationX():Number
public var _rotationY:Number = NaN
rotationY:Number
[read-only]
rotation of marker along Y axis.
Implementation
public function get rotationY():Number
public var _rotationZ:Number = NaN
rotationZ:Number
[read-only]
rotation of marker along Z axis.
Implementation
public function get rotationZ():Number
public var _vector3D:Vector3D = null
vector3D:Vector3D
[read-only]
Vector3D instance that describes x, y, and z coordinates,
as well as rotationZ (stored as vector3D.w).
Implementation
public function get vector3D():Vector3D
public function FLARMarkerOutline(flarSquare:FLARSquare, transformationMatrix:FLARTransMatResult, downsampleRatio:Number)
constructor.
Parameters
| flarSquare:FLARSquare |
|
| transformationMatrix:FLARTransMatResult |
|
| downsampleRatio:Number |
By Eric Socolofsky, http://transmote.com. Released under the GNU GPL.