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(
bool defaultAutoReleaseGraphicsResources READ defaultAutoReleaseGraphicsResources \
43 WRITE setDefaultAutoReleaseGraphicsResources NOTIFY defaultAutoReleaseGraphicsResourcesChanged)
44 Q_PROPERTY(QString gpuMemory READ gpuMemory WRITE setGPUMemory NOTIFY gpuMemoryChanged)
61 QString defaultRenderingMethod()const;
62 QString defaultQuality()const;
63 int defaultInteractiveSpeed()const;
64 bool defaultSurfaceSmoothing()const;
65 bool defaultAutoReleaseGraphicsResources()const;
66 QString gpuMemory()const;
69 void setDefaultRenderingMethod(const QString& method);
70 void setDefaultQuality(const QString& quality);
71 void setDefaultInteractiveSpeed(
int interactiveSpeed);
72 void setDefaultSurfaceSmoothing(
bool surfaceSmoothing);
73 void setDefaultAutoReleaseGraphicsResources(
bool autoRelease);
74 void setGPUMemory(const QString& gpuMemory);
77 void defaultRenderingMethodChanged(const QString&);
78 void defaultQualityChanged(const QString&);
79 void defaultInteractiveSpeedChanged(
int);
80 void defaultSurfaceSmoothingChanged(
bool);
81 void defaultAutoReleaseGraphicsResourcesChanged(
bool);
82 void gpuMemoryChanged(QString);
85 void onVolumeRenderingLogicModified();
86 void onDefaultRenderingMethodChanged(
int);
87 void updateVolumeRenderingLogicDefaultRenderingMethod();
88 void onDefaultQualityChanged(
int);
89 void onDefaultInteractiveSpeedChanged(
double);
90 void onDefaultSurfaceSmoothingChanged(
bool);
91 void onDefaultAutoReleaseGraphicsResourcesChanged(
bool);
92 void onGPUMemoryChanged();
93 void updateDefaultViewNodeFromWidget();
96 QScopedPointer<qSlicerVolumeRenderingSettingsPanelPrivate> d_ptr;
ctkSettingsPanel Superclass
Superclass typedef.