VR-Forces 4.6 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) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
10 
11 #pragma once
12 #include <vrvOsg/vrvOsg.h>
14 #include <osg/NodeCallback>
16 
17 namespace makVrv
18 {
19  class DtOsgEffectTextureVisitor;
20 
28 
30  {
32  protected:
35 
36  public: // DtOsgEarthFeatureDataBroker::Callback interface
37 
39  virtual void onLayerLoaded(const osgEarth::MapNode* mapNode, const osgEarth::ModelLayer* layer);
40 
42  virtual void onDataPreMerge(const osgEarth::Map* map, const osgEarth::ModelLayer* layer, osg::Node* data);
43 
45  virtual void onDataLoaded(const osgEarth::Map* map, const osgEarth::ModelLayer* layer, const osg::Node* data);
46 
48  virtual void onDataUnloaded(const osgEarth::Map* map, const osgEarth::ModelLayer* layer, const osg::Node* oldData);
49 
50  public:
53  static const char* className();
54 
55  protected:
58 
59  private:
62 
65 
68 
69  protected:
70  static const char* myClassName;
71 
72  protected:
74  };
75 
80  {
81 
82  public:
85  static DtOsgEarthDynamicTerrainInstallerCreator& instance(DtDe& de);
86 
88  static void registerInstance(DtDe& de,
90 
92  virtual DtOsgEarthDynamicTerrainInstaller* create(DtDe& de);
93  };
94 
95 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)