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);
82 void toolTransformAndTimestampSlot(
Transform3D prMs,
double timestamp);
83 void calculateTpsSlot();
84 void toolVisibleSlot(
bool);
91 qint64 mLastReceivedPositionTime;
92 bool mPrintedWarningAboutTimeStampMismatch;
98 void calculateVisible();
99 void checkTimestampMismatch();
100 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.