25 #ifndef INCLUDED_ReportState_h_GUID_452FA875_E51C_4A88_5A58_E28CB6F40B86
26 #define INCLUDED_ReportState_h_GUID_452FA875_E51C_4A88_5A58_E28CB6F40B86
50 apply(ReportType
const &r) {
113 template <
typename ReportType>
120 template <
typename ReportType>
127 #endif // INCLUDED_ReportState_h_GUID_452FA875_E51C_4A88_5A58_E28CB6F40B86
OSVR_PoseState pose
The pose structure, containing a position vector and a rotation quaternion.
A structure defining a 3D vector, often a position/translation.
A structure defining a quaternion, often a unit quaternion representing 3D rotation.
traits::StateType< ReportType >::type const & reportState(ReportType const &r)
Generic const accessor for the "state" member of a report.
Report type for 3D Direction vector.
Helper traits struct for reportState(), to access the state member of the various report types...
A structure defining a 2D vector, which represents position.
Report type for 2D location.
Metafunction/trait taking a ReportType and returning the associated StateType.
Report type for an orientation callback on a tracker interface.
A structure defining a 3D (6DOF) rigid body pose: translation and rotation.
OSVR_PositionState xyz
The position vector.
Report type for a position callback on a tracker interface.
OSVR_OrientationState rotation
The rotation unit quaternion.
Report type for a pose (position and orientation) callback on a tracker interface.