VR-Vantage API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Tutorials
File List
File Members
include
vrvCore
DtFeatureLayer.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtFeatureLayer.h,v $ $Revision: 1.17 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvCore/DtTerrainLayer.h
>
15
#include <
vrvCore/DtFeatureSet.h
>
16
#include <
makArchives/DtAddPropsRuleRecord.h
>
17
18
namespace
makArchives
19
{
20
class
DtFeatureLayerRecord;
21
}
22
23
namespace
makVrv
24
{
28
class
DT_DLL_VRVCORE
DtFeatureLayer
:
public
DtTerrainLayer
29
{
30
public
:
31
33
DtFeatureLayer
(
DtDe
& de,
DtAgentManagerInterface
& sceneInterface,
34
const
std::string& filename);
35
37
~
DtFeatureLayer
();
38
40
virtual
void
getRecord(
makArchives::DtFeatureLayerRecord
& rec)
const
;
41
43
virtual
void
setFromRecord(
const
makArchives::DtFeatureLayerRecord
& rec);
44
46
47
49
virtual
void
addProps(
const
makArchives::DtAddPropsRuleRecord
& rule);
50
52
const
makArchives::DtAddPropsRuleRecordVector
& addPropsRules()
const
;
53
55
57
const
std::string& filename()
const
;
58
60
61
DtFeatureSet
& featureSet();
62
const
DtFeatureSet
& featureSet()
const
;
64
66
DtFeature
* findFeature(
DtElementID
id
);
67
69
bool
destroyFeature(
DtElementID
id
);
70
71
protected
:
72
73
void
loadFeatures();
74
void
showFeatures();
75
void
groundClampFeatures();
76
void
checkForDisplayFeatureChanged(
int
mode,
int
setting,
bool
state);
77
78
private
:
79
80
std::string
myFilename
;
81
makArchives::DtAddPropsRuleRecordVector
myAddPropsRules
;
82
DtFeatureSet
myFeatures
;
83
};
84
}
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)