23 #ifndef __qSlicerSubjectHierarchyVolumesPlugin_h 24 #define __qSlicerSubjectHierarchyVolumesPlugin_h 29 #include "qSlicerVolumesSubjectHierarchyPluginsExport.h" 35 #include <ctkVTKObject.h> 37 class qSlicerSubjectHierarchyVolumesPluginPrivate;
84 virtual QIcon
icon(vtkIdType itemID);
90 virtual QString
tooltip(vtkIdType itemID)
const;
118 void collectShownVolumes( QSet<vtkIdType>& shownVolumeItemIDs,
124 void showVolumesInBranch();
128 void onLayoutChanged();
130 void onLayoutChanged(
int layout);
135 void onSliceCompositeNodeModified();
138 QScopedPointer<qSlicerSubjectHierarchyVolumesPluginPrivate>
d_ptr;
virtual Q_INVOKABLE void setDisplayVisibility(vtkIdType itemID, int visible)
Set display visibility of a 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
virtual Q_INVOKABLE QString tooltip(vtkIdType itemID) const
Generate tooltip for a owned subject hierarchy item.
Abstract plugin for handling Subject Hierarchy items.
virtual Q_INVOKABLE int getDisplayVisibility(vtkIdType itemID) const
virtual Q_INVOKABLE void showContextMenuActionsForItem(vtkIdType itemID)
qSlicerSubjectHierarchyAbstractPlugin Superclass
virtual Q_INVOKABLE QIcon visibilityIcon(int visible)
Get visibility icon for a visibility state.
MRML node for representing a volume (image stack).
Abstract Superclass for all specific types of MRML nodes.
QScopedPointer< qSlicerSubjectHierarchyVolumesPluginPrivate > d_ptr
virtual Q_INVOKABLE double canOwnSubjectHierarchyItem(vtkIdType itemID) const
virtual Q_INVOKABLE QList< QAction * > itemContextMenuActions() const