Go to the documentation of this file.
79 #define XSFINGERDATA_INITIALIZER { XSQUATERNION_INITIALIZER, XSVECTOR3_INITIALIZER, XSVECTOR3_INITIALIZER, 0, 0, 0}
80 #define XSGLOVEDATA_INITIALIZER { XSFINGERDATA_INITIALIZER, XSFINGERDATA_INITIALIZER, XSFINGERDATA_INITIALIZER, XSFINGERDATA_INITIALIZER, XSFINGERDATA_INITIALIZER, XSFINGERDATA_INITIALIZER, \
81 XSFINGERDATA_INITIALIZER, XSFINGERDATA_INITIALIZER, XSFINGERDATA_INITIALIZER, XSFINGERDATA_INITIALIZER, XSFINGERDATA_INITIALIZER, XSFINGERDATA_INITIALIZER, \
99 #define XSFINGERSEGMENTCOUNT 12
158 inline const XsVector3& velocityIncrement()
const
170 inline uint16_t flags()
const
185 inline bool operator != (
const XsFingerData& other)
const
225 inline XsGloveData(
const uint16_t frameNumber,
const uint16_t validSampleFlags,
const XsFingerData* fingerData)
249 inline uint16_t validSampleFlags()
const
256 inline static int fingerSegmentCount()
284 inline bool operator != (
const XsGloveData& other)
const
void XsFingerData_construct(struct XsFingerData *thisPtr)
Initialize an XsFingerData object.
void XsFingerData_swap(struct XsFingerData *lhs, struct XsFingerData *rhs)
Swap the contents of two XsGloveData objects.
A class that represents a vector of real numbers.
struct XsFingerData XsFingerData
A container for glove data.
uint32_t m_frameNumber
The sequential frame number for the data.
void XsFingerData_destruct(struct XsFingerData *thisPtr)
Destruct an XsFingerData object.
A class that implements a quaternion.
uint16_t m_validSampleFlags
Flags describing the general validity of the data.
#define XSFINGERSEGMENTCOUNT
XsQuaternion m_orientationIncrement
The orientation increment for this segment.
bool operator==(const XsFilterProfile &lhs, const XsFilterProfile &rhs)
Returns true if lhs has the same type as rhs.
void XsFingerData_copy(struct XsFingerData *copy, struct XsFingerData const *src)
Copy the contents of an XsFingerData object.
A container for Finger data.
void XsGloveData_construct(struct XsGloveData *thisPtr)
Initialize an XsGloveData object.
XsVector3 m_velocityIncrement
The velocity increment for this segment.
void XsGloveData_copy(struct XsGloveData *copy, struct XsGloveData const *src)
Copy the contents of an XsGloveData object.
uint16_t m_flags
Data quality flags (LSB --> MSB: acc x,y,z gyr x,y,z mag x,y,z)
A class that represents a fixed size (3) vector.
void XsGloveData_swap(struct XsGloveData *lhs, struct XsGloveData *rhs)
Swap the contents of two XsGloveData objects.
void XsGloveData_destruct(struct XsGloveData *thisPtr)
Destruct an XsGloveData object.
struct XsGloveData XsGloveData
XsVector3 m_mag
The magnetic field data for this segment.
XsFingerData m_fingerData[XSFINGERSEGMENTCOUNT]
Data for each tracked finger segment.