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

Example Logic (based on humble dialog pattern). More...

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

Public Types

typedef std::vector< osg::Light * > LightVec

Public Member Functions

 DtLightEditorLogic (DtDe &de, DtLightEditorInterface &iFace)
 CTOR.
virtual ~DtLightEditorLogic ()
 Virtual DTOR.
virtual void sendSettingsToGui ()
 Update the GUI with settings.
virtual void slot_lightSelected (const std::string &lightName)
virtual void slot_ambientChanged (float r, float g, float b, float a)
virtual void slot_diffuseChanged (float r, float g, float b, float a)
virtual void slot_specularChanged (float r, float g, float b, float a)
virtual void slot_constantAttenuationChanged (float constantAttenuation)
virtual void slot_linearAttenuationChanged (float linearAttenuation)
virtual void slot_quadraticAttenuationChanged (float quadraticAttenuation)
virtual void slot_spotExponentChanged (float spotExponent)
virtual void slot_spotCutoffChanged (float spotCutoff)

Protected Attributes

DtDemyDe
DtLightEditorInterfacemyInterface
int myCurrentLightIx
LightVec myLights

Additional Inherited Members

- Private Member Functions inherited from makVrv::DtSignalConnectionManager
 DtSignalConnectionManager ()
 CTOR.
virtual ~DtSignalConnectionManager ()
 DTOR.
void manageConnection (const boost::signalslib::connection &conn)
 Connect a signal.
DtSignalConnectionManageroperator+= (const boost::signalslib::connection &conn)
 Connect a signal.
int numberOfConnections () const
 Get the number of connections.
void disconnectSignals ()
 Disconnect all signals.
bool blockConnections (bool blocked)
 Blocks/unblocks connections.
bool blockConnection (int index, bool blocked)
 Blocks/unblocks connections.
bool connectionsBlocked () const
 check whether connections are blocked.
bool connectionBlocked (int index) const
 check whether connections are blocked.

Detailed Description

Example Logic (based on humble dialog pattern).

Member Typedef Documentation

typedef std::vector<osg::Light*> makVrv::DtLightEditorLogic::LightVec

Constructor & Destructor Documentation

makVrv::DtLightEditorLogic::DtLightEditorLogic ( DtDe de,
DtLightEditorInterface iFace 
)

CTOR.

virtual makVrv::DtLightEditorLogic::~DtLightEditorLogic ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtLightEditorLogic::sendSettingsToGui ( )
virtual

Update the GUI with settings.

virtual void makVrv::DtLightEditorLogic::slot_lightSelected ( const std::string &  lightName)
virtual
virtual void makVrv::DtLightEditorLogic::slot_ambientChanged ( float  r,
float  g,
float  b,
float  a 
)
virtual
virtual void makVrv::DtLightEditorLogic::slot_diffuseChanged ( float  r,
float  g,
float  b,
float  a 
)
virtual
virtual void makVrv::DtLightEditorLogic::slot_specularChanged ( float  r,
float  g,
float  b,
float  a 
)
virtual
virtual void makVrv::DtLightEditorLogic::slot_constantAttenuationChanged ( float  constantAttenuation)
virtual
virtual void makVrv::DtLightEditorLogic::slot_linearAttenuationChanged ( float  linearAttenuation)
virtual
virtual void makVrv::DtLightEditorLogic::slot_quadraticAttenuationChanged ( float  quadraticAttenuation)
virtual
virtual void makVrv::DtLightEditorLogic::slot_spotExponentChanged ( float  spotExponent)
virtual
virtual void makVrv::DtLightEditorLogic::slot_spotCutoffChanged ( float  spotCutoff)
virtual

Member Data Documentation

DtDe& makVrv::DtLightEditorLogic::myDe
protected
DtLightEditorInterface& makVrv::DtLightEditorLogic::myInterface
protected
int makVrv::DtLightEditorLogic::myCurrentLightIx
protected
LightVec makVrv::DtLightEditorLogic::myLights
protected

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)