21 #ifndef __qSlicerSubjectHierarchySegmentationsPlugin_h 22 #define __qSlicerSubjectHierarchySegmentationsPlugin_h 27 #include "qSlicerSegmentationsSubjectHierarchyPluginsExport.h" 29 class qSlicerSubjectHierarchySegmentationsPluginPrivate;
69 virtual QString
tooltip(vtkIdType itemID)
const;
72 virtual const QString
helpText()
const;
76 virtual QIcon
icon(vtkIdType itemID);
106 void onSegmentAdded(vtkObject* caller,
void* callData);
110 void onSegmentRemoved(vtkObject* caller,
void* callData);
114 void onSegmentModified(vtkObject* caller,
void* callData);
118 void onSubjectHierarchyItemModified(vtkObject* caller,
void* callData);
122 void onSubjectHierarchyItemAboutToBeRemoved(vtkObject* caller,
void* callData);
126 void exportToBinaryLabelmap();
129 void exportToClosedSurface();
132 void toggle2DFillVisibility(
bool);
135 void toggle2DOutlineVisibility(
bool);
138 void toggle3DVisibility(
bool);
141 QScopedPointer<qSlicerSubjectHierarchySegmentationsPluginPrivate>
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)
qSlicerSubjectHierarchyAbstractPlugin Superclass
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 bool addNodeToSubjectHierarchy(vtkMRMLNode *node, vtkIdType parentItemID)
virtual Q_INVOKABLE void showContextMenuActionsForItem(vtkIdType itemID)
virtual Q_INVOKABLE QIcon visibilityIcon(int visible)
Get visibility icon for a visibility state.
QScopedPointer< qSlicerSubjectHierarchySegmentationsPluginPrivate > d_ptr
virtual Q_INVOKABLE QList< QAction * > visibilityContextMenuActions() const
virtual const QString helpText() const
Get help text for plugin to be added in subject hierarchy module widget help box. ...
Abstract Superclass for all specific types of MRML nodes.
virtual Q_INVOKABLE void showVisibilityContextMenuActionsForItem(vtkIdType itemID)
virtual Q_INVOKABLE double canOwnSubjectHierarchyItem(vtkIdType itemID) const
virtual Q_INVOKABLE QList< QAction * > itemContextMenuActions() const
MRML node containing segmentationsSegmentation node stores a set of segments (also known as contours ...