Class MotionInputData
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Bewegungseingabedaten. Enthält Zeitstempel, Transformation relativ zum Weltkoordinatensystem und Tracking-Status.
public class MotionInputData : RefBase, IDisposable
- Vererbung
-
MotionInputData
- Implementiert
- Geerbte Mitglieder
Methoden
Clone()
public MotionInputData Clone()
CloneObject()
protected override object CloneObject()
timestamp()
Zeitstempel. Einheit ist Sekunden.
public virtual double timestamp()
trackingStatus()
Holt den Gerätebewegungstracking-Status: `MotionTrackingStatus`_ . Nur für 6DOF verwendet.
public virtual MotionTrackingStatus trackingStatus()
transform()
Transformation relativ zum Weltkoordinatensystem.
public virtual Matrix44F transform()
transformType()
Transformationsart.
public virtual CameraTransformType transformType()
tryCreateFiveDofRotXZ(double, Vec3F, Vec4F)
Erstellt Daten, die eine 5DOF-Transformation mit Rotation und 2D-Translation enthalten. Die Rotation ist ein Quaternion mit der Reihenfolge wxyz.
public static Optional<MotionInputData> tryCreateFiveDofRotXZ(double timestamp, Vec3F position, Vec4F rotation)
Parameter
timestamppositionrotation
tryCreateSixDof(double, Vec3F, Vec4F, MotionTrackingStatus)
Erstellt Daten, die eine 6DOF-Transformation mit Rotation und Translation enthalten. Die Rotation ist ein Quaternion mit der Reihenfolge wxyz.
public static Optional<MotionInputData> tryCreateSixDof(double timestamp, Vec3F position, Vec4F rotation, MotionTrackingStatus tracking_status)
Parameter
timestamppositionrotationtracking_status
tryCreateThreeDofRotOnly(double, Vec4F)
Erstellt Daten, die nur eine 3DOF-Rotationstransformation enthalten. Die Rotation ist ein Quaternion mit der Reihenfolge wxyz.
public static Optional<MotionInputData> tryCreateThreeDofRotOnly(double timestamp, Vec4F rotation)
Parameter
timestamprotation