VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvOsgEarth
DtOsgEarthStreamedFeatureManager.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 VT-MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvOsgEarth/vrvOsgEarth.h
>
13
14
#include <
vrvCore/DtDe.h
>
15
#include <
vrvCore/DtStreamedFeatureManager.h
>
16
17
#include <
vrvUtil/DtKeyedSignalConnectionManager.h
>
18
19
namespace
osgEarth
20
{
21
namespace
Features
22
{
23
class
CustomFeatureNode;
24
}
25
class
Map;
26
class
ModelLayer;
27
}
28
29
namespace
osg
30
{
31
class
Node;
32
}
33
34
namespace
makVrv
35
{
36
class
DtTerrainPatchObject;
37
44
class
DT_DLL_VRVOSGEARTH
DtOsgEarthStreamedFeatureManager
45
:
public
DtStreamedFeatureManager
46
{
47
public
:
48
50
virtual
~
DtOsgEarthStreamedFeatureManager
();
51
52
protected
:
53
56
friend
class
DtStreamedFeatureCallback;
57
59
64
virtual
void
processNewFeatures(
65
osgEarth::Features::CustomFeatureNode* featureNode );
66
70
virtual
void
slot_customFeatureNodeToBeDeleted(
71
osgEarth::Features::CustomFeatureNode* node );
72
74
75
virtual
void
onDataLoaded(osgEarth::Map* map, osgEarth::ModelLayer* layer,
76
osg::Node* data);
77
78
protected
:
80
friend
class
DtOsgEarthStreamedFeatureManagerCreator
;
81
82
// CTOR (protected, only created through creator function)
83
DtOsgEarthStreamedFeatureManager
(
DtDe
& de );
84
85
protected
:
86
// CTOR (unimplemented default CTOR)
87
DtOsgEarthStreamedFeatureManager
();
88
93
virtual
void
slot_terrainGeometryLoaded(
DtTerrainPatchObject
* patch);
94
95
protected
:
96
DtKeyedSignalConnectionManager<osgEarth::Features::CustomFeatureNode*>
97
myKeyedConnections
;
98
};
99
103
class
DT_DLL_VRVOSGEARTH
DtOsgEarthStreamedFeatureManagerCreator
104
:
public
DtStreamedFeatureManagerCreator
105
{
106
public
:
108
DtOsgEarthStreamedFeatureManagerCreator
()
109
:
DtStreamedFeatureManagerCreator
()
110
{
111
}
112
114
virtual
~
DtOsgEarthStreamedFeatureManagerCreator
()
115
{
116
}
117
119
virtual
DtStreamedFeatureManager
* create(
DtDe
& de );
120
};
121
}
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)