|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
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;
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();
vtkCallbackCommandPtr mCallbackCommand
boost::shared_ptr< class GraphicalPoint3D > GraphicalPoint3DPtr
bool mSnapToSurface
if set, clicking on a Data surface will pick that point
Namespace for all CustusX production code.
vtkSmartPointer< class vtkCallbackCommand > vtkCallbackCommandPtr
PatientModelServicePtr mDataManager
ToolPtr mTool
the connected tool
boost::shared_ptr< class ViewportListener > ViewportListenerPtr
GraphicalPoint3DPtr mGraphicalPoint
boost::shared_ptr< class Mesh > MeshPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class Image > ImagePtr
ViewportListenerPtr mViewportListener
boost::shared_ptr< class View > ViewPtr
Default implementation of Rep.
boost::shared_ptr< class PickerRep > PickerRepPtr
boost::shared_ptr< class Tool > ToolPtr
bool mConnected
Interactor connected.
GeometricRepPtr mGlyphRep
Picking of points in an image.
vtkSmartPointer< class vtkCallbackCommand > vtkCallbackCommandPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
vtkSmartPointer< class vtkRenderer > vtkRendererPtr
Vector3D mPickedPoint
the last point that was successfully sampled from intersection with an image
boost::shared_ptr< class GeometricRep > GeometricRepPtr