VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVolumetricLighting.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2016 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
6 #pragma once
7 
11 
13 
16 
17 namespace makVrv
18 {
19 
20  class DtWindow;
21  class DtVolumetricDrawable;
22 
27  {
28  public:
30  DtVolumetricLighting(DtDe& de, const std::string& postProcessType, bool handles2D);
31 
33  virtual ~DtVolumetricLighting();
34 
36  virtual bool update(DtChannel *channel);
37 
39  virtual void slot_reloadShaders();
40  virtual void slot_setGodRayEffects(bool enabled);
41  virtual osg::Texture2D* outputTexture();
42 
43  bool getLocalEnabled() { return myLocalEnabled; }
44 
46  virtual bool effectItrEnabled(EffectMap::iterator &effect);
47  virtual bool postProcessorEnabled() const;
48 
49 
50  protected:
51  virtual void slot_windowRemoved(DtWindow* window);
52 
55 
56  DtVolumetricDrawable * myVolumeDrawable;
58  };
59 
60  //
61  // Creator
62  //
63 
68  : public DtPostProcessorCreator
69  {
70  public:
72  friend class DtPostProcessManager;
73 
76 
78  virtual ~DtVolumetricLightingCreator();
79 
80  protected:
82  virtual DtPostProcessor* create(DtDe& de, const std::string& postProcessType);
83  };
84 
85 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)