38 class ctkPluginContext;
52 static ToolPtr create(
ToolPtr base, ctkPluginContext *pluginContext);
56 virtual std::set<Type> getTypes()
const;
60 virtual bool getVisible()
const;
61 virtual bool isInitialized()
const;
63 virtual QString getUid()
const;
64 virtual QString getName()
const;
66 virtual bool isCalibrated()
const;
68 virtual void setCalibration_sMt(
Transform3D calibration);
71 virtual double getTimestamp()
const;
72 virtual void printSelf(std::ostream &os,
Indent indent);
74 virtual double getTooltipOffset()
const;
75 virtual void setTooltipOffset(
double val);
76 virtual std::map<int, Vector3D> getReferencePoints()
const;
77 virtual bool hasReferencePointWithId(
int id);
84 virtual void set_prMt(
const Transform3D& prMt,
double timestamp);
85 virtual void setVisible(
bool vis);
87 virtual bool isNull();
90 void onStateChanged();
93 void initServiceListener();
96 void checkToolValidity();
98 ctkPluginContext *mPluginContext;
101 boost::shared_ptr<ServiceTrackerListener<TrackingService> > mServiceListener;
107 #endif // CXTOOLPROXY_H
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class TrackingService > TrackingServicePtr
vtkSmartPointer< class vtkPolyData > vtkPolyDataPtr
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.
boost::shared_ptr< class TrackingPositionFilter > TrackingPositionFilterPtr
std::map< double, Transform3D > TimedTransformMap
boost::shared_ptr< class Tool > ToolPtr