BALL::VIEW::MaterialSettings Class Reference
[QT Dialogs]

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

Inheritance diagram for BALL::VIEW::MaterialSettings:
Inheritance graph
[legend]

List of all members.

Public Slots

virtual void ambientFactorChanged ()
virtual void specularityFactorChanged ()
virtual void reflectivenessFactorChanged ()
virtual void shininessFactorChanged ()
virtual void transparencyFactorChanged ()
virtual void updateDirectlyBoxChanged ()
virtual void editAmbientColor ()
virtual void editSpecularityColor ()
virtual void editReflectivenessColor ()
virtual void rendererChanged ()

Public Member Functions

 MaterialSettings (QWidget *parent=0, const char *name="MaterialSettings", Qt::WFlags fl=0)
 Constructor.
 ~MaterialSettings ()
 Destructor.
void apply ()
 Apply the new values to the stage.
void setCurrentRepresentation (Representation const *representation)
 set the current representation

Private Member Functions

void setValues_ (const QSlider &slider, QLabel &label, int divisor)
void setQuadraticValues_ (const QSlider &slider, QLabel &label, int divisor)

Private Attributes

Representation const * current_representation_

Detailed Description

Dialog for setting the Material, which is added to the Preferences. This dialog allows the control of the Materials of a Scene. Materials can be added, removed and adjusted.

Definition at line 33 of file materialSettings.h.


Constructor & Destructor Documentation

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

Constructor.

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

Destructor.

Definition at line 46 of file materialSettings.h.


Member Function Documentation

virtual void BALL::VIEW::MaterialSettings::ambientFactorChanged (  )  [virtual, slot]
void BALL::VIEW::MaterialSettings::apply (  ) 

Apply the new values to the stage.

virtual void BALL::VIEW::MaterialSettings::editAmbientColor (  )  [virtual, slot]
virtual void BALL::VIEW::MaterialSettings::editReflectivenessColor (  )  [virtual, slot]
virtual void BALL::VIEW::MaterialSettings::editSpecularityColor (  )  [virtual, slot]
virtual void BALL::VIEW::MaterialSettings::reflectivenessFactorChanged (  )  [virtual, slot]
virtual void BALL::VIEW::MaterialSettings::rendererChanged (  )  [virtual, slot]
void BALL::VIEW::MaterialSettings::setCurrentRepresentation ( Representation const *  representation  )  [inline]

set the current representation

Definition at line 52 of file materialSettings.h.

void BALL::VIEW::MaterialSettings::setQuadraticValues_ ( const QSlider &  slider,
QLabel &  label,
int  divisor 
) [private]
void BALL::VIEW::MaterialSettings::setValues_ ( const QSlider &  slider,
QLabel &  label,
int  divisor 
) [private]
virtual void BALL::VIEW::MaterialSettings::shininessFactorChanged (  )  [virtual, slot]
virtual void BALL::VIEW::MaterialSettings::specularityFactorChanged (  )  [virtual, slot]
virtual void BALL::VIEW::MaterialSettings::transparencyFactorChanged (  )  [virtual, slot]
virtual void BALL::VIEW::MaterialSettings::updateDirectlyBoxChanged (  )  [virtual, slot]

Member Data Documentation

Definition at line 74 of file materialSettings.h.

Generated by  doxygen 1.6.3