21 #ifndef __qSlicerReformatModuleWidget_h 22 #define __qSlicerReformatModuleWidget_h 27 #include "qSlicerReformatModuleExport.h" 29 class qSlicerReformatModuleWidgetPrivate;
33 class Q_SLICER_QTMODULES_REFORMAT_EXPORT
47 void setSliceNormal(
double x,
double y,
double z);
52 void setup()
override;
57 void setWorldPosition(
double* newWorldPosition);
61 void setSliceOffsetValue(
double offset);
64 void centerSliceNode();
70 void setSliceNormal(
double* normal);
73 void setNormalToCamera();
76 void setNormalToAxisX();
79 void setNormalToAxisY();
82 void setNormalToAxisZ();
86 void onMRMLSliceNodeModified(vtkObject* caller);
89 void onTrackSliceOffsetValueChanged(
double offset);
92 void onSliceVisibilityChanged(
bool visible);
93 void onReformatWidgetVisibilityChanged(
bool visible);
94 void onLockReformatWidgetToCamera(
bool lock);
96 void onOriginCoordinateReferenceButtonPressed(
int reference);
98 void onSliceNormalToAxisChanged(AxesReferenceType axis);
99 void onSliceOrientationChanged(
const QString& orientation);
100 void onSliderRotationChanged(
double rotationX);
103 QScopedPointer<qSlicerReformatModuleWidgetPrivate>
d_ptr;
Abstract Superclass for all specific types of MRML nodes.