VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvOsg
DtOsgEarthLightPointInstaller.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
>
12
#include <
vrvOsg/DtOsgEarthFeatureDataBroker.h
>
13
14
#include <osg/NodeCallback>
15
#include <
vrvUtil/DtVirtualBaseClass.h
>
16
17
namespace
makVrv
18
{
19
class
DtOsgLightPointManager;
25
class
DT_DLL_VRVOSG
DtOsgEarthLightPointInstaller
:
public
DtOsgEarthFeatureDataBroker::Callback
26
{
27
friend
class
DtOsgEarthLightPointInstallerCreator
;
28
protected
:
30
DtOsgEarthLightPointInstaller
(
DtDe
& de);
31
32
public
:
// DtOsgEarthFeatureDataBroker::Callback interface
33
35
virtual
void
onLayerLoaded(
const
osgEarth::MapNode* mapNode,
const
osgEarth::ModelLayer* layer);
36
39
virtual
void
onDataPreMerge(
const
osgEarth::Map* map,
const
osgEarth::ModelLayer* layer, osg::Node* data);
40
42
virtual
void
onDataLoaded(
const
osgEarth::Map* map,
const
osgEarth::ModelLayer* layer,
const
osg::Node* data);
43
44
public
:
47
static
const
char
* className();
48
49
protected
:
51
virtual
~DtOsgEarthLightPointInstaller
() { }
52
53
protected
:
54
static
const
char
*
myClassName
;
55
56
DtOsgLightPointManager
&
myLightPointManager
;
57
58
59
protected
:
60
DtDe
&
myDe
;
61
};
62
66
class
DT_DLL_VRVOSG
DtOsgEarthLightPointInstallerCreator
:
public
DtVirtualBaseClass
67
{
68
69
public
:
72
static
DtOsgEarthLightPointInstallerCreator
& instance(
DtDe
& de);
73
75
static
void
registerInstance(
DtDe
& de,
76
DtOsgEarthLightPointInstallerCreator
* instance);
77
79
virtual
DtOsgEarthLightPointInstaller
* create(
DtDe
& de);
80
};
81
}
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
)