VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEarthDynamicTerrainInstaller.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 
12 #include <vrvOsg/vrvOsg.h>
14 
16 
17 #include <osg/NodeCallback>
18 
19 namespace makVrv
20 {
21  class DtOsgEffectTextureVisitor;
22  class DtTerrainPageSignaler;
23 
33  {
34  protected:
35 
38 
41 
44 
45  private:
48 
51 
54 
55  public: // DtOsgEarthFeatureDataBroker::Callback interface
56 
58  virtual void onLayerLoaded(const osgEarth::MapNode* mapNode, osgEarth::Layer* layer);
59 
61  virtual void onDataPreMerge(const osgEarth::Map* map, const osgEarth::Layer* layer, osg::Node* data);
62 
64  virtual void onDataLoaded(const osgEarth::Map* map, const osgEarth::Layer* layer, const osg::Node* data);
65 
67  virtual void onDataUnloaded(const osgEarth::Map* map, const osgEarth::Layer* layer, const osg::Node* oldData);
68 
72  virtual float callbackOrder();
73 
75  virtual const std::string& instanceClassName() const;
76 
77  public:
80  static const std::string& className();
81 
82  protected:
83  static const std::string theClassName;
84 
85  protected:
88 
89  };
90 
95  {
96 
97  public:
100  static DtOsgEarthDynamicTerrainInstallerCreator& instance(DtDe& de);
101 
103  static void registerInstance(DtDe& de,
105 
107  virtual DtOsgEarthDynamicTerrainInstaller* create(DtDe& de);
108  };
109 
110 }
The DtOsgEarthDynamicTerrainInstaller creator for the DtOsgEarthDynamicTerrainInstallerCreator class...
Definition: DtOsgEarthDynamicTerrainInstaller.h:94
Virtual base class.
Definition: DtVirtualBaseClass.h:22
DtDe & myDe
Definition: DtOsgEarthDynamicTerrainInstaller.h:86
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtTerrainPageSignaler & myTerrainPageSignaler
Definition: DtOsgEarthDynamicTerrainInstaller.h:87
DtOsgEarthDynamicTerrainInstaller is a data broker callback that will raise signals for terrain page ...
Definition: DtOsgEarthDynamicTerrainInstaller.h:32
static const std::string theClassName
Definition: DtOsgEarthDynamicTerrainInstaller.h:83
Contains makVrv::DtVirtualBaseClass class.
It is expected that custom implementations of paging (whether inheriting from pagedLOD or not...
Definition: DtTerrainPageSignaler.h:31
Definition: DtOsgEarthFeatureDataBroker.h:65
Contains DLL export macros.
Contains makVrv::DtOsgEarthFeatureDataBroker class.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69

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)