25 #ifndef INCLUDED_ReportState_h_GUID_452FA875_E51C_4A88_5A58_E28CB6F40B86 26 #define INCLUDED_ReportState_h_GUID_452FA875_E51C_4A88_5A58_E28CB6F40B86 29 #include <osvr/Util/ClientCallbackTypesC.h> 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.
Definition: ClientReportTypesC.h:161
Handles spatial transformations.
Definition: SerializationTraitExample_Complicated.h:40
A structure defining a 3D vector, often a position/translation.
Definition: Vec3C.h:48
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
A structure defining a quaternion, often a unit quaternion representing 3D rotation.
Definition: QuaternionC.h:49
traits::StateType< ReportType >::type const & reportState(ReportType const &r)
Generic const accessor for the "state" member of a report.
Definition: ReportState.h:115
Report type for 3D Direction vector.
Definition: ClientReportTypesC.h:256
Helper traits struct for reportState(), to access the state member of the various report types...
Definition: ReportState.h:48
A structure defining a 2D vector, which represents position.
Definition: Vec2C.h:48
Report type for 2D location.
Definition: ClientReportTypesC.h:247
Metafunction/trait taking a ReportType and returning the associated StateType.
Definition: ReportTraits.h:60
Report type for an orientation callback on a tracker interface.
Definition: ClientReportTypesC.h:145
A structure defining a 3D (6DOF) rigid body pose: translation and rotation.
Definition: Pose3C.h:54
OSVR_PositionState xyz
The position vector.
Definition: ClientReportTypesC.h:141
Report type for a position callback on a tracker interface.
Definition: ClientReportTypesC.h:137
OSVR_OrientationState rotation
The rotation unit quaternion.
Definition: ClientReportTypesC.h:149
Report type for a pose (position and orientation) callback on a tracker interface.
Definition: ClientReportTypesC.h:155