VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIndirectGeometryCallback.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
15 
17 
18 namespace makVrv
19 {
20  class DtIndirectGeometryManager;
21 
29  {
31  protected:
34  public:
36  virtual ~DtIndirectGeometryCallback();
37 
40  virtual void onLayerLoaded(const osgEarth::MapNode* mapNode, const osgEarth::ModelLayer* layer);
41 
43  virtual void onDataPreMerge(const osgEarth::Map* map, const osgEarth::ModelLayer* layer, osg::Node* newData);
44 
46  virtual void onDataLoaded(const osgEarth::Map* map, const osgEarth::ModelLayer* layer, const osg::Node* newData);
47 
49  virtual void onDataUnloaded(const osgEarth::Map* map, const osgEarth::ModelLayer* layer, const osg::Node* oldData);
50  public:
52  static const char* className();
53  protected:
54  static const char* myClassName;
57  private:
60  };
61 
66  {
67 
68  public:
71  static DtIndirectGeometryCallbackCreator& instance(DtDe& de);
72 
74  static void registerInstance(DtDe& de,
76 
78  virtual DtIndirectGeometryCallback* create(DtDe& de, DtIndirectGeometryManager& manager);
79  };
80 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)