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

Example Interface (based on the humble dialog pattern). More...

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

Public Member Functions

virtual ~DtLightEditorInterface ()
virtual void setLights (const std::vector< std::string > &lightNames)=0
virtual void setAmbient (float r, float g, float b, float a)=0
virtual void setDiffuse (float r, float g, float b, float a)=0
virtual void setSpecular (float r, float g, float b, float a)=0
virtual void setConstantAttenuation (float constantAttenuation)=0
virtual void setLinearAttenuation (float linearAttenuation)=0
virtual void setQuadraticAttenuation (float quadraticAttenuation)=0
virtual void setSpotExponent (float spotExponent)=0
virtual void setSpotCutoff (float spotCutoff)=0

Public Attributes

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

Detailed Description

Example Interface (based on the humble dialog pattern).

Constructor & Destructor Documentation

virtual makVrv::DtLightEditorInterface::~DtLightEditorInterface ( )
inlinevirtual

Member Function Documentation

virtual void makVrv::DtLightEditorInterface::setLights ( const std::vector< std::string > &  lightNames)
pure virtual

Implemented in makVrv::DtLightEditorWidget.

virtual void makVrv::DtLightEditorInterface::setAmbient ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Implemented in makVrv::DtLightEditorWidget.

virtual void makVrv::DtLightEditorInterface::setDiffuse ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Implemented in makVrv::DtLightEditorWidget.

virtual void makVrv::DtLightEditorInterface::setSpecular ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Implemented in makVrv::DtLightEditorWidget.

virtual void makVrv::DtLightEditorInterface::setConstantAttenuation ( float  constantAttenuation)
pure virtual

Implemented in makVrv::DtLightEditorWidget.

virtual void makVrv::DtLightEditorInterface::setLinearAttenuation ( float  linearAttenuation)
pure virtual

Implemented in makVrv::DtLightEditorWidget.

virtual void makVrv::DtLightEditorInterface::setQuadraticAttenuation ( float  quadraticAttenuation)
pure virtual

Implemented in makVrv::DtLightEditorWidget.

virtual void makVrv::DtLightEditorInterface::setSpotExponent ( float  spotExponent)
pure virtual

Implemented in makVrv::DtLightEditorWidget.

virtual void makVrv::DtLightEditorInterface::setSpotCutoff ( float  spotCutoff)
pure virtual

Implemented in makVrv::DtLightEditorWidget.

Member Data Documentation

boost::signal<void (const std::string&)> makVrv::DtLightEditorInterface::signal_lightSelected
boost::signal<void (float, float, float, float)> makVrv::DtLightEditorInterface::signal_ambientChanged
boost::signal<void (float, float, float, float)> makVrv::DtLightEditorInterface::signal_diffuseChanged
boost::signal<void (float, float, float, float)> makVrv::DtLightEditorInterface::signal_specularChanged
boost::signal<void (float)> makVrv::DtLightEditorInterface::signal_constantAttenuationChanged
boost::signal<void (float)> makVrv::DtLightEditorInterface::signal_linearAttenuationChanged
boost::signal<void (float)> makVrv::DtLightEditorInterface::signal_quadraticAttenuationChanged
boost::signal<void (float)> makVrv::DtLightEditorInterface::signal_spotExponentChanged
boost::signal<void (float)> makVrv::DtLightEditorInterface::signal_spotCutoffChanged

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)