5 #ifndef BALL_VIEW_DIALOGS_STAGESETTINGS_H
6 #define BALL_VIEW_DIALOGS_STAGESETTINGS_H
8 #ifndef BALL_COMMON_GLOBAL_H
12 #ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
16 #ifndef BALL_MATH_VECTOR3
20 #ifndef BALL_VIEW_RENDERING_RENDERSETUP_H
24 #ifndef BALL_VIEW_RENDERING_RENDERERS_RENDERER_H
28 #include <BALL/VIEW/UIC/ui_stageSettings.h>
30 #include <QtGui/QWidget>
52 public Ui_StageSettingsData,
66 void updateFromStage();
76 int getControlScreenNumber()
const;
80 int getLeftEyeScreenNumber()
const;
84 int getRightEyeScreenNumber()
const;
100 QRect getLeftEyeGeometry()
const;
104 QRect getRightEyeGeometry()
const;
106 virtual bool setValueAllowed(
QObject* widget);
111 void computeDefaultPressed();
114 void loadEnvironmentMapPressed();
117 void environmentMapChanged(
bool active);
120 void fogBoxChanged(
bool active);
123 void screenCountChanged(
int number);
126 void stereoScreenChanged(
int new_screen);
129 void identifyDisplays();
132 void stereoModeChanged();
137 void eyeDistanceChanged();
140 void focalDistanceChanged();
143 void projectionTransformationChanged();
146 void downsamplingSliderChanged();
149 void killIdentificationLabels_();
154 Vector3 getTextureUpDirection_()
155 throw(Exception::InvalidFormat);
158 void setTextureUpDirection_(const
Vector3& tud);
161 float getUser2ScreenDistance_()
162 throw(Exception::InvalidFormat);
165 void setUser2ScreenDistance_(const
float& s2u);
168 float getUserEyeLevel_()
169 throw(Exception::InvalidFormat);
172 void setUserEyeLevel_(const
float& s2u);
175 float getUserEyeDistance_()
176 throw(Exception::InvalidFormat);
179 void setUserEyeDistance_(const
float& s2u);
181 void setDefaultValues_();
184 void saveSettingsToStage_();
190 std::vector<QSplashScreen*> identification_labels_;
~StageSettings()
Destructor.
-*- Mode: C++; tab-width: 2; -*-