23 #ifndef __qSlicerSubjectHierarchyLabelMapsPlugin_h 24 #define __qSlicerSubjectHierarchyLabelMapsPlugin_h 29 #include "qSlicerVolumesSubjectHierarchyPluginsExport.h" 31 class qSlicerSubjectHierarchyLabelMapsPluginPrivate;
77 virtual QIcon
icon(vtkIdType itemID);
83 virtual QString
tooltip(vtkIdType itemID)
const;
106 void toggle2DOutlineVisibility(
bool checked);
109 QScopedPointer<qSlicerSubjectHierarchyLabelMapsPluginPrivate>
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
static const vtkIdType INVALID_ITEM_ID
virtual double canAddNodeToSubjectHierarchy(vtkMRMLNode *node, vtkIdType parentItemID=vtkMRMLSubjectHierarchyNode::INVALID_ITEM_ID) const
MRML node for representing a label map volume.
virtual Q_INVOKABLE QString tooltip(vtkIdType itemID) const
Generate tooltip for a owned subject hierarchy item.
QScopedPointer< qSlicerSubjectHierarchyLabelMapsPluginPrivate > d_ptr
Abstract plugin for handling Subject Hierarchy items.
qSlicerSubjectHierarchyAbstractPlugin Superclass
virtual Q_INVOKABLE int getDisplayVisibility(vtkIdType itemID) const
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.
virtual Q_INVOKABLE void showVisibilityContextMenuActionsForItem(vtkIdType itemID)
virtual Q_INVOKABLE double canOwnSubjectHierarchyItem(vtkIdType itemID) const