VR-Forces 4.8 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) 2020 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 
25  {
26  protected:
27  // Constructor
29 
32 
35 
36  private:
41 
42  public: // DtOsgEarthFeatureDataBroker::Callback interface
43 
44  // Invoked by the broker when the layer is first loaded.
45  virtual void onLayerLoaded(const osgEarth::MapNode* mapNode,
46  osgEarth::Layer* layer);
47 
50  virtual void onDataPreMerge(const osgEarth::Map* map, const osgEarth::Layer* layer,
51  osg::Node* newNode);
52 
53  // Invoked by the broker when new data arrives.
54  virtual void onDataLoaded(const osgEarth::Map* map, const osgEarth::Layer* layer,
55  const osg::Node* newNode);
56 
59  virtual float callbackOrder();
60 
62  virtual const std::string& instanceClassName() const;
63 
64  public:
67  static const std::string& className();
68 
69  protected:
70  static const std::string theClassName;
71 
72  protected:
74  };
75 
80  {
81 
82  public:
85  static DtOsgEarthEffectTextureInstallerCreator& instance(DtDe& de);
86 
88  static void registerInstance(DtDe& de,
90 
92  virtual DtOsgEarthEffectTextureInstaller* create(DtDe& de);
93  };
94 
95 }
Virtual base class.
Definition: DtVirtualBaseClass.h:22
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
The DtOsgEarthEffectTextureInstaller creator for the DtOsgEarthEffectTextureInstallerCreator class...
Definition: DtOsgEarthEffectTextureInstaller.h:79
Contains makVrv::DtVirtualBaseClass class.
DtDe & myDe
Definition: DtOsgEarthEffectTextureInstaller.h:73
DtOsgEarthEffectTextureInstaller is a data broker callback that will install effect textures on an os...
Definition: DtOsgEarthEffectTextureInstaller.h:24
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
static const std::string theClassName
Definition: DtOsgEarthEffectTextureInstaller.h:70

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)