34 #ifndef CXPICKERREP_H_
35 #define CXPICKERREP_H_
37 #include "cxResourceVisualizationExport.h"
53 typedef boost::shared_ptr<class Image>
ImagePtr;
54 typedef boost::shared_ptr<class Tool>
ToolPtr;
78 virtual QString getType()
const;
82 void setEnabled(
bool on);
87 void setSphereRadius(
double radius);
91 void dataPicked(QString uid);
94 void pickLandmarkSlot(vtkObject* renderWindowInteractor);
98 virtual void addRepActorsToViewRenderer(
ViewPtr view);
99 virtual void removeRepActorsFromViewRenderer(
ViewPtr view);
100 void connectInteractor();
101 void disconnectInteractor();
103 virtual void onModifiedStartRender();
104 void toolHasChanged();
105 static void ProcessEvents(vtkObject*
object,
109 void OnLeftButtonDown();
110 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
boost::shared_ptr< class Tool > ToolPtr