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)
59 Q_INVOKABLE QString segmentationNodeID()const;
61 bool editEnabled()const;
63 double oversamplingFactor()const;
64 bool isotropicSpacing()const;
66 void setSpacing(
double aSpacing[3]);
75 void setEditEnabled(
bool aEditEnabled);
77 void setOversamplingFactor(
double aOversamplingFactor);
78 void setIsotropicSpacing(
bool aIsotropicSpacing);
81 void setReferenceImageGeometryForSegmentationNode();
84 void resampleLabelmapsInSegmentationNode();
88 void updateWidgetFromMRML();
93 void onOversamplingFactorChanged(
double);
94 void onIsotropicSpacingChanged(
bool);
95 void onUserSpacingChanged(
double*);
98 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 ...