22 #ifndef __qMRMLSegmentationGeometryWidget_h 23 #define __qMRMLSegmentationGeometryWidget_h 26 #include "qSlicerSegmentationsModuleWidgetsExport.h" 33 #include <ctkVTKObject.h> 38 class qMRMLSegmentationGeometryWidgetPrivate;
46 Q_PROPERTY(
bool editEnabled READ editEnabled WRITE setEditEnabled)
47 Q_PROPERTY(
double oversamplingFactor READ oversamplingFactor WRITE setOversamplingFactor)
48 Q_PROPERTY(
bool isotropicSpacing READ isotropicSpacing WRITE setIsotropicSpacing)
49 Q_PROPERTY(
bool padSegmentation READ padSegmentation WRITE setPadSegmentation)
60 Q_INVOKABLE QString segmentationNodeID()const;
62 bool editEnabled()const;
64 double oversamplingFactor()const;
65 bool isotropicSpacing()const;
66 bool padSegmentation()const;
68 void setSpacing(
double aSpacing[3]);
77 void setEditEnabled(
bool aEditEnabled);
79 void setOversamplingFactor(
double aOversamplingFactor);
80 void setIsotropicSpacing(
bool aIsotropicSpacing);
81 void setPadSegmentation(
bool aPadSegmentation);
84 void setReferenceImageGeometryForSegmentationNode();
87 void resampleLabelmapsInSegmentationNode();
91 void updateWidgetFromMRML();
96 void onOversamplingFactorChanged(
double);
97 void onIsotropicSpacingChanged(
bool);
98 void onUserSpacingChanged(
double*);
99 void onPadSegmentationChanged(
bool);
102 QScopedPointer<qMRMLSegmentationGeometryWidgetPrivate> d_ptr;
Image data containing orientation information.
Abstract Superclass for all specific types of MRML nodes.
MRML node containing segmentationsSegmentation node stores a set of segments (also known as contours ...