VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtLightingRenderSettingsInterface Class Reference

This is the interface which the lighting render settings widget will inherit from and the logic will use to talk to the widget. More...

Inheritance diagram for makVrv::DtLightingRenderSettingsInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtLightingRenderSettingsInterface ()
 DTOR.

Initializer/Setters for the widgets.

boost::signal< void(float)> signal_lightingDiffuseScaleChanged
 Signals raised by the widget to communicate with the logic.
boost::signal< void(float)> signal_lightingAmbientScaleChanged
boost::signal< void(float)> signal_lightingEmissionScaleChanged
boost::signal< void(float)> signal_globalAmbientValueChanged
boost::signal< void(bool)> signal_useGlobalAmbientChanged
boost::signal< void(float)> signal_globalDiffuseValueChanged
boost::signal< void(bool)> signal_useGlobalDiffuseChanged
boost::signal< void(bool)> signal_perPixelLightingEnabledChanged
virtual void setLightingDiffuseScale (float scale)=0
 Set the scale factor for diffuse scene light values.
virtual void setLightingAmbientScale (float scale)=0
 Set the scale factor for ambient scene light values.
virtual void setLightingEmissionScale (float scale)=0
 Set the scale factor emissive textures.
virtual void setUseGlobalDiffuse (bool useGlobalDiffuse)=0
 Set the use material ambient.
virtual void setGlobalDiffuseValue (float diffuseValue)=0
 Set the global material diffuse value.
virtual void setUseGlobalAmbient (bool useGlobalAmbient)=0
 Set the use material ambient flag.
virtual void setGlobalAmbientValue (float ambientValue)=0
 Set the global material ambient value.
virtual void setPerPixelLightingEnabled (bool state)=0
 Set the per-pixel lighting state.

Detailed Description

This is the interface which the lighting render settings widget will inherit from and the logic will use to talk to the widget.

Constructor & Destructor Documentation

virtual makVrv::DtLightingRenderSettingsInterface::~DtLightingRenderSettingsInterface ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtLightingRenderSettingsInterface::setLightingDiffuseScale ( float  scale)
pure virtual

Set the scale factor for diffuse scene light values.

Parameters
[in]scaleis the scale to apply to the diffuse lighting values that come from Silverlining

Implemented in makVrv::DtLightingRenderSettingsWidget.

virtual void makVrv::DtLightingRenderSettingsInterface::setLightingAmbientScale ( float  scale)
pure virtual

Set the scale factor for ambient scene light values.

Parameters
[in]scaleis the scale to apply to the ambient lighting values that come from Silverlining

Implemented in makVrv::DtLightingRenderSettingsWidget.

virtual void makVrv::DtLightingRenderSettingsInterface::setLightingEmissionScale ( float  scale)
pure virtual

Set the scale factor emissive textures.

Parameters
[in]scaleis the scale to apply to the emissive textures

Implemented in makVrv::DtLightingRenderSettingsWidget.

virtual void makVrv::DtLightingRenderSettingsInterface::setUseGlobalDiffuse ( bool  useGlobalDiffuse)
pure virtual

Set the use material ambient.

Parameters
[in]useGlobalDiffuseboolean value to enable/disable the usage of the diffuse material value placed on individual objects

Implemented in makVrv::DtLightingRenderSettingsWidget.

virtual void makVrv::DtLightingRenderSettingsInterface::setGlobalDiffuseValue ( float  diffuseValue)
pure virtual

Set the global material diffuse value.

Parameters
[in]diffuseValueis the diffuse material value of all per-pixel lighting material

Implemented in makVrv::DtLightingRenderSettingsWidget.

virtual void makVrv::DtLightingRenderSettingsInterface::setUseGlobalAmbient ( bool  useGlobalAmbient)
pure virtual

Set the use material ambient flag.

Parameters
[in]useGlobalAmbientboolean value to enable/disable the usage of the ambient material value placed on individual objects

Implemented in makVrv::DtLightingRenderSettingsWidget.

virtual void makVrv::DtLightingRenderSettingsInterface::setGlobalAmbientValue ( float  ambientValue)
pure virtual

Set the global material ambient value.

Parameters
[in]ambientValueis the ambient material value of all per-pixel lighting material

Implemented in makVrv::DtLightingRenderSettingsWidget.

virtual void makVrv::DtLightingRenderSettingsInterface::setPerPixelLightingEnabled ( bool  state)
pure virtual

Set the per-pixel lighting state.

Parameters
[in]stateis the enabled/disabled state for terrain scaling.

Implemented in makVrv::DtLightingRenderSettingsWidget.

Member Data Documentation

boost::signal<void (float)> makVrv::DtLightingRenderSettingsInterface::signal_lightingDiffuseScaleChanged

Signals raised by the widget to communicate with the logic.

boost::signal<void (float)> makVrv::DtLightingRenderSettingsInterface::signal_lightingAmbientScaleChanged
boost::signal<void (float)> makVrv::DtLightingRenderSettingsInterface::signal_lightingEmissionScaleChanged
boost::signal<void (float)> makVrv::DtLightingRenderSettingsInterface::signal_globalAmbientValueChanged
boost::signal<void (bool)> makVrv::DtLightingRenderSettingsInterface::signal_useGlobalAmbientChanged
boost::signal<void (float)> makVrv::DtLightingRenderSettingsInterface::signal_globalDiffuseValueChanged
boost::signal<void (bool)> makVrv::DtLightingRenderSettingsInterface::signal_useGlobalDiffuseChanged
boost::signal<void (bool)> makVrv::DtLightingRenderSettingsInterface::signal_perPixelLightingEnabledChanged

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)