Go to the documentation of this file.
72 #define SWAP(T, a, b) { T tmp = a; a = b; b = tmp; }
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 container for glove data.
void XsVector_swap(XsVector *a, XsVector *b)
Swap the contents of a and b.
void XsQuaternion_copy(XsQuaternion *copy, XsQuaternion const *src)
Copies the contents of thisPtr into copy.
uint32_t m_frameNumber
The sequential frame number for the data.
void XsFingerData_destruct(struct XsFingerData *thisPtr)
Destruct an XsFingerData object.
uint16_t m_validSampleFlags
Flags describing the general validity of the data.
void XsVector3_copy(XsVector *copy, XsVector3 const *src)
Copy the contents of the XsVector3 to copy.
#define XSFINGERSEGMENTCOUNT
XsQuaternion m_orientationIncrement
The orientation increment for this segment.
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.
void XsVector3_construct(XsVector3 *thisPtr, const XsReal *src)
Init the XsVector3 and copy the data from src into the vector if src is not null.
XsVector3 m_velocityIncrement
The velocity increment for this segment.
XsVector m_vector
The underlying vector.
void XsQuaternion_swap(XsQuaternion *a, XsQuaternion *b)
Swap the contents of a and b.
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)
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.
XsVector3 m_mag
The magnetic field data for this segment.
XsFingerData m_fingerData[XSFINGERSEGMENTCOUNT]
Data for each tracked finger segment.