BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
BALL::VIEW::StageSettings Class Reference

#include <BALL/VIEW/DIALOGS/stageSettings.h>

Inheritance diagram for BALL::VIEW::StageSettings:
QWidget BALL::VIEW::PreferencesEntry

List of all members.

Public Slots

void colorPressed ()
 Show a QColorDialog to select a new background color for the Scene.
void computeDefaultPressed ()
void loadEnvironmentMapPressed ()
 Show a QFileDialog to select a new environment texture map for the Scene.
void environmentMapChanged (bool active)
void fogBoxChanged (bool active)
void cappingColorPressed ()

Public Member Functions

 StageSettings (QWidget *parent=0, const char *name="StageSettings", Qt::WFlags fl=0)
 Constructor.
 ~StageSettings ()
 Destructor.
void updateFromStage ()
 Get the values for Stageing from the stage.
void apply ()
 Apply the new values to the stage.
void getGLSettings ()

Private Slots

void eyeDistanceChanged ()
void focalDistanceChanged ()
void projectionTransformationChanged ()

Private Member Functions

Vector3 getTextureUpDirection_ () throw (Exception::InvalidFormat)
void setTextureUpDirection_ (const Vector3 &tud)
float getUser2ScreenDistance_ () throw (Exception::InvalidFormat)
void setUser2ScreenDistance_ (const float &s2u)
float getUserEyeLevel_ () throw (Exception::InvalidFormat)
void setUserEyeLevel_ (const float &s2u)
float getUserEyeDistance_ () throw (Exception::InvalidFormat)
void setUserEyeDistance_ (const float &s2u)
void setDefaultValues_ ()
void saveSettingsToStage_ ()

Private Attributes

Scenescene_
VIEW::Stagestage_

Detailed Description

Dialog for the Stage setup. Following options can be set:

Definition at line 39 of file stageSettings.h.


Constructor & Destructor Documentation

BALL::VIEW::StageSettings::StageSettings ( QWidget parent = 0,
const char *  name = "StageSettings",
Qt::WFlags  fl = 0 
)

Constructor.

Destructor.

Definition at line 52 of file stageSettings.h.


Member Function Documentation

Apply the new values to the stage.

Show a QColorDialog to select a new background color for the Scene.

Show a QFileDialog to select a new environment texture map for the Scene.

void BALL::VIEW::StageSettings::setUserEyeDistance_ ( const float s2u) [private]
void BALL::VIEW::StageSettings::setUserEyeLevel_ ( const float s2u) [private]

Get the values for Stageing from the stage.


Member Data Documentation

Definition at line 130 of file stageSettings.h.

Definition at line 132 of file stageSettings.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines