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 #include <BALL/VIEW/UIC/ui_stageSettings.h>
22 #include <QtGui/QWidget>
41 public Ui_StageSettingsData,
55 void updateFromStage();
69 void computeDefaultPressed();
72 void loadEnvironmentMapPressed();
75 void environmentMapChanged(
bool active);
78 void fogBoxChanged(
bool active);
81 void cappingColorPressed();
87 void eyeDistanceChanged();
90 void focalDistanceChanged();
93 void projectionTransformationChanged();
98 Vector3 getTextureUpDirection_()
99 throw(Exception::InvalidFormat);
102 void setTextureUpDirection_(const
Vector3& tud);
105 float getUser2ScreenDistance_()
106 throw(Exception::InvalidFormat);
109 void setUser2ScreenDistance_(const
float& s2u);
112 float getUserEyeLevel_()
113 throw(Exception::InvalidFormat);
116 void setUserEyeLevel_(const
float& s2u);
119 float getUserEyeDistance_()
120 throw(Exception::InvalidFormat);
123 void setUserEyeDistance_(const
float& s2u);
125 void setDefaultValues_();
128 void saveSettingsToStage_();