23 #ifndef __qSlicerSubjectHierarchyVolumesPlugin_h 24 #define __qSlicerSubjectHierarchyVolumesPlugin_h 29 #include "qSlicerVolumesSubjectHierarchyPluginsExport.h" 35 #include <ctkVTKObject.h> 37 class qSlicerSubjectHierarchyVolumesPluginPrivate;
78 QIcon
icon(vtkIdType itemID)
override;
84 QString
tooltip(vtkIdType itemID)
const override;
116 void collectShownVolumes( QSet<vtkIdType>& shownVolumeItemIDs,
122 void showVolumesInBranch();
125 void showVolumeInForeground();
129 void onLayoutChanged();
131 void onLayoutChanged(
int layout);
136 void onSliceCompositeNodeModified();
140 void toggleResetFieldOfViewOnShowAction(
bool);
145 void toggleResetViewOrientationOnShowAction(
bool);
148 QScopedPointer<qSlicerSubjectHierarchyVolumesPluginPrivate>
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
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.
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D...
virtual Q_INVOKABLE int getDisplayVisibility(vtkIdType itemID) const
qSlicerSubjectHierarchyAbstractPlugin Superclass
virtual Q_INVOKABLE QIcon visibilityIcon(int visible)
Get visibility icon for a visibility state.
virtual Q_INVOKABLE QList< QAction * > visibilityContextMenuActions() const
MRML node for representing a volume (image stack).
Abstract Superclass for all specific types of MRML nodes.
virtual Q_INVOKABLE void showVisibilityContextMenuActionsForItem(vtkIdType itemID)
QScopedPointer< qSlicerSubjectHierarchyVolumesPluginPrivate > d_ptr
virtual Q_INVOKABLE double canOwnSubjectHierarchyItem(vtkIdType itemID) const