12 #ifndef CXOPENIGTLINKTOOL_H 13 #define CXOPENIGTLINKTOOL_H 15 #include "org_custusx_core_openigtlink3_Export.h" 20 #include <boost/shared_ptr.hpp> 22 #include "igtlioBaseConverter.h" 61 virtual bool getVisible()
const;
62 virtual bool isInitialized()
const;
63 virtual QString getUid()
const;
64 virtual QString getName()
const;
66 virtual double getTimestamp()
const;
67 virtual double getTooltipOffset()
const;
68 virtual void setTooltipOffset(
double val);
70 virtual bool isCalibrated()
const;
75 virtual void setVisible(
bool vis);
77 bool doIdCorrespondToTool(QString openIGTLinkId);
79 bool applyReference();
83 void toolTransformAndTimestampSlot(
Transform3D prMs,
double timestampMS);
84 void calculateTpsSlot();
85 void toolVisibleSlot(
bool);
92 qint64 mLastReceivedPositionTime;
93 bool mPrintedWarningAboutTimeStampMismatch;
99 void calculateVisible();
100 void checkTimestampMismatch();
101 void printWarningAboutTimestampMismatch(
double diff);
std::vector< double > DoubleVector
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class IgstkTool > IgstkToolPtr
boost::shared_ptr< DoubleVector > DoubleVectorPtr
std::vector< Transform3DPtr > Transform3DVector
boost::shared_ptr< Transform3DVector > Transform3DVectorPtr
boost::shared_ptr< Probe > ProbePtr
boost::shared_ptr< class ProbeImpl > ProbeImplPtr
boost::shared_ptr< OpenIGTLinkTool > OpenIGTLinkToolPtr
Namespace for all CustusX production code.