21 #ifndef __qSlicerSegmentationsModuleWidget_h 22 #define __qSlicerSegmentationsModuleWidget_h 27 #include "qSlicerSegmentationsModuleExport.h" 33 #include <ctkVTKObject.h> 35 class qSlicerSegmentationsModuleWidgetPrivate;
39 class vtkMRMLNodeReference;
43 class Ui_qSlicerSegmentationsModule;
68 void updateWidgetFromMRML();
91 vtkSegmentation* toSegmentation, QString segmentId,
bool removeFromSource=
false);
97 bool copySegmentsBetweenSegmentations(
bool copyFromCurrentSegmentation,
bool removeFromSource =
false);
99 bool exportFromCurrentSegmentation();
100 bool importToCurrentSegmentation();
107 void setOtherSegmentationOrRepresentationNode(
vtkMRMLNode* node);
110 void updateCopyMoveButtonStates();
113 void onSegmentSelectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected);
116 void onSegmentationNodeReferenceChanged();
119 void onEditSelectedSegment();
120 void onRemoveSelectedSegments();
122 void onImportExportOptionsButtonClicked();
123 void onImportExportApply();
125 void onMoveFromCurrentSegmentation();
126 void onCopyFromCurrentSegmentation();
127 void onCopyToCurrentSegmentation();
128 void onMoveToCurrentSegmentation();
130 void onMRMLSceneEndImportEvent();
131 void onMRMLSceneEndRestoreEvent();
132 void onMRMLSceneEndBatchProcessEvent();
133 void onMRMLSceneEndCloseEvent();
136 QScopedPointer<qSlicerSegmentationsModuleWidgetPrivate>
d_ptr;
MRML node to represent a complete subject hierarchy tree.
This class encapsulates a segmentation that can contain multiple segments and multiple representation...
MRML node for representing segmentation display attributes.
Abstract Superclass for all specific types of MRML nodes.
MRML node containing segmentationsSegmentation node stores a set of segments (also known as contours ...