![]() |
VR-Forces Development_Version Class Documentation
|
Example Widget that is part of the example page. More...

Classes | |
| struct | Color |
Public Slots | |
| void | slot_onLightChanged (const QString &lightName) |
| void | slot_onConstantAttenuationChanged (double val) |
| void | slot_onLinearAttenuationChanged (double val) |
| void | slot_onQuadraticAttenuationChanged (double val) |
| void | slot_onSpotExponentChanged (double val) |
| void | slot_onSpotCutoffChanged (double val) |
| void | slot_onAmbientClicked () |
| void | slot_onDiffuseClicked () |
| void | slot_onSpecularClicked () |
Public Member Functions | |
| DtLightEditorWidget (QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
| Constructor. | |
| virtual | ~DtLightEditorWidget () |
| Destructor. | |
| virtual void | setLights (const std::vector< std::string > &lightNames) |
| virtual void | setAmbient (float r, float g, float b, float a) |
| virtual void | setDiffuse (float r, float g, float b, float a) |
| virtual void | setSpecular (float r, float g, float b, float a) |
| virtual void | setConstantAttenuation (float constantAttenuation) |
| virtual void | setLinearAttenuation (float linearAttenuation) |
| virtual void | setQuadraticAttenuation (float quadraticAttenuation) |
| virtual void | setSpotExponent (float spotExponent) |
| virtual void | setSpotCutoff (float spotCutoff) |
Public Member Functions inherited from makVrv::DtLightEditorInterface | |
| virtual | ~DtLightEditorInterface () |
Protected Attributes | |
| Color | myAmbient |
| Color | myDiffuse |
| Color | mySpecular |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtLightEditorInterface | |
| boost::signal< void(const std::string &)> | signal_lightSelected |
| boost::signal< void(float, float, float, float)> | signal_ambientChanged |
| boost::signal< void(float, float, float, float)> | signal_diffuseChanged |
| boost::signal< void(float, float, float, float)> | signal_specularChanged |
| boost::signal< void(float)> | signal_constantAttenuationChanged |
| boost::signal< void(float)> | signal_linearAttenuationChanged |
| boost::signal< void(float)> | signal_quadraticAttenuationChanged |
| boost::signal< void(float)> | signal_spotExponentChanged |
| boost::signal< void(float)> | signal_spotCutoffChanged |
Example Widget that is part of the example page.
Based on the humble dialog pattern.
| makVrv::DtLightEditorWidget::DtLightEditorWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Implements makVrv::DtLightEditorInterface.
|
virtual |
Implements makVrv::DtLightEditorInterface.
|
virtual |
Implements makVrv::DtLightEditorInterface.
|
virtual |
Implements makVrv::DtLightEditorInterface.
|
virtual |
Implements makVrv::DtLightEditorInterface.
|
virtual |
Implements makVrv::DtLightEditorInterface.
|
virtual |
Implements makVrv::DtLightEditorInterface.
|
virtual |
Implements makVrv::DtLightEditorInterface.
|
virtual |
Implements makVrv::DtLightEditorInterface.
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
protected |
|
protected |
|
protected |