1 #ifndef __qSlicerScalarVolumeDisplayWidget_h 2 #define __qSlicerScalarVolumeDisplayWidget_h 8 #include <ctkVTKObject.h> 13 #include "qSlicerVolumesModuleWidgetsExport.h" 18 class qSlicerScalarVolumeDisplayWidgetPrivate;
26 Q_PROPERTY(
bool enableColorTableComboBox READ isColorTableComboBoxEnabled WRITE setColorTableComboBoxEnabled )
27 Q_PROPERTY(
bool enableMRMLWindowLevelWidget READ isMRMLWindowLevelWidgetEnabled WRITE setMRMLWindowLevelWidgetEnabled )
37 bool isColorTableComboBoxEnabled()const;
38 void setColorTableComboBoxEnabled(
bool);
40 bool isMRMLWindowLevelWidgetEnabled()const;
41 void setMRMLWindowLevelWidgetEnabled(
bool);
50 void setInterpolate(
bool interpolate);
52 void setPreset(const QString& presetName);
55 void updateWidgetFromMRML();
56 void updateTransferFunction();
57 void onPresetButtonClicked();
58 void onLockWindowLevelButtonClicked();
61 void showEvent(QShowEvent * event);
63 QScopedPointer<qSlicerScalarVolumeDisplayWidgetPrivate> d_ptr;
66 Q_DECLARE_PRIVATE(qSlicerScalarVolumeDisplayWidget);
67 Q_DISABLE_COPY(qSlicerScalarVolumeDisplayWidget);
MRML node for representing a volume (image stack).
Abstract Superclass for all specific types of MRML nodes.
MRML node for representing a volume display attributes.