23 #ifndef __qSlicerSubjectHierarchyModelsPlugin_h 24 #define __qSlicerSubjectHierarchyModelsPlugin_h 29 #include "qSlicerModelsSubjectHierarchyPluginsExport.h" 31 class qSlicerSubjectHierarchyModelsPluginPrivate;
76 virtual QIcon
icon(vtkIdType itemID);
82 virtual QString
tooltip(vtkIdType itemID)
const;
111 void toggleSliceIntersectionVisibility(
bool on);
114 QScopedPointer<qSlicerSubjectHierarchyModelsPluginPrivate>
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
virtual Q_INVOKABLE QString tooltip(vtkIdType itemID) const
Generate tooltip for a owned subject hierarchy item.
qSlicerSubjectHierarchyAbstractPlugin Superclass
Abstract plugin for handling Subject Hierarchy items.
virtual Q_INVOKABLE QColor getDisplayColor(vtkIdType itemID, QMap< int, QVariant > &terminologyMetaData) const
virtual Q_INVOKABLE void setDisplayColor(vtkIdType itemID, QColor color, QMap< int, QVariant > terminologyMetaData)
virtual Q_INVOKABLE QIcon visibilityIcon(int visible)
Get visibility icon for a visibility state.
virtual Q_INVOKABLE QList< QAction * > visibilityContextMenuActions() const
Abstract Superclass for all specific types of MRML nodes.
QScopedPointer< qSlicerSubjectHierarchyModelsPluginPrivate > d_ptr
virtual Q_INVOKABLE void showVisibilityContextMenuActionsForItem(vtkIdType itemID)
virtual Q_INVOKABLE double canOwnSubjectHierarchyItem(vtkIdType itemID) const