VR-Forces Development_Version 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
vrfGuiCore
terrainProfileDataStateView.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
12
13
#pragma once
14
15
#include <
vrfGuiCore/vrfGuiCore.h
>
16
#include <
vrfGuiCore/terrainProfileDataProvider.h
>
17
#include <
vrfGuiCore/vrfStateViewCollectionManager.h
>
18
#include <
vrvCore/DtDe.h
>
19
#include <
vrvCore/DtDataBank.h
>
20
#include <
vrvCore/DtSimData.h
>
21
#include <
vrvCore/DtSimObjectEntry.h
>
22
#include <
vrvCore/DtDataBankSignaler.h
>
23
24
namespace
makVrv
25
{
26
class
DtDe;
27
class
DtSimObjectEntry;
28
}
29
30
namespace
makVrf
31
{
32
template
<
typename
_View>
33
class
DtTerrainProfileDataStateView
:
public
DtTerrainProfileDataProvider
34
{
35
public
:
36
38
DtTerrainProfileDataStateView
(
makVrv::DtDe
& de,
makVrv::DtUniqueID
id
);
39
41
virtual
~DtTerrainProfileDataStateView
();
42
44
virtual
makVrv::DtUnicode
name
()
const
;
45
48
virtual
std::vector<DtVector>
points
();
49
52
virtual
bool
setElementID
(
makVrv::DtUniqueID
id
);
53
54
makVrv::DtElementID
id
()
const
55
{
56
return
myElementID
;
57
}
58
59
protected
:
61
virtual
void
slot_simObjectEntryAboutToBeRemoved
(
makVrv::DtSimObjectEntry
& e);
62
65
virtual
const
makVrv::DtStateView<_View>
*
findStateView
(
makVrv::DtElementID
id
) = 0;
66
69
virtual
void
slot_onStateViewUpdated
() = 0;
70
72
virtual
void
slot_onUpdateRateChanged
(
makVrv::DtUniqueID
id
,
int
rate);
73
74
virtual
void
completeRateChange
();
75
76
protected
:
77
makVrv::DtUniqueID
myElementID
;
78
makVrv::DtStateView<_View>
*
myStateView
;
79
std::vector<DtVector>
myGeocentricPoints
;
80
};
81
}
82
83
#include <vrfGuiCore/terrainProfileDataStateView.inl>
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)