#include <BALL/VIEW/DIALOGS/materialSettings.h>
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_ |
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.
BALL::VIEW::MaterialSettings::MaterialSettings | ( | QWidget * | parent = 0 , |
const char * | name = "MaterialSettings" , |
||
Qt::WFlags | fl = 0 |
||
) |
Constructor.
BALL::VIEW::MaterialSettings::~MaterialSettings | ( | ) | [inline] |
Destructor.
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
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] |
Representation const* BALL::VIEW::MaterialSettings::current_representation_ [private] |