8 #ifndef META_OCEAN_DEVICES_ORIENTATION_TRACKER_3DOF_H
9 #define META_OCEAN_DEVICES_ORIENTATION_TRACKER_3DOF_H
24 class OrientationTracker3DOF;
99 static inline DeviceType deviceTypeOrientationTracker3DOF();
Definition of a class holding the major and minor device type.
Definition: devices/Device.h:62
@ DEVICE_TRACKER
Tracker device.
Definition: devices/Device.h:46
std::unordered_map< std::string, Value > Metadata
Definition of an unordered map mapping keys to values.
Definition: Measurement.h:61
std::vector< ObjectId > ObjectIds
Definition of a vector holding object ids.
Definition: Measurement.h:51
Definition of a sample holding 3DOF orientation measurements.
Definition: OrientationTracker3DOF.h:45
OrientationTracker3DOFSample(const Timestamp ×tamp, const ReferenceSystem referenceSystem, const ObjectIds &objectIds, const Orientations &orientations, const Metadata &metadata=Metadata())
Creates a new 3DOF orientation sample.
const Orientations & orientations() const
Returns the 3DOF orientation measurement values.
Definition: OrientationTracker3DOF.h:120
OrientationTracker3DOFSample(const Timestamp ×tamp, const ReferenceSystem referenceSystem, ObjectIds &&objectIds, Orientations &&orientations, Metadata &&metadata=Metadata())
Creates a new 3DOF orientation sample.
std::vector< Quaternion > Orientations
Definition of a vector holding orientation values.
Definition: OrientationTracker3DOF.h:51
Orientations orientations_
Orientation measurement values stored as unit quaternion.
Definition: OrientationTracker3DOF.h:85
This class is the base class for all 3DOF orientation tracker objects.
Definition: OrientationTracker3DOF.h:38
OrientationTracker3DOF(const std::string &name)
Creates a new 3DOF orientation tracker object.
static DeviceType deviceTypeOrientationTracker3DOF()
Return the device type of this tracker.
Definition: OrientationTracker3DOF.h:115
~OrientationTracker3DOF() override
Destructs a 3DOF orientation tracker.
SmartObjectRef< OrientationTracker3DOFSample, Sample > OrientationTracker3DOFSampleRef
Definition of a smart object reference for 3DOF orientation tracker samples.
Definition: OrientationTracker3DOF.h:91
Definition of a sample holding one measurement values of a tracker.
Definition: devices/Tracker.h:88
This class implements the base class for all tracker devices.
Definition: devices/Tracker.h:39
@ TRACKER_ORIENTATION_3DOF
3DOF orientation tracker.
Definition: devices/Tracker.h:50
ReferenceSystem
Definition of different tracking reference system.
Definition: devices/Tracker.h:72
This class implements a timestamp.
Definition: Timestamp.h:36
SmartObjectRef< OrientationTracker3DOF, Device > OrientationTracker3DOFRef
Definition of a 3DOF orientation tracker reference object.
Definition: OrientationTracker3DOF.h:24
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15