14 #include <osg/LightSource>
19 class DtLightEditorInterface;
34 virtual void sendSettingsToGui();
36 virtual void slot_lightSelected(
const std::string& lightName);
37 virtual void slot_ambientChanged(
float r,
float g,
float b,
float a);
38 virtual void slot_diffuseChanged(
float r,
float g,
float b,
float a);
39 virtual void slot_specularChanged(
float r,
float g,
float b,
float a);
40 virtual void slot_constantAttenuationChanged(
float constantAttenuation);
41 virtual void slot_linearAttenuationChanged(
float linearAttenuation);
42 virtual void slot_quadraticAttenuationChanged(
float quadraticAttenuation);
43 virtual void slot_spotExponentChanged(
float spotExponent);
44 virtual void slot_spotCutoffChanged(
float spotCutoff);;
46 typedef std::vector<osg::Light*>
LightVec;
Contains DLL export macros.
DtLightEditorInterface & myInterface
Definition: DtLightEditorLogic.h:50
Example Logic (based on humble dialog pattern).
Definition: DtLightEditorLogic.h:23
LightVec myLights
Definition: DtLightEditorLogic.h:53
Example Interface (based on the humble dialog pattern).
Definition: DtLightEditorInterface.h:23
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtDe & myDe
Definition: DtLightEditorLogic.h:49
Base class to provide boost signal/slot management.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
std::vector< osg::Light * > LightVec
Definition: DtLightEditorLogic.h:44
#define DT_DLL_EXAMPLELIGHTEDITOR
Definition: lightEditorPlugin.h:19
int myCurrentLightIx
Definition: DtLightEditorLogic.h:51