![]() |
VR-Forces 5.0.2 Developer's Guide
|
Example Logic (based on humble dialog pattern).

Public Types | |
| typedef std::vector< osg::Light * > | LightVec |
Public Member Functions | |
| DtLightEditorLogic (DtDe &de, DtLightEditorInterface &iFace) | |
| virtual | ~DtLightEditorLogic () |
| virtual void | sendSettingsToGui () |
| 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 | |
| DtDe & | myDe |
| DtLightEditorInterface & | myInterface |
| int | myCurrentLightIx |
| LightVec | myLights |
Additional Inherited Members | |
Private Types inherited from makVrv::DtSignalConnectionManager | |
| typedef std::vector < boost::signalslib::connection > | Connections |
Private Member Functions inherited from makVrv::DtSignalConnectionManager | |
| DtSignalConnectionManager () | |
| virtual | ~DtSignalConnectionManager () |
| void | manageConnection (const boost::signalslib::connection &conn) |
| DtSignalConnectionManager & | operator+= (const boost::signalslib::connection &conn) |
| bool | blockConnections (bool blocked) |
| int | numberOfConnections () const |
| void | disconnectSignals () |
| bool | connectionsBlocked () const |
Private Attributes inherited from makVrv::DtSignalConnectionManager | |
| Connections | myConnections |
| bool | myConnectionsBlocked |
| bool | myIndiviualConnectionedBlocked |
| std::vector < boost::signalslib::shared_connection_block * > | mySharedConnectionsBlockManager |
| typedef std::vector<osg::Light*> makVrv::DtLightEditorLogic::LightVec |
| makVrv::DtLightEditorLogic::DtLightEditorLogic | ( | DtDe & | de, |
| DtLightEditorInterface & | iFace | ||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
Update the GUI with settings.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |