28#ifndef UTILS_FASTRAK_PARSER_H
29#define UTILS_FASTRAK_PARSER_H
87 void append(
const QByteArray& chunk) { m_buffer.append(chunk); }
98 void reset() { m_buffer.clear(); }
106 static bool parseRecord(
const QByteArray& record, Units units,
FastrakSample& out);
110 Units m_units = Units::Centimetres;
Public umbrella header for UTILSLIB exposing the UTILSSHARED_EXPORT macro and build-info accessors.
#define UTILSSHARED_EXPORT
Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).
One decoded sample from a Fastrak ASCII stream.
QVector3D position
Position in metres (always normalised to SI).
QQuaternion orientation
Sensor orientation; identity if not provided.
int station
1-based station id reported by the device.
void setUnits(Units units)
void append(const QByteArray &chunk)