VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtStreamingSpeedTreeFeatureCallback.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 #include <vrvSt/vrvSt.h>
12 
14 #include <osg/NodeCallback>
16 
17 
18 namespace makVrv
19 {
20  class DtOsgTerrainPatchObject;
21 
29  {
31  protected:
33  DtStreamingSpeedTreeForestManager& myForestManager);
34  public:
35  // callbacks
36  virtual void onLayerLoaded(const osgEarth::MapNode* mapNode,
37  const osgEarth::ModelLayer* layer);
38 
41  virtual void onDataPreMerge(const osgEarth::Map* map, const osgEarth::ModelLayer* layer,
42  osg::Node* newNode);
43 
44  virtual void onDataLoaded(const osgEarth::Map* map, const osgEarth::ModelLayer* layer,
45  const osg::Node* data);
46  public:
47  static const char* className();
48 
49  protected:
50  static const char* myClassName;
51 
52  protected:
55 
56  };
57 
62  {
63 
64  public:
68 
70  static void registerInstance(DtDe& de,
72 
75  DtStreamingSpeedTreeForestManager& forestManager);
76  };
77 
78 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)