23 #ifndef __qSlicerSubjectHierarchyFolderPlugin_h 24 #define __qSlicerSubjectHierarchyFolderPlugin_h 29 #include "qSlicerSubjectHierarchyModuleWidgetsExport.h" 32 #include <ctkVTKObject.h> 37 class qSlicerSubjectHierarchyFolderPluginPrivate;
116 virtual QIcon
icon(vtkIdType itemID);
192 Q_INVOKABLE vtkIdType createFolderUnderItem(vtkIdType parentItemID);
208 Q_INVOKABLE
bool resolveHierarchyForItem(vtkIdType itemID);
212 Q_INVOKABLE
bool resolveHierarchies();
222 void onDataNodeAssociatedToHierarchyNode(vtkObject* dataNodeObject);
226 void createFolderUnderScene();
229 void createFolderUnderCurrentNode();
233 void onHierarchyNodeChildNodeAdded(vtkObject* parentNodeObject, vtkObject* childNodeObject);
236 void onApplyColorToBranchToggled(
bool);
244 void callModifiedOnModelNodesInCurrentBranch();
247 QScopedPointer<qSlicerSubjectHierarchyFolderPluginPrivate>
d_ptr;
QScopedPointer< qSlicerSubjectHierarchyFolderPluginPrivate > d_ptr
virtual QIcon icon(vtkIdType itemID)
virtual Q_INVOKABLE const QString roleForPlugin() const
MRML node to represent a display property of 3D surface model.
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
Q_INVOKABLE QString colorItemAttributeName() const
Name of color attribute in folder subject hierarchy items.
virtual Q_INVOKABLE QColor getDisplayColor(vtkIdType itemID, QMap< int, QVariant > &terminologyMetaData) const
virtual bool addNodeToSubjectHierarchy(vtkMRMLNode *node, vtkIdType parentItemID)
virtual Q_INVOKABLE void setDisplayColor(vtkIdType itemID, QColor color, QMap< int, QVariant > terminologyMetaData)
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.
virtual Q_INVOKABLE QList< QAction * > visibilityContextMenuActions() const
Abstract Superclass for all specific types of MRML nodes.
virtual Q_INVOKABLE void showVisibilityContextMenuActionsForItem(vtkIdType itemID)
virtual Q_INVOKABLE double canOwnSubjectHierarchyItem(vtkIdType itemID) const
virtual bool reparentItemInsideSubjectHierarchy(vtkIdType itemID, vtkIdType parentItemID)
virtual Q_INVOKABLE QList< QAction * > itemContextMenuActions() const