Go to the documentation of this file.
65 #ifndef XSGLOVESNAPSHOT_H
66 #define XSGLOVESNAPSHOT_H
77 #define XSGLOVESNAPSHOT_INITIALIZER {0, 0, 0, 0, \
78 XSFINGERSNAPSHOT_INITIALIZER, XSFINGERSNAPSHOT_INITIALIZER, XSFINGERSNAPSHOT_INITIALIZER, XSFINGERSNAPSHOT_INITIALIZER, XSFINGERSNAPSHOT_INITIALIZER, XSFINGERSNAPSHOT_INITIALIZER, \
79 XSFINGERSNAPSHOT_INITIALIZER, XSFINGERSNAPSHOT_INITIALIZER, XSFINGERSNAPSHOT_INITIALIZER, XSFINGERSNAPSHOT_INITIALIZER, XSFINGERSNAPSHOT_INITIALIZER, XSFINGERSNAPSHOT_INITIALIZER}
80 #define XSFINGERSNAPSHOT_INITIALIZER {0,0,0, 0,0,0, 0,0,0, 0, 0, 0}
97 inline double toDouble()
const
139 #if 0 // def __cplusplus
A container for Glove Snapshot data.
uint32_t m_frameNumber
The frame number associated with the fingerdata.
#define XS_PACKED_STRUCT_START
int32_t m_iV[3]
The integrated velocity.
uint8_t m_padByte
A padded byte to align fingerdata.
uint16_t m_flags
The flags.
bool operator==(const XsFilterProfile &lhs, const XsFilterProfile &rhs)
Returns true if lhs has the same type as rhs.
#define XS_PACKED_STRUCT_END
XsFingerSnapshot m_fingers[12]
The 12 fingers.
uint8_t m_gyrClippingCounter
The gyroscope clipping counter.
uint8_t m_accClippingCounter
The acceleration clipping counter.
int16_t m_mag[3]
The magnetic field.
uint16_t m_validSampleFlags
The valid sample flags.
uint8_t m_vals[3]
The data.
A container for Finger Snapshot data.
int24_t m_iQ[3]
The integrated orientation.
XS_PACKED_STRUCT_START struct int24_t XS_PACKED_STRUCT