Packagejp.nyatla.nyartoolkit.as3.core.transmat.rotmatrix
Classpublic class NyARRotMatrix
InheritanceNyARRotMatrix Inheritance NyARDoubleMatrix33 Inheritance Object

回転行列計算用の、3x3行列



Public Properties
 PropertyDefined By
 Inheritedm00 : Number
NyARDoubleMatrix33
 Inheritedm01 : Number
NyARDoubleMatrix33
 Inheritedm02 : Number
NyARDoubleMatrix33
 Inheritedm10 : Number
NyARDoubleMatrix33
 Inheritedm11 : Number
NyARDoubleMatrix33
 Inheritedm12 : Number
NyARDoubleMatrix33
 Inheritedm20 : Number
NyARDoubleMatrix33
 Inheritedm21 : Number
NyARDoubleMatrix33
 Inheritedm22 : Number
NyARDoubleMatrix33
Public Methods
 MethodDefined By
  
インスタンスを準備します。
NyARRotMatrix
 Inherited
createArray(i_number:int):Vector.<NyARDoubleMatrix33>
[static]
NyARDoubleMatrix33
  
getPoint3d(i_in_point:NyARDoublePoint3d, i_out_point:NyARDoublePoint3d):void
i_in_pointを変換行列で座標変換する。
NyARRotMatrix
  
getPoint3dBatch(i_in_point:Vector.<NyARDoublePoint3d>, i_out_point:Vector.<NyARDoublePoint3d>, i_number_of_vertex:int):void
複数の頂点を一括して変換する
NyARRotMatrix
 Inherited
getValue(o_value:Vector.<Number>):void
遅いからあんまり使わないでね。
NyARDoubleMatrix33
 Inherited
この関数は、0-PIの間で値を返します。
NyARDoubleMatrix33
  
NyARTransMatResultの内容からNyARRotMatrixを復元します。
NyARRotMatrix
  
initRotBySquare(i_linear:Vector.<NyARLinear>, i_sqvertex:Vector.<NyARDoublePoint2d>):void
NyARRotMatrix
 Inherited
NyARDoubleMatrix33
 Inherited
setValue(i_value:Vector.<Number>):void
遅いからあんまり使わないでね。
NyARDoubleMatrix33
 Inherited
NyARDoubleMatrix33
 Inherited
setZXYAngle_Number(i_x:Number, i_y:Number, i_z:Number):void
NyARDoubleMatrix33
 Inherited
NyARDoubleMatrix33
 Inherited
transformVertex_double(i_x:Number, i_y:Number, i_z:Number, o_out:NyARDoublePoint3d):void
NyARDoubleMatrix33
 Inherited
回転行列を適応して座標変換します。
NyARDoubleMatrix33
Constructor Detail
NyARRotMatrix()Constructor
public function NyARRotMatrix(i_matrix:NyARPerspectiveProjectionMatrix)

インスタンスを準備します。

Parameters
i_matrix:NyARPerspectiveProjectionMatrix
Method Detail
getPoint3d()method
public function getPoint3d(i_in_point:NyARDoublePoint3d, i_out_point:NyARDoublePoint3d):void

i_in_pointを変換行列で座標変換する。

Parameters

i_in_point:NyARDoublePoint3d
 
i_out_point:NyARDoublePoint3d

getPoint3dBatch()method 
public function getPoint3dBatch(i_in_point:Vector.<NyARDoublePoint3d>, i_out_point:Vector.<NyARDoublePoint3d>, i_number_of_vertex:int):void

複数の頂点を一括して変換する

Parameters

i_in_point:Vector.<NyARDoublePoint3d>
 
i_out_point:Vector.<NyARDoublePoint3d>
 
i_number_of_vertex:int

initRotByPrevResult()method 
public function initRotByPrevResult(i_prev_result:NyARTransMatResult):void

NyARTransMatResultの内容からNyARRotMatrixを復元します。

Parameters

i_prev_result:NyARTransMatResult

initRotBySquare()method 
public function initRotBySquare(i_linear:Vector.<NyARLinear>, i_sqvertex:Vector.<NyARDoublePoint2d>):void

Parameters

i_linear:Vector.<NyARLinear>
 
i_sqvertex:Vector.<NyARDoublePoint2d>


Throws
NyARException