21 #ifndef __qSlicerSubjectHierarchySegmentsPlugin_h 22 #define __qSlicerSubjectHierarchySegmentsPlugin_h 27 #include "qSlicerSegmentationsSubjectHierarchyPluginsExport.h" 29 class qSlicerSubjectHierarchySegmentsPluginPrivate;
72 const QString
helpText()
const override;
76 QIcon
icon(vtkIdType itemID)
override;
85 QString
tooltip(vtkIdType itemID)
const override;
134 void showOnlyCurrentSegment();
137 void showAllSegments();
146 QScopedPointer<qSlicerSubjectHierarchySegmentsPluginPrivate>
d_ptr;
virtual Q_INVOKABLE void setDisplayVisibility(vtkIdType itemID, int visible)
Set display visibility of an owned subject hierarchy item.
virtual QIcon icon(vtkIdType itemID)
virtual Q_INVOKABLE const QString roleForPlugin() const
virtual Q_INVOKABLE QString tooltip(vtkIdType itemID) const
Generate tooltip for a owned subject hierarchy item.
virtual bool showItemInView(vtkIdType itemID, vtkMRMLAbstractViewNode *viewNode, vtkIdList *allItemsToShow)
Abstract plugin for handling Subject Hierarchy items.
MRML node to represent a complete subject hierarchy tree.
virtual Q_INVOKABLE void editProperties(vtkIdType itemID)
Open module belonging to item and set inputs in opened module.
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D...
virtual double canReparentItemInsideSubjectHierarchy(vtkIdType itemID, vtkIdType parentItemID) const
virtual Q_INVOKABLE QColor getDisplayColor(vtkIdType itemID, QMap< int, QVariant > &terminologyMetaData) const
virtual Q_INVOKABLE int getDisplayVisibility(vtkIdType itemID) const
virtual Q_INVOKABLE void setDisplayColor(vtkIdType itemID, QColor color, QMap< int, QVariant > terminologyMetaData)
virtual Q_INVOKABLE void showContextMenuActionsForItem(vtkIdType itemID)
QScopedPointer< qSlicerSubjectHierarchySegmentsPluginPrivate > d_ptr
virtual Q_INVOKABLE QIcon visibilityIcon(int visible)
Get visibility icon for a visibility state.
virtual Q_INVOKABLE QList< QAction * > visibilityContextMenuActions() const
virtual const QString helpText() const
Get help text for plugin to be added in subject hierarchy module widget help box. ...
Abstract Superclass for all specific types of MRML nodes.
qSlicerSubjectHierarchyAbstractPlugin Superclass
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