VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEarthLightPointInstaller.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 
12 #include <vrvOsg/vrvOsg.h>
14 
16 
18 
19 #include <osg/NodeCallback>
20 
21 namespace makVrv
22 {
23  class DtOsgLightPointManager;
30  {
31  protected:
34 
37 
40 
41  private:
46 
47  public: // DtOsgEarthFeatureDataBroker::Callback interface
48 
50  virtual void onLayerLoaded(const osgEarth::MapNode* mapNode, osgEarth::Layer* layer);
51 
54  virtual void onDataPreMerge(const osgEarth::Map* map, const osgEarth::Layer* layer, osg::Node* data);
55 
57  virtual void onDataLoaded(const osgEarth::Map* map, const osgEarth::Layer* layer, const osg::Node* data);
58 
60  virtual float callbackOrder();
61 
63  virtual const std::string& instanceClassName() const;
64 
65  public:
68  static const std::string& className();
69 
70  protected:
71  static const std::string theClassName;
72 
74  typedef std::map<const osgEarth::Layer*, DtIndirectFadeParameters> LayerFadeParametersMap;
76 
77  protected:
79  };
80 
85  {
86 
87  public:
90  static DtOsgEarthLightPointInstallerCreator& instance(DtDe& de);
91 
93  static void registerInstance(DtDe& de,
95 
97  virtual DtOsgEarthLightPointInstaller* create(DtDe& de);
98  };
99 }
LayerFadeParametersMap myFadeParamtersMap
Definition: DtOsgEarthLightPointInstaller.h:75
Virtual base class.
Definition: DtVirtualBaseClass.h:22
std::map< const osgEarth::Layer *, DtIndirectFadeParameters > LayerFadeParametersMap
Definition: DtOsgEarthLightPointInstaller.h:74
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
The DtOsgEarthLightPointInstaller creator for the DtOsgEarthLightPointInstallerCreator class...
Definition: DtOsgEarthLightPointInstaller.h:84
DtOsgLightPointManager registers LightPoint nodes so their TBO can be created and updated in a single...
Definition: DtOsgLightPointManager.h:85
DtOsgLightPointInstaller is a data broker callback that will add light points to terrain patches as t...
Definition: DtOsgEarthLightPointInstaller.h:29
Contains makVrv::DtVirtualBaseClass class.
Declarations for classes used in DtICullingAndLOD.
static const std::string theClassName
Definition: DtOsgEarthLightPointInstaller.h:71
DtOsgLightPointManager & myLightPointManager
Definition: DtOsgEarthLightPointInstaller.h:73
virtual ~DtOsgEarthLightPointInstaller()
virtual DTOR
Definition: DtOsgEarthLightPointInstaller.h:39
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
DtDe & myDe
Definition: DtOsgEarthLightPointInstaller.h:78

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)