VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEarthEffectTextureInstaller.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 <vrvOsg/vrvOsg.h>
13 #include <osg/NodeCallback>
15 
16 namespace makVrv
17 {
18  class DtOsgEffectTextureVisitor;
19 
26  {
28  protected:
29  // Constructor
31 
32  public: // DtOsgEarthFeatureDataBroker::Callback interface
33 
34  // Invoked by the broker when the layer is first loaded.
35  virtual void onLayerLoaded(const osgEarth::MapNode* mapNode,
36  const osgEarth::ModelLayer* layer);
37 
40  virtual void onDataPreMerge(const osgEarth::Map* map, const osgEarth::ModelLayer* layer,
41  osg::Node* newNode);
42 
43  // Invoked by the broker when new data arrives.
44  virtual void onDataLoaded(const osgEarth::Map* map, const osgEarth::ModelLayer* layer,
45  const osg::Node* newNode);
46 
47  public:
50  static const char* className();
51 
52  protected:
54 
55  protected:
56  static const char* myClassName;
57 
58  protected:
60  };
61 
66  {
67 
68  public:
71  static DtOsgEarthEffectTextureInstallerCreator& instance(DtDe& de);
72 
74  static void registerInstance(DtDe& de,
76 
78  virtual DtOsgEarthEffectTextureInstaller* create(DtDe& de);
79  };
80 
81 }

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)