| Package | com.transmote.flar.utils |
| Class | public class FLARProxy |
| Inheritance | FLARProxy flash.events.EventDispatcher |
| Implements | IFLARSource |
| Property | Defined by | ||
|---|---|---|---|
| cameraParams : FLARParam [read-only]
FLARParam used by this FLARProxy, for use with Papervision.
| FLARProxy | ||
| downsampleRatio : Number [read-only]
amount by which the BitmapData source is downsampled
before being sent to FLARToolkit.
| FLARProxy | ||
| mirrored : Boolean
FLARProxy cannot be mirrored;
method is here only for compliance with IFLARSource.
| FLARProxy | ||
| source : BitmapData [read-only]
FLARProxy has no BitmapData source;
method is here only for compliance with IFLARSource.
| FLARProxy | ||
| sourceSize : Rectangle [read-only]
size of BitmapData source used for analysis.
| FLARProxy | ||
| Method | Defined by | ||
|---|---|---|---|
|
FLARProxy(downsampleRatio:Number = 0.5, cameraParamsPath:String = "")
constructor.
| FLARProxy | ||
|
activate(stage:Stage):void
begin marker simulation.
| FLARProxy | ||
|
deactivate():void
stop marker simulation.
| FLARProxy | ||
|
loadCameraParams(cameraParamsPath:String):void
load camera params file; needed to generate transform matrices.
| FLARProxy | ||
|
update():void
FLARProxy updates on mouse interaction;
method is here only for compliance with IFLARSource.
| FLARProxy | ||
| cameraParams | property |
cameraParams:FLARParam [read-only]FLARParam used by this FLARProxy, for use with Papervision.
Implementation public function get cameraParams():FLARParam
| downsampleRatio | property |
downsampleRatio:Number [read-only]amount by which the BitmapData source is downsampled before being sent to FLARToolkit.
Implementation public function get downsampleRatio():Number
| mirrored | property |
mirrored:Boolean [read-write]FLARProxy cannot be mirrored; method is here only for compliance with IFLARSource.
Implementation public function get mirrored():Boolean
public function set mirrored(value:Boolean):void
| source | property |
source:BitmapData [read-only]FLARProxy has no BitmapData source; method is here only for compliance with IFLARSource.
Implementation public function get source():BitmapData
| sourceSize | property |
sourceSize:Rectangle [read-only]size of BitmapData source used for analysis.
Implementation public function get sourceSize():Rectangle
| FLARProxy | () | constructor |
public function FLARProxy(downsampleRatio:Number = 0.5, cameraParamsPath:String = "")constructor.
ParametersdownsampleRatio:Number (default = 0.5) — similar to IFLARSource, downsampleRatio is the ratio of the screen size
as reported to FLARToolkit to the actual screen size. defaults to 0.5,
to match FLARCameraSource and FLARLoaderSource.
|
|
cameraParamsPath:String (default = "") |
| activate | () | method |
public function activate(stage:Stage):voidbegin marker simulation.
Parametersstage:Stage — a reference to the application Stage.
|
| deactivate | () | method |
public function deactivate():voidstop marker simulation.
| loadCameraParams | () | method |
public function loadCameraParams(cameraParamsPath:String):voidload camera params file; needed to generate transform matrices. called automatically if cameraParamsPath passed into constructor.
ParameterscameraParamsPath:String — path to camera parameters binary.
|
| update | () | method |
public function update():voidFLARProxy updates on mouse interaction; method is here only for compliance with IFLARSource.