VR-Forces 4.8 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) 2020 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
6 #pragma once
7 
11 
13 
15 
17 
18 namespace makVrv
19 {
20  class DtWindow;
21  class DtVolumetricDrawable;
22 
26  {
27  public:
29  DtVolumetricLighting(DtDe& de, const std::string& postProcessType, bool handles2D);
30 
32  virtual ~DtVolumetricLighting();
33  private:
36 
39 
41  DtVolumetricLighting& operator=(const DtVolumetricLighting&);
42  public:
43 
45  virtual bool update(DtChannel *channel);
46 
48  virtual void slot_reloadShaders();
49  virtual void slot_setGodRayEffects(bool enabled);
50 
52  virtual osg::Texture* outputTexture();
53 
55  virtual bool localEnabled();
56 
58  virtual bool effectItrEnabled(EffectMap::iterator &effect);
59  virtual bool postProcessorEnabled() const;
60 
61  protected:
63  virtual void slot_windowRemoved(DtWindow* window);
64 
67 
70  };
71 
72  //
73  // Creator
74  //
75 
80  : public DtPostProcessorCreator
81  {
82  public:
84  friend class DtPostProcessManager;
85 
88 
90  virtual ~DtVolumetricLightingCreator();
91 
92  protected:
94  virtual DtPostProcessor* create(DtDe& de, const std::string& postProcessType);
95  };
96 
97 }
Diagonal crossing liens.
Definition: DtTacticalGraphicUtilities.h:93
Abstract Base class.
Definition: DtWindow.h:25
DtPostProcessorCreator is the common base class for all post processor creators.
Definition: DtPostProcessor.h:213
bool myLocalEnabled
Definition: DtVolumetricLighting.h:69
The abstract Channel Class.
Definition: DtChannel.h:29
DtVolumetricDrawable * myVolumeDrawable
Definition: DtVolumetricLighting.h:68
A DtVolumetricLightingCreator instance is registered with the post process element factory to create ...
Definition: DtVolumetricLighting.h:79
DtDe & myDe
Definition: DtVolumetricLighting.h:65
This class provides the OSG-specific management of post-processing effects.
Definition: DtPostProcessManager.h:25
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
class used to render crepuscular rays during the post processor camera draw
Definition: DtVolumetricDrawable.h:45
#define DT_DLL_VRVPOSTPROCESSOR
Definition: vrvPostProcessor.h:19
Contains DLL export macros.
This class provides an implementation of crepuscular rays as a post process.
Definition: DtVolumetricLighting.h:25
Base class to provide boost signal/slot management.
DtSignalConnectionManager myConnections
Definition: DtVolumetricLighting.h:66
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
This class provides the OSG-specific implementation of a post processor.
Definition: DtPostProcessor.h:62

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)