VR-Forces 4.6.1 Class Documentation
 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) 2013 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 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)