10 #ifndef __vtkMRMLModelDisplayableManager_h 11 #define __vtkMRMLModelDisplayableManager_h 15 #include "vtkMRMLDisplayableManagerExport.h" 25 #include "vtkRenderWindow.h" 35 class vtkWorldPointPicker;
51 void PrintSelf(ostream& os, vtkIndent indent)
override;
58 vtkProp3D *GetActorByID(
const char *
id);
61 const char *GetIDByActor(vtkProp3D *actor);
64 vtkWorldPointPicker* GetWorldPointPicker();
67 vtkPropPicker* GetPropPicker();
70 vtkCellPicker* GetCellPicker();
73 vtkPointPicker* GetPointPicker();
77 int Pick(
int x,
int y);
81 int Pick3D(
double ras[3])
override;
84 double GetPickTolerance();
86 void SetPickTolerance(
double tolerance);
92 double* GetPickedRAS();
94 void SetPickedRAS(
double* newPickedRAS);
97 vtkIdType GetPickedCellID();
99 void SetPickedCellID(vtkIdType newCellID);
102 vtkIdType GetPickedPointID();
104 void SetPickedPointID(vtkIdType newPointID);
106 void SetClipPlaneFromMatrix(vtkMatrix4x4 *sliceMatrix,
144 void RemoveModelProps();
145 void RemoveModelObservers(
int clearCache);
149 void UpdateModelsFromMRML();
161 int UpdateClipSlicesFromMRML();
165 void RemoveDisplayedID(std::string &
id);
178 vtkInternal* Internal;
virtual void OnMRMLSceneStartClose()
virtual void RemoveMRMLObservers()
Remove MRML observers.
virtual void OnMRMLSceneEndClose()
MRML node to represent a 3D surface model.
MRML node to represent three clipping planes.
Manage display nodes with polydata in 3D views.
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int ActiveInteractionModes()
virtual void OnMRMLSceneNodeAdded(vtkMRMLNode *)
virtual void UnobserveMRMLScene()
static vtkMRMLAbstractThreeDViewDisplayableManager * New()
virtual void OnMRMLSceneNodeRemoved(vtkMRMLNode *)
virtual void UpdateFromMRML()
Interactive manipulation of the camera.
void ProcessMRMLNodesEvents(vtkObject *caller, unsigned long event, void *callData) override
virtual int Pick3D(double vtkNotUsed(ras)[3])
Superclass for displayable manager classes.
virtual const char * GetPickedNodeID()
Get the MRML ID of the picked node, returns empty string if no pick.
Abstract class that contains graphical display properties for displayable nodes.
virtual void UpdateFromMRMLScene()
Abstract Superclass for all specific types of MRML nodes.
virtual void OnInteractorStyleEvent(int eventid)