VR-Forces 4.6 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
vrvOsgEarth
DtOsgEarthStreamedFeatureManager.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2017 VT-MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvOsgEarth/vrvOsgEarth.h
>
13
14
#include <
vrvCore/DtStreamedFeatureManager.h
>
15
16
#include <
vrvUtil/DtKeyedSignalConnectionManager.h
>
17
18
#include <osg/NodeVisitor>
19
20
namespace
osgEarth
21
{
22
namespace
Features
23
{
24
class
CustomFeatureNode;
25
}
26
class
Map;
27
class
ModelLayer;
28
}
29
30
namespace
osg
31
{
32
class
Node
;
33
}
34
35
namespace
makVrv
36
{
37
class
DtTerrainPatchObject;
38
45
class
DT_DLL_VRVOSGEARTH
DtOsgEarthStreamedFeatureManager
46
:
public
DtStreamedFeatureManager
47
{
48
public
:
49
51
virtual
~
DtOsgEarthStreamedFeatureManager
();
52
53
protected
:
54
57
friend
class
DtOsgEarthStreamedFeatureCallback
;
58
60
65
virtual
void
processNewFeatures(
66
const
osgEarth::Features::CustomFeatureNode
* featureNode);
67
71
virtual
void
slot_customFeatureNodeToBeDeleted(
72
const
osgEarth::Features::CustomFeatureNode
* node);
73
75
76
virtual
void
onDataLoaded(
const
osgEarth::Map* map,
const
osgEarth::ModelLayer* layer,
77
const
osg::Node* data);
78
79
protected
:
81
friend
class
DtOsgEarthStreamedFeatureManagerCreator
;
82
83
// CTOR (protected, only created through creator function)
84
DtOsgEarthStreamedFeatureManager
(
DtDe
& de );
85
86
// CTOR (unimplemented default CTOR)
87
DtOsgEarthStreamedFeatureManager
();
88
93
virtual
void
slot_terrainPatchCreated(
DtTerrainPatchObject
& patch);
94
95
protected
:
96
DtKeyedSignalConnectionManager<const osgEarth::Features::CustomFeatureNode*>
97
myKeyedConnections
;
98
};
99
103
class
DT_DLL_VRVOSGEARTH
DtOsgEarthStreamedFeatureManagerCreator
104
:
public
DtStreamedFeatureManagerCreator
105
{
106
public
:
108
DtOsgEarthStreamedFeatureManagerCreator
();
109
111
virtual
~
DtOsgEarthStreamedFeatureManagerCreator
();
112
114
virtual
DtStreamedFeatureManager
* create(
DtDe
& de );
115
};
116
}
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
)