15 #ifndef __vtkMRMLModelDisplayableManager_h 16 #define __vtkMRMLModelDisplayableManager_h 20 #include "vtkMRMLDisplayableManagerExport.h" 36 #include "vtkRenderWindow.h" 43 class vtkClipPolyData;
45 class vtkImplicitBoolean;
55 class vtkWorldPointPicker;
71 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
80 vtkProp3D *GetActorByID(
const char *
id);
84 const char *GetIDByActor(vtkProp3D *actor);
88 vtkWorldPointPicker* GetWorldPointPicker();
92 vtkPropPicker* GetPropPicker();
96 vtkCellPicker* GetCellPicker();
100 vtkPointPicker* GetPointPicker();
104 int Pick(
int x,
int y);
108 double GetPickTolerance();
109 void SetPickTolerance(
double tolerance);
113 const char *GetPickedNodeID();
117 double* GetPickedRAS();
118 void SetPickedRAS(
double* newPickedRAS);
121 vtkIdType GetPickedCellID();
122 void SetPickedCellID(vtkIdType newCellID);
126 vtkIdType GetPickedPointID();
127 void SetPickedPointID(vtkIdType newPointID);
133 void SetClipPlaneFromMatrix(vtkMatrix4x4 *sliceMatrix,
145 static vtkLookupTable* CreateLookupTableCopy(vtkLookupTable* source);
157 virtual
int ActiveInteractionModes() VTK_OVERRIDE;
159 virtual
void UnobserveMRMLScene() VTK_OVERRIDE;
161 virtual
void OnMRMLSceneStartClose() VTK_OVERRIDE;
162 virtual
void OnMRMLSceneEndClose() VTK_OVERRIDE;
163 virtual
void UpdateFromMRMLScene() VTK_OVERRIDE;
164 virtual
void OnMRMLSceneNodeAdded(
vtkMRMLNode* node) VTK_OVERRIDE;
165 virtual
void OnMRMLSceneNodeRemoved(
vtkMRMLNode* node) VTK_OVERRIDE;
167 virtual
void OnInteractorStyleEvent(
int eventId) VTK_OVERRIDE;
168 virtual
void ProcessMRMLNodesEvents(vtkObject *caller,
unsigned long event,
void *callData) VTK_OVERRIDE;
175 virtual
void UpdateFromMRML() VTK_OVERRIDE;
177 virtual
void RemoveMRMLObservers() VTK_OVERRIDE;
181 void RemoveModelProps();
182 void RemoveModelObservers(
int clearCache);
186 void UpdateModelsFromMRML();
198 int UpdateClipSlicesFromMRML();
202 void AddHierarchyObservers();
203 void RemoveHierarchyObservers(
int clearCache);
205 void CheckModelHierarchies();
206 void UpdateModelHierarchies();
212 void RemoveDispalyedID(
std::
string &
id);
219 void operator=(const vtkMRMLModelDisplayableManager&);
222 vtkInternal* Internal;
virtual void AdditionalInitializeStep()
MRML node to represent a 3D surface model.
MRML node to represent three clipping planes.
Manage display nodes with polydata in 3D views.
static vtkMRMLAbstractThreeDViewDisplayableManager * New()
MRML node to represent a hierarchyu of models.
Superclass for displayable manager classes.
Interactive manipulation of the camera.
Slicer logic class for volumes manipulation.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract class that contains graphical display properties for displayable nodes.
Abstract Superclass for all specific types of MRML nodes.
MRML node for storing information about the active nodes in the scene.