OSDN Git Service

[バックアップ]NyARToolkit
[nyartoolkit-and/nyartoolkit-and.git] / src / jp / nyatla / nyartoolkit / core / transmat / NyARTransMatResult.java
index 1c962c3..e6a4a45 100644 (file)
@@ -32,8 +32,6 @@
 package jp.nyatla.nyartoolkit.core.transmat;\r
 \r
 \r
-import jp.nyatla.nyartoolkit.core.transmat.rotmatrix.NyARRotMatrix;\r
-import jp.nyatla.nyartoolkit.core.types.*;\r
 import jp.nyatla.nyartoolkit.core.types.matrix.*;\r
 \r
 /**\r
@@ -42,39 +40,5 @@ import jp.nyatla.nyartoolkit.core.types.matrix.*;
  */\r
 public class NyARTransMatResult extends NyARDoubleMatrix34\r
 {\r
-       private boolean has_value = false;\r
-\r
-\r
-       /**\r
-        * パラメータで変換行列を更新します。\r
-        * \r
-        * @param i_rot\r
-        * @param i_off\r
-        * @param i_trans\r
-        */\r
-       public void updateMatrixValue(NyARRotMatrix i_rot, NyARDoublePoint3d i_off, NyARDoublePoint3d i_trans)\r
-       {\r
-               this.m00=i_rot.m00;\r
-               this.m01=i_rot.m01;\r
-               this.m02=i_rot.m02;\r
-               this.m03=i_rot.m00 * i_off.x + i_rot.m01 * i_off.y + i_rot.m02 * i_off.z + i_trans.x;\r
-\r
-               this.m10 = i_rot.m10;\r
-               this.m11 = i_rot.m11;\r
-               this.m12 = i_rot.m12;\r
-               this.m13 = i_rot.m10 * i_off.x + i_rot.m11 * i_off.y + i_rot.m12 * i_off.z + i_trans.y;\r
-\r
-               this.m20 = i_rot.m20;\r
-               this.m21 = i_rot.m21;\r
-               this.m22 = i_rot.m22;\r
-               this.m23 = i_rot.m20 * i_off.x + i_rot.m21 * i_off.y + i_rot.m22 * i_off.z + i_trans.z;\r
-\r
-               this.has_value = true;\r
-               return;\r
-       }\r
-\r
-       public boolean hasValue()\r
-       {\r
-               return this.has_value;\r
-       }\r
+       public boolean has_value = false;\r
 }\r