21#ifndef __qSlicerSubjectHierarchySegmentsPlugin_h
22#define __qSlicerSubjectHierarchySegmentsPlugin_h
27#include "qSlicerSegmentationsSubjectHierarchyPluginsExport.h"
29class qSlicerSubjectHierarchySegmentsPluginPrivate;
75 QIcon
icon(vtkIdType itemID)
override;
84 QString
tooltip(vtkIdType itemID)
const override;
150 QScopedPointer<qSlicerSubjectHierarchySegmentsPluginPrivate>
d_ptr;
qSlicerSubjectHierarchyAbstractPlugin(QObject *parent=nullptr)
qSlicerSubjectHierarchySegmentsPlugin(QObject *parent=nullptr)
void showAllSegments()
Show all segments in segmentation.
double canReparentItemInsideSubjectHierarchy(vtkIdType itemID, vtkIdType parentItemID) const override
void setDisplayVisibility(vtkIdType itemID, int visible) override
Set display visibility of a owned subject hierarchy item.
QColor getDisplayColor(vtkIdType itemID, QMap< int, QVariant > &terminologyMetaData) const override
void showVisibilityContextMenuActionsForItem(vtkIdType itemID) override
QString tooltip(vtkIdType itemID) const override
Generate tooltip for a owned subject hierarchy item.
void editProperties(vtkIdType itemID) override
Open module belonging to item and set inputs in opened module.
qSlicerSubjectHierarchyAbstractPlugin Superclass
QList< QAction * > visibilityContextMenuActions() const override
void jumpSlices()
Jump to slices in slice views to show current segment.
QIcon icon(vtkIdType itemID) override
bool reparentItemInsideSubjectHierarchy(vtkIdType itemID, vtkIdType parentItemID) override
void showContextMenuActionsForItem(vtkIdType itemID) override
void cloneSegment()
Clone the selected segment.
QList< QAction * > itemContextMenuActions() const override
Get item context menu item actions to add to tree view.
bool showItemInView(vtkIdType itemID, vtkMRMLAbstractViewNode *viewNode, vtkIdList *allItemsToShow) override
void showOnlyCurrentSegment()
Show only selected segment, hide all others in segmentation.
QScopedPointer< qSlicerSubjectHierarchySegmentsPluginPrivate > d_ptr
QIcon visibilityIcon(int visible) override
Get visibility icon for a visibility state.
void setDisplayColor(vtkIdType itemID, QColor color, QMap< int, QVariant > terminologyMetaData) override
~qSlicerSubjectHierarchySegmentsPlugin() override
int getDisplayVisibility(vtkIdType itemID) const override
const QString helpText() const override
Get help text for plugin to be added in subject hierarchy module widget help box.
void setOpacityForCurrentItem(double opacity)
Set opacity for current subject hierarchy item.
Q_INVOKABLE const QString roleForPlugin() const override
double canOwnSubjectHierarchyItem(vtkIdType itemID) const override
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D,...
Abstract Superclass for all specific types of MRML nodes.
MRML node to represent a complete subject hierarchy tree.