Class MotionInputData
- 名前空間
- easyar
- アセンブリ
- EasyAR.Sense.dll
モーション入力データ。 timestamp、ワールド座標系に対する transform、および tracking ステータスを含みます。
public class MotionInputData : RefBase, IDisposable
- 継承
-
MotionInputData
- 実装
- 継承されたメンバー
メソッド
Clone()
public MotionInputData Clone()
timestamp()
Timestamp。単位は秒です。
public virtual double timestamp()
trackingStatus()
デバイスの motion tracking ステータス `MotionTrackingStatus`_ を取得します。6DOF のみに使用されます。
public virtual MotionTrackingStatus trackingStatus()
transform()
ワールド座標系に対する transform。
public virtual Matrix44F transform()
transformType()
Transform タイプ。
public virtual CameraTransformType transformType()
tryCreateFiveDofRotXZ(double, Vec3F, Vec4F)
回転と 2D 平行移動を含む 5DOF transform のデータを作成します。rotation はクォータニオンで、順序は wxyz です。
public static Optional<MotionInputData> tryCreateFiveDofRotXZ(double timestamp, Vec3F position, Vec4F rotation)
パラメーター
timestamppositionrotation
tryCreateSixDof(double, Vec3F, Vec4F, MotionTrackingStatus)
回転と平行移動を含む 6DOF transform のデータを作成します。rotation はクォータニオンで、順序は wxyz です。
public static Optional<MotionInputData> tryCreateSixDof(double timestamp, Vec3F position, Vec4F rotation, MotionTrackingStatus tracking_status)
パラメーター
timestamppositionrotationtracking_status
tryCreateThreeDofRotOnly(double, Vec4F)
3DOF の回転 transform のみを含むデータを作成します。rotation はクォータニオンで、順序は wxyz です。
public static Optional<MotionInputData> tryCreateThreeDofRotOnly(double timestamp, Vec4F rotation)
パラメーター
timestamprotation