21 #ifndef __qSlicerVolumeRenderingSettingsPanel_h 22 #define __qSlicerVolumeRenderingSettingsPanel_h 25 #include <ctkVTKObject.h> 26 #include <ctkSettingsPanel.h> 29 #include "qSlicerVolumeRenderingModuleExport.h" 30 class qSlicerVolumeRenderingSettingsPanelPrivate;
34 :
public ctkSettingsPanel
38 Q_PROPERTY(QString defaultRenderingMethod READ defaultRenderingMethod WRITE setDefaultRenderingMethod NOTIFY defaultRenderingMethodChanged)
39 Q_PROPERTY(QString defaultQuality READ defaultQuality WRITE setDefaultQuality NOTIFY defaultQualityChanged)
40 Q_PROPERTY(
int defaultInteractiveSpeed READ defaultInteractiveSpeed WRITE setDefaultInteractiveSpeed NOTIFY defaultInteractiveSpeedChanged)
41 Q_PROPERTY(
bool defaultSurfaceSmoothing READ defaultSurfaceSmoothing WRITE setDefaultSurfaceSmoothing NOTIFY defaultSurfaceSmoothingChanged)
42 Q_PROPERTY(QString gpuMemory READ gpuMemory WRITE setGPUMemory NOTIFY gpuMemoryChanged)
59 QString defaultRenderingMethod()const;
60 QString defaultQuality()const;
61 int defaultInteractiveSpeed()const;
62 bool defaultSurfaceSmoothing()const;
63 QString gpuMemory()const;
66 void setDefaultRenderingMethod(const QString& method);
67 void setDefaultQuality(const QString& quality);
68 void setDefaultInteractiveSpeed(
int interactiveSpeed);
69 void setDefaultSurfaceSmoothing(
bool surfaceSmoothing);
70 void setGPUMemory(const QString& gpuMemory);
73 void defaultRenderingMethodChanged(const QString&);
74 void defaultQualityChanged(const QString&);
75 void defaultInteractiveSpeedChanged(
int);
76 void defaultSurfaceSmoothingChanged(
bool);
77 void gpuMemoryChanged(QString);
80 void onVolumeRenderingLogicModified();
81 void onDefaultRenderingMethodChanged(
int);
82 void updateVolumeRenderingLogicDefaultRenderingMethod();
83 void onDefaultQualityChanged(
int);
84 void onDefaultInteractiveSpeedChanged(
double);
85 void onDefaultSurfaceSmoothingChanged(
bool);
86 void onGPUMemoryChanged();
87 void updateDefaultViewNodeFromWidget();
90 QScopedPointer<qSlicerVolumeRenderingSettingsPanelPrivate> d_ptr;
ctkSettingsPanel Superclass
Superclass typedef.