BALL::VIEW::StageSettings Class Reference

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

Inheritance diagram for BALL::VIEW::StageSettings:
QWidget Ui_StageSettingsData 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:

  • background color of the Scene
  • if a coordinate system is shown in the Scene
  • mouse sensitivity in the Scene
  • mouse wheel sensitivity in the Scene

Constructor & Destructor Documentation

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

Constructor.

BALL::VIEW::StageSettings::~StageSettings ( ) [inline]

Destructor.


Member Function Documentation

void BALL::VIEW::StageSettings::apply ( )

Apply the new values to the stage.

void BALL::VIEW::StageSettings::cappingColorPressed ( ) [slot]
void BALL::VIEW::StageSettings::colorPressed ( ) [slot]

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

void BALL::VIEW::StageSettings::computeDefaultPressed ( ) [slot]
void BALL::VIEW::StageSettings::environmentMapChanged ( bool  active) [slot]
void BALL::VIEW::StageSettings::eyeDistanceChanged ( ) [private, slot]
void BALL::VIEW::StageSettings::focalDistanceChanged ( ) [private, slot]
void BALL::VIEW::StageSettings::fogBoxChanged ( bool  active) [slot]
void BALL::VIEW::StageSettings::getGLSettings ( )
Vector3 BALL::VIEW::StageSettings::getTextureUpDirection_ ( ) throw (Exception::InvalidFormat) [private]
float BALL::VIEW::StageSettings::getUser2ScreenDistance_ ( ) throw (Exception::InvalidFormat) [private]
float BALL::VIEW::StageSettings::getUserEyeDistance_ ( ) throw (Exception::InvalidFormat) [private]
float BALL::VIEW::StageSettings::getUserEyeLevel_ ( ) throw (Exception::InvalidFormat) [private]
void BALL::VIEW::StageSettings::loadEnvironmentMapPressed ( ) [slot]

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

void BALL::VIEW::StageSettings::projectionTransformationChanged ( ) [private, slot]
void BALL::VIEW::StageSettings::saveSettingsToStage_ ( ) [private]
void BALL::VIEW::StageSettings::setDefaultValues_ ( ) [private]
void BALL::VIEW::StageSettings::setTextureUpDirection_ ( const Vector3 tud) [private]
void BALL::VIEW::StageSettings::setUser2ScreenDistance_ ( const float s2u) [private]
void BALL::VIEW::StageSettings::setUserEyeDistance_ ( const float s2u) [private]
void BALL::VIEW::StageSettings::setUserEyeLevel_ ( const float s2u) [private]
void BALL::VIEW::StageSettings::updateFromStage ( )

Get the values for Stageing from the stage.


Member Data Documentation