VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIndirectGeometryLayerManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
15 
16 namespace osg
17 {
18  class Node;
19 }
20 namespace osgEarth
21 {
22  class Layer;
23 }
24 
25 namespace makVrv
26 {
27  class DtIndirectGeometryRegistrar;
28  class DtIndirectGeometry;
29  class DtIndirectFeatureGeomHandler;
30  class DtIndirectBuildingsHandler;
31  class DtIndirectFadeParameters;
32 
49  {
50  public:
51 
54 
55  protected:
57  DtIndirectGeometryLayerManager(DtDe& de, const osgEarth::Layer& layer,
58  const DtIndirectFadeParameters& fadeParameters, bool dynamicTerrainInstallerActive, bool cullFaceEnabled);
59 
62 
63  private:
66 
69 
72 
73  public:
74 
77  virtual void onDataPremerge(osg::Node* newData);
78 
81  virtual void onDataLoaded(const osg::Node* newData);
82 
85  virtual void onDataUnloaded(const osg::Node* oldData);
86 
87  protected:
89 
91 
93  };
94 
96  {
97  public:
100 
103 
104  private:
109 
110 
111  public:
113  virtual DtIndirectGeometryLayerManager* create(const osgEarth::Layer& layer,
114  const DtIndirectFadeParameters& fadeParameters, bool dynamicTerrainInstallerActive, bool cullFaceEnabled) const;
115 
118  static DtIndirectGeometryLayerManagerCreator& instance(DtDe& de);
119 
121  static const std::string& theClassName();
122 
123  protected:
125  };
126 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
class used to collect geometry coming in via buildings layer and add it to the indirect engine...
Definition: DtIndirectBuildingsHandler.h:72
class used to collect geometry coming in via feature_geom and add it to the indirect engine...
Definition: DtIndirectFeatureGeomHandler.h:77
Handles a layer specified in the .earth file, and using the feature_geom plugin and point features...
Definition: DtIndirectGeometryLayerManager.h:48
Definition: DtIndirectGeometryLayerManager.h:95
Contains makVrv::DtVirtualBaseClass class.
DtDe & myDe
Definition: DtIndirectGeometryLayerManager.h:124
DtIndirectBuildingsHandler * myIndirectBuildingsHandler
Definition: DtIndirectGeometryLayerManager.h:90
struct for holding the fade parameters used by the indirect rendering cull compute shader ...
Definition: DtIndirectFadeParameters.h:17
DtDe & myDe
Definition: DtIndirectGeometryLayerManager.h:92
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:72
DtIndirectFeatureGeomHandler * myIndirectFeatureGeomHandler
Definition: DtIndirectGeometryLayerManager.h:88
Contains DLL export macros.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)