CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::PositionStorageWriter Class Reference

Writer class for the position file. More...

#include <cxPositionStorageFile.h>

Public Member Functions

 PositionStorageWriter (QString filename)
 
 ~PositionStorageWriter ()
 
void write (Transform3D matrix, uint64_t timestamp, int toolIndex)
 
void write (Transform3D matrix, uint64_t timestamp, QString toolUid)
 

Detailed Description

Writer class for the position file.

The generated file contains a compact representation of tool position data along with timestamp and tool id. Extract the info with class PositionStorageReader.

For a description of the file format, see PositionStorageReader.

See also
PositionStorageReader

Definition at line 89 of file cxPositionStorageFile.h.

Constructor & Destructor Documentation

cx::PositionStorageWriter::PositionStorageWriter ( QString  filename)

Definition at line 189 of file cxPositionStorageFile.cpp.

cx::PositionStorageWriter::~PositionStorageWriter ( )

Definition at line 201 of file cxPositionStorageFile.cpp.

Member Function Documentation

void cx::PositionStorageWriter::write ( Transform3D  matrix,
uint64_t  timestamp,
int  toolIndex 
)

Definition at line 207 of file cxPositionStorageFile.cpp.

void cx::PositionStorageWriter::write ( Transform3D  matrix,
uint64_t  timestamp,
QString  toolUid 
)

Definition at line 226 of file cxPositionStorageFile.cpp.


The documentation for this class was generated from the following files: