VR-Forces 4.8 Class Documentation
 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). 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. More...
 
virtual ~DtLightEditorLogic ()
 Virtual DTOR. More...
 
virtual void sendSettingsToGui ()
 Update the GUI with settings. More...
 
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
 A collection of signals. More...
 
typedef std::vector
< boost::signalslib2::connection > 
Connections2
 
- Private Member Functions inherited from makVrv::DtSignalConnectionManager
 DtSignalConnectionManager ()
 CTOR. More...
 
virtual ~DtSignalConnectionManager ()
 DTOR. More...
 
void manageConnection (const boost::signalslib::connection &conn)
 Connect a signal. More...
 
void manageConnection (const boost::signalslib2::connection &conn)
 
DtSignalConnectionManageroperator+= (const boost::signalslib::connection &conn)
 Connect a signal. More...
 
DtSignalConnectionManageroperator+= (const boost::signalslib2::connection &conn)
 
bool blockConnections (bool blocked)
 Blocks/unblocks connections. More...
 
int numberOfConnections () const
 Get the number of connections. More...
 
void disconnectSignals ()
 Disconnect all signals. More...
 
bool connectionsBlocked () const
 check whether connections are blocked. More...
 
bool blockConnection (int index, bool blocked)
 Blocks/unblocks connections. More...
 
bool connectionBlocked (int index) const
 check whether connections are blocked. More...
 
- Private Attributes inherited from makVrv::DtSignalConnectionManager
Connections myConnections
 The connected signals. More...
 
Connections2 myConnections2
 
bool myConnectionsBlocked
 
bool myIndiviualConnectionedBlocked
 
std::vector
< boost::signalslib2::shared_connection_block * > 
mySharedConnectionsBlockManager
 blocking Connections manager for signal2 connection More...
 

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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)