// // First field in file is 4-byte integer containing the number // of samples in the sequence. // // The remainder of the file consists of the points in the sequence. #ifndef _SENSORDATA_H_ #define _SENSORDATA_H_ class SensorData { public: int TotalSteps; //number of samples int Step; float m_fTime; // Time in seconds at which sample was taken (from start of collection) float m_wandPosition[3],m_wandUp[3],m_wandLeft[3],m_wandBack[3]; // Position and three orientation vectors float m_headPosition[3],m_headUp[3],m_headLeft[3],m_headBack[3]; // Ditto int m_iButtons[3]; // State of the three wand buttons (usually 0 0 0) }; #endif