Packagecom.transmote.flar.pattern
Classpublic class FLARPatternLoader
InheritanceFLARPatternLoader Inheritance flash.events.EventDispatcher

Manages loading FLARPatterns and instantiating corresponding FLARCodes.



Public Properties
 PropertyDefined By
  loadedPatterns : Vector.<FLARCode>
[read-only] Get loaded patterns, as FLARCode instances.
FLARPatternLoader
  unscaledMarkerWidths : Vector.<Number>
[read-only] Return unscaled marker widths, for use by FLARMultiMarkerDetector.
FLARPatternLoader
Public Methods
 MethodDefined By
  
Constructor.
FLARPatternLoader
  
dispose():void
Frees up the pattern loader for garbage collection.
FLARPatternLoader
  
loadTrackerConfig(patterns:Vector.<FLARPattern>):void
Load a list of FLARPatterns, and store as FLARCodes accessible as loadedPatterns.
FLARPatternLoader
Property Detail
loadedPatternsproperty
loadedPatterns:Vector.<FLARCode>  [read-only]

Get loaded patterns, as FLARCode instances.


Implementation
    public function get loadedPatterns():Vector.<FLARCode>

Throws
Error if — still loading.
unscaledMarkerWidthsproperty 
unscaledMarkerWidths:Vector.<Number>  [read-only]

Return unscaled marker widths, for use by FLARMultiMarkerDetector. This array is synchronized with this.loadedPatterns -- the unscaledMarkerWidth at each index corresponds to the loaded pattern at each index.


Implementation
    public function get unscaledMarkerWidths():Vector.<Number>
Constructor Detail
FLARPatternLoader()Constructor
public function FLARPatternLoader()

Constructor.

Method Detail
dispose()method
public function dispose():void

Frees up the pattern loader for garbage collection.

loadTrackerConfig()method 
public function loadTrackerConfig(patterns:Vector.<FLARPattern>):void

Load a list of FLARPatterns, and store as FLARCodes accessible as loadedPatterns.

Parameters

patterns:Vector.<FLARPattern> — Vector of FLARPatterns to load.


Throws
Error If — pattern load is currently in progress.