33 #ifndef CXPOSITIONSTORAGEFILE_H_
34 #define CXPOSITIONSTORAGEFILE_H_
36 #include "cxResourceExport.h"
40 #include <QDataStream>
41 #include <boost/cstdint.hpp>
83 bool read(
Transform3D* matrix,
double* timestamp,
int* toolIndex);
84 bool read(
Transform3D* matrix,
double* timestamp, QString* toolUid);
86 static QString timestampToString(
double timestamp);
89 QString mCurrentToolUid;
94 class Frame3D frameFromStream();
115 void write(
Transform3D matrix, uint64_t timestamp,
int toolIndex);
116 void write(
Transform3D matrix, uint64_t timestamp, QString toolUid);
118 QString mCurrentToolUid;
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
Defines an axis-angle representation of a position+orientation in 3D space.
Reader class for the position file.
Writer class for the position file.
boost::shared_ptr< PositionStorageReader > PositionStorageReaderPtr