33 #ifndef CXPLUSPROTOCOL_H
34 #define CXPLUSPROTOCOL_H
36 #include "org_custusx_core_openigtlink_Export.h"
167 virtual QString getName()
const;
169 virtual void translate(
const igtl::TransformMessage::Pointer body);
170 virtual void translate(
const igtl::ImageMessage::Pointer body);
171 virtual void translate(
const igtl::StringMessage::Pointer body);
174 double getCurrentTimestamp()
const;
175 double getSyncedTimestampForTransformsAndImages(
double current_original_timestamp);
176 void registerTransformDeviceName(QString deviceName);
177 bool isCalibration(QString deviceName)
const;
178 QString findDeviceForCalibration(QString calibrationDeviceName)
const;
179 QString extractDeviceNameFromCalibrationDeviceName(QString calibrationDeviceName)
const;
180 QString findRegisteredTransformDeviceNameThatContains(QString deviceName)
const;
183 QStringList mKnownTransformDeviceNames;
184 QString mCalibrationKeyword;
185 QString mProbeToTrackerName;
187 double mLastKnownOriginalTimestamp;
188 double mLastKnownLocalTimestamp;
192 #endif // CXPLUSPROTOCOL_H
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
The PlusDialect class contains the knowhow on the packages sent from a PlusServer. For this class to function correctly, the Plus configuration file used by the PlusServer needs to set up correctly.