VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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).

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

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

DtDemyDe
 
DtLightEditorInterfacemyInterface
 
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)
 
DtSignalConnectionManageroperator+= (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
 

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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)