23 #ifndef __qSlicerSubjectHierarchyLabelMapsPlugin_h 24 #define __qSlicerSubjectHierarchyLabelMapsPlugin_h 29 #include "qSlicerVolumesSubjectHierarchyPluginsExport.h" 31 class qSlicerSubjectHierarchyLabelMapsPluginPrivate;
71 QIcon
icon(vtkIdType itemID)
override;
77 QString
tooltip(vtkIdType itemID)
const override;
104 void toggle2DOutlineVisibility(
bool checked);
107 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
virtual bool showItemInView(vtkIdType itemID, vtkMRMLAbstractViewNode *viewNode, vtkIdList *allItemsToShow)
Abstract plugin for handling Subject Hierarchy items.
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D...
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