BALL
1.4.1
|
#include <BALL/VIEW/DIALOGS/stageSettings.h>
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 () |
![]() | |
PreferencesEntry () | |
virtual | ~PreferencesEntry () |
virtual void | writePreferenceEntries (INIFile &inifile) |
Store the settings of all registered objects. | |
virtual void | readPreferenceEntries (const INIFile &inifile) |
Restore the settings of all registered objects. | |
void | setINIFileSectionName (const String &name) |
Set the name for the section in the INIFile. | |
const String & | getINIFileSectionName () const |
Get the name for the section in the INIFile. | |
void | setWidgetStackName (const String &name) |
StackPages & | getStackPages () |
Return all pages, that are to be shown in a parent QStackedWidget. | |
void | setWidgetStack (QStackedWidget *stack) |
virtual void | showStackPage (Position nr) |
Show the specified page in the QStackedWidget. | |
virtual void | showStackPage (QWidget *widget) |
Show the specified page in the QStackedWidget. | |
virtual Position | currentStackPage () const |
Get the currently shown page in the QStackedWidget. | |
virtual void | restoreDefaultValues (bool all=false) |
Set all registered objects to their default values. | |
virtual void | storeValues () |
virtual void | restoreValues (bool all=false) |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
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 | |
Scene * | scene_ |
VIEW::Stage * | stage_ |
Dialog for the Stage setup. Following options can be set:
Definition at line 39 of file stageSettings.h.
BALL::VIEW::StageSettings::StageSettings | ( | QWidget * | parent = 0 , |
const char * | name = "StageSettings" , |
||
Qt::WFlags | fl = 0 |
||
) |
Constructor.
|
inline |
Destructor.
Definition at line 52 of file stageSettings.h.
void BALL::VIEW::StageSettings::apply | ( | ) |
Apply the new values to the stage.
|
slot |
|
slot |
Show a QColorDialog to select a new background color for the Scene.
|
slot |
|
slot |
|
privateslot |
|
privateslot |
|
slot |
void BALL::VIEW::StageSettings::getGLSettings | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
slot |
Show a QFileDialog to select a new environment texture map for the Scene.
|
privateslot |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void BALL::VIEW::StageSettings::updateFromStage | ( | ) |
Get the values for Stageing from the stage.
|
private |
Definition at line 130 of file stageSettings.h.
|
private |
Definition at line 132 of file stageSettings.h.