23 #ifndef __qSlicerSubjectHierarchyPluginLogic_h 24 #define __qSlicerSubjectHierarchyPluginLogic_h 30 #include <ctkVTKObject.h> 39 #include "qSlicerSubjectHierarchyModuleWidgetsExport.h" 42 class qSlicerSubjectHierarchyPluginLogicPrivate;
67 Q_INVOKABLE vtkIdType currentSubjectHierarchyItem()
const;
71 Q_INVOKABLE
void setCurrentSubjectHierarchyItem(vtkIdType itemID);
76 void registerCorePlugins();
80 Q_INVOKABLE QStringList availableViewMenuActionNames();
84 Q_INVOKABLE
void setDisplayedViewMenuActionNames(QStringList actionObjectNames);
94 void addSupportedDataNodesToSubjectHierarchy();
97 void registerViewMenuAction(QAction* action);
101 void onNodeAdded(vtkObject* scene, vtkObject* nodeObject);
104 void onNodeAboutToBeRemoved(vtkObject* scene, vtkObject* nodeObject);
107 void onNodeRemoved(vtkObject* scene, vtkObject* nodeObject);
111 void onSceneImportEnded(vtkObject* sceneObject);
113 void onSceneCloseEnded(vtkObject* sceneObject);
116 void onSceneRestoreEnded(vtkObject* sceneObject);
119 void onSceneBatchProcessEnded(vtkObject* sceneObject);
122 void onDisplayNodeModified(vtkObject*, vtkObject*);
124 void onDisplayMenuEvent(vtkObject*, vtkObject*);
126 void editProperties();
129 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.
Singleton class managing Subject Hierarchy plugins.