VR-Forces 4.10 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 
66  };
67 
68  //
69  // Creator
70  //
71 
76  : public DtPostProcessorCreator
77  {
78  public:
80  friend class DtPostProcessManager;
81 
84 
86  virtual ~DtVolumetricLightingCreator();
87 
88  protected:
90  virtual DtPostProcessor* create(DtDe& de, const std::string& postProcessType);
91  };
92 
93 }
Diagonal crossing liens.
Definition: DtTacticalGraphicUtilities.h:93
DtPostProcessorCreator is the common base class for all post processor creators.
Definition: DtPostProcessor.h:226
bool myLocalEnabled
Definition: DtVolumetricLighting.h:65
The abstract Channel Class.
Definition: DtChannel.h:30
DtVolumetricDrawable * myVolumeDrawable
Definition: DtVolumetricLighting.h:64
A DtVolumetricLightingCreator instance is registered with the post process element factory to create ...
Definition: DtVolumetricLighting.h:75
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:20
class used to render crepuscular rays during the post processor camera draw
Definition: DtVolumetricDrawable.h:46
#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:62
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:66

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)