23#ifndef __qSlicerSubjectHierarchyLabelMapsPlugin_h
24#define __qSlicerSubjectHierarchyLabelMapsPlugin_h
29#include "qSlicerVolumesSubjectHierarchyPluginsExport.h"
31class qSlicerSubjectHierarchyLabelMapsPluginPrivate;
70 QIcon
icon(vtkIdType itemID)
override;
76 QString
tooltip(vtkIdType itemID)
const override;
106 QScopedPointer<qSlicerSubjectHierarchyLabelMapsPluginPrivate>
d_ptr;
qSlicerSubjectHierarchyAbstractPlugin(QObject *parent=nullptr)
QString tooltip(vtkIdType itemID) const override
Generate tooltip for a owned subject hierarchy item.
QIcon visibilityIcon(int visible) override
Get visibility icon for a visibility state.
void showLabelMapInAllViews(vtkMRMLLabelMapVolumeNode *node)
Show labelmap in all slice views. The argument node replaces any labelmap shown on the label layer.
void setDisplayVisibility(vtkIdType itemID, int visible) override
Set display visibility of a owned subject hierarchy item.
double canOwnSubjectHierarchyItem(vtkIdType itemID) const override
qSlicerSubjectHierarchyAbstractPlugin Superclass
qSlicerSubjectHierarchyLabelMapsPlugin(QObject *parent=nullptr)
QList< QAction * > visibilityContextMenuActions() const override
QIcon icon(vtkIdType itemID) override
Q_INVOKABLE const QString roleForPlugin() const override
void showVisibilityContextMenuActionsForItem(vtkIdType itemID) override
QScopedPointer< qSlicerSubjectHierarchyLabelMapsPluginPrivate > d_ptr
bool showItemInView(vtkIdType itemID, vtkMRMLAbstractViewNode *viewNode, vtkIdList *allItemsToShow) override
int getDisplayVisibility(vtkIdType itemID) const override
void toggle2DOutlineVisibility(bool checked)
Toggle labelmap outline visibility in the slice views.
double canAddNodeToSubjectHierarchy(vtkMRMLNode *node, vtkIdType parentItemID=vtkMRMLSubjectHierarchyNode::INVALID_ITEM_ID) const override
~qSlicerSubjectHierarchyLabelMapsPlugin() override
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D,...
MRML node for representing a label map volume.
Abstract Superclass for all specific types of MRML nodes.
static const vtkIdType INVALID_ITEM_ID