Table of Contents

Class MotionInputData

名前空間
easyar
アセンブリ
EasyAR.Sense.dll

モーション入力データ。 タイムスタンプ、ワールド座標系に対する変換、およびトラッキング状態を含む。

public class MotionInputData : RefBase, IDisposable
継承
MotionInputData
実装
継承されたメンバー

メソッド

Clone()

public MotionInputData Clone()

CloneObject()

protected override object CloneObject()

timestamp()

タイムスタンプ。単位は秒です。

public virtual double timestamp()

trackingStatus()

デバイスのモーショントラッキング状態を取得します: `MotionTrackingStatus`_ 。6DOFのみに使用されます。

public virtual MotionTrackingStatus trackingStatus()

transform()

ワールド座標系に対する変換。

public virtual Matrix44F transform()

transformType()

変換タイプ。

public virtual CameraTransformType transformType()

tryCreateFiveDofRotXZ(double, Vec3F, Vec4F)

回転と2D平行移動を含む5DOF変換のデータを作成します。rotationは四元数で、順序はwxyzです。

public static Optional<MotionInputData> tryCreateFiveDofRotXZ(double timestamp, Vec3F position, Vec4F rotation)

パラメーター

timestamp
position
rotation

tryCreateSixDof(double, Vec3F, Vec4F, MotionTrackingStatus)

回転と平行移動を含む6DOF変換のデータを作成します。rotationは四元数で、順序はwxyzです。

public static Optional<MotionInputData> tryCreateSixDof(double timestamp, Vec3F position, Vec4F rotation, MotionTrackingStatus tracking_status)

パラメーター

timestamp
position
rotation
tracking_status

tryCreateThreeDofRotOnly(double, Vec4F)

3自由度の回転変換のみを含むデータを作成します。rotationは四元数で、順序はwxyzです。

public static Optional<MotionInputData> tryCreateThreeDofRotOnly(double timestamp, Vec4F rotation)

パラメーター

timestamp
rotation