17 class ctkPluginContext;
31 static ToolPtr create(
ToolPtr base, ctkPluginContext *pluginContext);
35 virtual std::set<Type> getTypes()
const;
39 virtual const std::map<double, ToolPositionMetadata>& getMetadataHistory();
41 virtual bool getVisible()
const;
42 virtual bool isInitialized()
const;
44 virtual QString getUid()
const;
45 virtual QString getName()
const;
47 virtual bool isCalibrated()
const;
49 virtual void setCalibration_sMt(
Transform3D calibration);
52 virtual double getTimestamp()
const;
53 virtual void printSelf(std::ostream &os,
Indent indent);
55 virtual double getTooltipOffset()
const;
56 virtual void setTooltipOffset(
double val);
57 virtual std::map<QString, Vector3D> getReferencePoints()
const;
58 virtual bool hasReferencePointWithId(QString
id);
65 virtual void set_prMt(
const Transform3D& prMt,
double timestamp);
66 virtual void setVisible(
bool vis);
70 virtual bool isNull();
73 void onStateChanged();
76 void initServiceListener();
79 void checkToolValidity();
81 ctkPluginContext *mPluginContext;
83 TrackingServicePtr mTrackingService;
84 boost::shared_ptr<ServiceTrackerListener<TrackingService> > mServiceListener;
90 #endif // CXTOOLPROXY_H
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class TrackingService > TrackingServicePtr
boost::shared_ptr< Probe > ProbePtr
boost::shared_ptr< TimedTransformMap > TimedTransformMapPtr
Formatting class for debug printing of the ssc library.
Service providing tools and tracking systems.
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