23 #ifndef __qMRMLSegmentationDisplayNodeWidget_h 24 #define __qMRMLSegmentationDisplayNodeWidget_h 29 #include "qSlicerSegmentationsModuleWidgetsExport.h" 33 #include <ctkVTKObject.h> 35 class qMRMLSegmentationDisplayNodeWidgetPrivate;
58 Q_INVOKABLE QString segmentationDisplayNodeID();
61 Q_INVOKABLE QString currentSegmentID();
70 Q_INVOKABLE
void setCurrentSegmentID(QString segmentID);
73 void updateWidgetFromMRML();
76 void populate3DRepresentationsCombobox();
78 void populate2DRepresentationsCombobox();
80 void onVisibilityChanged(
int);
81 void onOpacityChanged(
double);
82 void onVisibilitySliceFillChanged(
int);
83 void onVisibilitySliceOutlineChanged(
int);
84 void onVisibility3DChanged(
int);
85 void onOpacitySliceFillChanged(
double);
86 void onOpacitySliceOutlineChanged(
double);
87 void onOpacity3DChanged(
double);
88 void onSliceIntersectionThicknessChanged(
int);
89 void onRepresentation3DChanged(
int);
90 void onRepresentation2DChanged(
int);
91 void onSegmentVisibilitySliceFillChanged(
int);
92 void onSegmentVisibilitySliceOutlineChanged(
int);
93 void onSegmentVisibility3DChanged(
int);
94 void onSegmentOpacitySliceFillChanged(
double);
95 void onSegmentOpacitySliceOutlineChanged(
double);
96 void onSegmentOpacity3DChanged(
double);
99 void onSegmentSelectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected);
103 void updateSelectedSegmentSection();
106 QScopedPointer<qMRMLSegmentationDisplayNodeWidgetPrivate>
d_ptr;
MRML node for representing segmentation display attributes.
MRML node containing segmentationsSegmentation node stores a set of segments (also known as contours ...