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 <QtWidgets/QWidget>
52 public Ui_StageSettingsData,
137 void eyeDistanceChanged();
140 void focalDistanceChanged();
143 void projectionTransformationChanged();
146 void downsamplingSliderChanged();
149 void killIdentificationLabels_();
154 Vector3 getTextureUpDirection_();
157 void setTextureUpDirection_(
const Vector3& tud);
160 float getUser2ScreenDistance_();
163 void setUser2ScreenDistance_(
const float& s2u);
166 float getUserEyeLevel_();
169 void setUserEyeLevel_(
const float& s2u);
172 float getUserEyeDistance_();
175 void setUserEyeDistance_(
const float& s2u);
177 void setDefaultValues_();
180 void saveSettingsToStage_();
186 std::vector<QSplashScreen*> identification_labels_;
void screenCountChanged(int number)
QRect getLeftEyeGeometry() const
virtual bool setValueAllowed(QObject *widget)
Allows to prevent restoring of widgets.
void loadEnvironmentMapPressed()
Show a QFileDialog to select a new environment texture map for the Scene.
Renderer::StereoMode getStereoMode() const
int getLeftEyeScreenNumber() const
RenderSetup::RendererType getControlScreenRendererType() const
void computeDefaultPressed()
QRect getRightEyeGeometry() const
void stereoScreenChanged(int new_screen)
RenderSetup::RendererType getStereoScreensRendererType() const
void apply()
Apply the new values to the stage.
StageSettings(QWidget *parent=0, const char *name="StageSettings", Qt::WindowFlags fl=0)
Constructor.
int getRightEyeScreenNumber() const
void updateFromStage()
Get the values for Stageing from the stage.
void fogBoxChanged(bool active)
int getControlScreenNumber() const
~StageSettings()
Destructor.
void environmentMapChanged(bool active)