13 #ifndef CXPICKERREP_H_ 14 #define CXPICKERREP_H_ 16 #include "cxResourceVisualizationExport.h" 32 typedef boost::shared_ptr<class Image>
ImagePtr;
33 typedef boost::shared_ptr<class Tool>
ToolPtr;
57 virtual QString getType()
const;
59 void setTool(ToolPtr tool);
61 void setEnabled(
bool on);
66 void setSphereRadius(
double radius);
70 void dataPicked(QString uid);
73 void pickLandmarkSlot(vtkObject* renderWindowInteractor);
77 virtual void addRepActorsToViewRenderer(
ViewPtr view);
78 virtual void removeRepActorsFromViewRenderer(
ViewPtr view);
79 void connectInteractor();
80 void disconnectInteractor();
82 virtual void onModifiedStartRender();
83 void toolHasChanged();
84 static void ProcessEvents(vtkObject*
object,
88 void OnLeftButtonDown();
89 void OnLeftButtonUp();
boost::shared_ptr< class GraphicalPoint3D > GraphicalPoint3DPtr
boost::shared_ptr< class ViewportListener > ViewportListenerPtr
boost::shared_ptr< class Image > ImagePtr
bool mConnected
Interactor connected.
boost::shared_ptr< class View > ViewPtr
vtkSmartPointer< class vtkCallbackCommand > vtkCallbackCommandPtr
vtkSmartPointer< class vtkCallbackCommand > vtkCallbackCommandPtr
boost::shared_ptr< class PickerRep > PickerRepPtr
Picking of points in an image.
vtkSmartPointer< class vtkRenderer > vtkRendererPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Default implementation of Rep.
bool mSnapToSurface
if set, clicking on a Data surface will pick that point
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
GraphicalPoint3DPtr mGraphicalPoint
ViewportListenerPtr mViewportListener
PatientModelServicePtr mDataManager
GeometricRepPtr mGlyphRep
ToolPtr mTool
the connected tool
boost::shared_ptr< class Mesh > MeshPtr
Vector3D mPickedPoint
the last point that was successfully sampled from intersection with an image
vtkCallbackCommandPtr mCallbackCommand
boost::shared_ptr< class GeometricRep > GeometricRepPtr
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr