Packagecom.transmote.flar.utils.smoother
Classpublic class FLARMatrixSmoother_AverageSimple
InheritanceFLARMatrixSmoother_AverageSimple Inheritance Object
Implements IFLARMatrixSmoother

Averages a number of previous matrices to smooth motion of a model.



Public Methods
 MethodDefined By
  
FLARMatrixSmoother_AverageSimple
  
dispose():void
Halts all processes and frees this instance for garbage collection.
FLARMatrixSmoother_AverageSimple
  
initFromXML(paramsObj:Object):void
Init from a name-value paired object that contains parameters parsed from XML.
FLARMatrixSmoother_AverageSimple
  
smoothMatrices(storedMatrices:Vector.<Matrix3D>):Matrix3D
Returns a Matrix3D that is the average of a Vector of Matrix3D instances.
FLARMatrixSmoother_AverageSimple
Constructor Detail
FLARMatrixSmoother_AverageSimple()Constructor
public function FLARMatrixSmoother_AverageSimple()



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

Halts all processes and frees this instance for garbage collection.

initFromXML()method 
public function initFromXML(paramsObj:Object):void

Init from a name-value paired object that contains parameters parsed from XML.

Parameters

paramsObj:Object

smoothMatrices()method 
public function smoothMatrices(storedMatrices:Vector.<Matrix3D>):Matrix3D

Returns a Matrix3D that is the average of a Vector of Matrix3D instances.

Parameters

storedMatrices:Vector.<Matrix3D> — Vector of stored matrices to average. (storedMatrices is not modified.)

Returns
Matrix3D