23 #ifndef __qSlicerSubjectHierarchyFolderPlugin_h 24 #define __qSlicerSubjectHierarchyFolderPlugin_h 29 #include "qSlicerSubjectHierarchyModuleWidgetsExport.h" 32 #include <ctkVTKObject.h> 37 class qSlicerSubjectHierarchyFolderPluginPrivate;
114 virtual QIcon
icon(vtkIdType itemID);
170 Q_INVOKABLE vtkIdType createFolderUnderItem(vtkIdType parentItemID);
186 Q_INVOKABLE
bool resolveHierarchyForItem(vtkIdType itemID);
190 Q_INVOKABLE
bool resolveHierarchies();
197 void onDataNodeAssociatedToHierarchyNode(vtkObject* dataNodeObject);
201 void createFolderUnderScene();
204 void createFolderUnderCurrentNode();
208 void onHierarchyNodeChildNodeAdded(vtkObject* parentNodeObject, vtkObject* childNodeObject);
211 QScopedPointer<qSlicerSubjectHierarchyFolderPluginPrivate>
d_ptr;
QScopedPointer< qSlicerSubjectHierarchyFolderPluginPrivate > d_ptr
virtual QIcon icon(vtkIdType itemID)
virtual Q_INVOKABLE const QString roleForPlugin() const
static const vtkIdType INVALID_ITEM_ID
virtual double canAddNodeToSubjectHierarchy(vtkMRMLNode *node, vtkIdType parentItemID=vtkMRMLSubjectHierarchyNode::INVALID_ITEM_ID) const
qSlicerSubjectHierarchyAbstractPlugin Superclass
Abstract plugin for handling Subject Hierarchy items.
virtual Q_INVOKABLE void editProperties(vtkIdType itemID)
Open module belonging to item and set inputs in opened module.
Abstract class representing a hierarchy member.
virtual double canReparentItemInsideSubjectHierarchy(vtkIdType itemID, vtkIdType parentItemID) const
virtual bool addNodeToSubjectHierarchy(vtkMRMLNode *node, vtkIdType parentItemID)
virtual Q_INVOKABLE void showContextMenuActionsForItem(vtkIdType itemID)
virtual Q_INVOKABLE QList< QAction * > sceneContextMenuActions() const
virtual Q_INVOKABLE QIcon visibilityIcon(int visible)
Get visibility icon for a visibility state.
Subject hierarchy folder plugin.
Abstract Superclass for all specific types of MRML nodes.
virtual Q_INVOKABLE double canOwnSubjectHierarchyItem(vtkIdType itemID) const
virtual bool reparentItemInsideSubjectHierarchy(vtkIdType itemID, vtkIdType parentItemID)
virtual Q_INVOKABLE QList< QAction * > itemContextMenuActions() const