VR-Forces 4.8 Class Documentation
 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) 2020 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  struct DtIndirectFadeParameters;
32 
49  {
50  public:
51 
54 
55  protected:
57  DtIndirectGeometryLayerManager(DtDe& de, const osgEarth::Layer& layer,
58  const DtIndirectFadeParameters& fadeParameters, bool dynamicTerrainInstallerActive);
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  const osgEarth::Layer& myLayer;
95 
97 
98  };
99 
101  {
102  public:
105 
108 
109  private:
114 
115 
116  public:
118  virtual DtIndirectGeometryLayerManager* create(const osgEarth::Layer& layer,
119  const DtIndirectFadeParameters& fadeParameters, bool dynamicTerrainInstallerActive) const;
120 
123  static DtIndirectGeometryLayerManagerCreator& instance(DtDe& de);
124 
126  static const std::string& theClassName();
127 
128  protected:
130  };
131 }
Virtual base class.
Definition: DtVirtualBaseClass.h:22
struct for holding the fade parameters used by the indirect rendering cull compute shader ...
Definition: DtGpuCullingAndLodDefines.h:21
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
bool myDynamicTerrainInstallerActive
Definition: DtIndirectGeometryLayerManager.h:96
class used to collect geometry coming in via buildings layer and add it to the indirect engine...
Definition: DtIndirectBuildingsHandler.h:49
class used to collect geometry coming in via feature_geom and add it to the indirect engine...
Definition: DtIndirectFeatureGeomHandler.h:75
Handles a layer specified in the .earth file, and using the feature_geom plugin and point features...
Definition: DtIndirectGeometryLayerManager.h:48
const osgEarth::Layer & myLayer
Definition: DtIndirectGeometryLayerManager.h:94
Definition: DtIndirectGeometryLayerManager.h:100
Contains makVrv::DtVirtualBaseClass class.
DtDe & myDe
Definition: DtIndirectGeometryLayerManager.h:129
DtIndirectBuildingsHandler * myIndirectBuildingsHandler
Definition: DtIndirectGeometryLayerManager.h:90
DtDe & myDe
Definition: DtIndirectGeometryLayerManager.h:92
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtIndirectFeatureGeomHandler * myIndirectFeatureGeomHandler
Definition: DtIndirectGeometryLayerManager.h:88
Contains DLL export macros.

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)