38 class ctkPluginContext;
52 static ToolPtr create(
ToolPtr base, ctkPluginContext *pluginContext);
56 virtual std::set<Type> getTypes()
const;
60 virtual const std::map<double, ToolPositionMetadata>& getMetadataHistory();
62 virtual bool getVisible()
const;
63 virtual bool isInitialized()
const;
65 virtual QString getUid()
const;
66 virtual QString getName()
const;
68 virtual bool isCalibrated()
const;
70 virtual void setCalibration_sMt(
Transform3D calibration);
73 virtual double getTimestamp()
const;
74 virtual void printSelf(std::ostream &os,
Indent indent);
76 virtual double getTooltipOffset()
const;
77 virtual void setTooltipOffset(
double val);
78 virtual std::map<int, Vector3D> getReferencePoints()
const;
79 virtual bool hasReferencePointWithId(
int id);
86 virtual void set_prMt(
const Transform3D& prMt,
double timestamp);
87 virtual void setVisible(
bool vis);
89 virtual bool isNull();
92 void onStateChanged();
95 void initServiceListener();
98 void checkToolValidity();
100 ctkPluginContext *mPluginContext;
102 TrackingServicePtr mTrackingService;
103 boost::shared_ptr<ServiceTrackerListener<TrackingService> > mServiceListener;
109 #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