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 updateHistogram();
57 void onPresetButtonClicked();
58 void onLockWindowLevelButtonClicked();
59 void onHistogramSectionExpanded(
bool);
62 void showEvent(QShowEvent * event) override;
64 QScopedPointer<qSlicerScalarVolumeDisplayWidgetPrivate> d_ptr;
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.