14 #include "cxResourceExport.h" 34 explicit ToolImpl(
const QString& uid=
"",
const QString& name =
"");
43 virtual const std::map<double, ToolPositionMetadata>& getMetadataHistory();
45 virtual double getTooltipOffset()
const;
46 virtual void setTooltipOffset(
double val);
48 virtual void resetTrackingPositionFilter(TrackingPositionFilterPtr filter);
49 virtual bool isNull() {
return false; }
51 virtual void addXml(QDomNode& dataNode) {Q_UNUSED(dataNode)}
52 virtual void parseXml(QDomNode& dataNode) {Q_UNUSED(dataNode)}
55 virtual bool hasReferencePointWithId(QString
id);
57 virtual void set_prMt(
const Transform3D& prMt,
double timestamp);
58 void createToolGraphic();
66 virtual std::set<Type> getTypes()
const;
67 virtual std::map<QString, Vector3D> getReferencePoints()
const;
70 double mTooltipOffset;
76 #endif // CXTOOLIMPL_H
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< ToolImpl > cxToolPtr
boost::shared_ptr< TimedTransformMap > TimedTransformMapPtr
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
boost::shared_ptr< class TrackingPositionFilter > TrackingPositionFilterPtr
std::map< double, Transform3D > TimedTransformMap
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr