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<int, Vector3D> getReferencePoints()
const;
58 virtual bool hasReferencePointWithId(
int id);
65 virtual void set_prMt(
const Transform3D& prMt,
double timestamp);
66 virtual void setVisible(
bool vis);
68 virtual bool isNull();
71 void onStateChanged();
74 void initServiceListener();
77 void checkToolValidity();
79 ctkPluginContext *mPluginContext;
81 TrackingServicePtr mTrackingService;
82 boost::shared_ptr<ServiceTrackerListener<TrackingService> > mServiceListener;
88 #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