VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtLightEditorLogic.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include "lightEditorPlugin.h"
14 #include <osg/LightSource>
15 
16 namespace makVrv
17 {
18  class DtDe;
19  class DtLightEditorInterface;
20 
25  {
26  public:
29 
31  virtual ~DtLightEditorLogic();
32 
34  virtual void sendSettingsToGui();
35 
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);;
45 
46  typedef std::vector<osg::Light*> LightVec;
47 
48  protected:
52 
54  };
55 
56 }
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. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
std::vector< osg::Light * > LightVec
Definition: DtLightEditorLogic.h:44
#define DT_DLL_EXAMPLELIGHTEDITOR
Definition: lightEditorPlugin.h:19
int myCurrentLightIx
Definition: DtLightEditorLogic.h:51

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)