VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtFeature.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: $ $Revision: $ $State: $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvCore/vrvCore.h
>
15
#include <
vrvCore/DtUniqueID.h
>
16
#include <
vrvUtil/DtFaccCode.h
>
17
18
namespace
makVrv
19
{
20
class
DtFeatureVisualizer;
21
22
namespace
DFAD
23
{
24
typedef
unsigned
int
FeatureID
;
25
typedef
unsigned
int
SurfaceMaterialCode
;
26
};
27
35
class
DT_DLL_VRVCORE
DtFeature
36
{
37
public
:
38
friend
class
DtFeatureSet
;
39
friend
class
DtFaccManager
;
40
42
virtual
~
DtFeature
();
43
46
DtElementID
elementId()
const
;
47
49
virtual
std::string generateDisplayName()
const
= 0;
50
52
DFAD::FeatureID
featureID()
const
;
53
55
const
DtFaccCode
& faccCode()
const
;
56
58
unsigned
int
sourceID()
const
;
59
61
DFAD::SurfaceMaterialCode
soilType();
62
64
DtFeatureVisualizer
* findFeatureVisualizer();
65
67
void
setFeatureVisualizer(
DtFeatureVisualizer
* vis);
68
69
protected
:
72
DtFeature
(
DtElementID
id
,
DFAD::FeatureID
featureID,
73
const
DtFaccCode
& feautureCode,
unsigned
int
sourceId = 0 );
74
75
protected
:
76
77
const
DtElementID
myElementId
;
78
DFAD::FeatureID
myFeatureID
;
79
unsigned
int
mySourceId
;
80
DtFaccCode
myFeatureCode
;
81
DFAD::SurfaceMaterialCode
mySoilType
;
82
float
myWidth
;
83
float
myLength
;
84
float
myHeight
;
85
float
myOrientation
;
86
DtFeatureVisualizer
*
myFeatureVisualizer
;
87
};
88
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)