23 #ifndef __qSlicerSubjectHierarchyPluginLogic_h 24 #define __qSlicerSubjectHierarchyPluginLogic_h 30 #include <ctkVTKObject.h> 39 #include "qSlicerSubjectHierarchyModuleWidgetsExport.h" 41 class qSlicerSubjectHierarchyPluginLogicPrivate;
66 Q_INVOKABLE vtkIdType currentSubjectHierarchyItem()
const;
70 Q_INVOKABLE
void setCurrentSubjectHierarchyItem(vtkIdType itemID);
75 void registerCorePlugins();
85 void addSupportedDataNodesToSubjectHierarchy();
89 void onNodeAdded(vtkObject* scene, vtkObject* nodeObject);
92 void onNodeAboutToBeRemoved(vtkObject* scene, vtkObject* nodeObject);
95 void onNodeRemoved(vtkObject* scene, vtkObject* nodeObject);
99 void onSceneImportEnded(vtkObject* sceneObject);
101 void onSceneCloseEnded(vtkObject* sceneObject);
104 void onSceneRestoreEnded(vtkObject* sceneObject);
107 QScopedPointer<qSlicerSubjectHierarchyPluginLogicPrivate>
d_ptr;
Abstract plugin for handling Subject Hierarchy items.
A set of MRML Nodes that supports serialization and undo/redo.
Qt-based logic class to exercise Qt-related logic functions. The Subject hierarchy plugin mechanism a...
QScopedPointer< qSlicerSubjectHierarchyPluginLogicPrivate > d_ptr
virtual void setMRMLScene(vtkMRMLScene *)
Set the current MRML scene to the widget.
Abstract Superclass for all specific types of MRML nodes.