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
vrvCore
DtNavigationDaymark.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/DtNavigationFeature.h
>
13
#include <
vrvCore/DtBuoyMarkerStringParser.h
>
14
15
namespace
makVrv
16
{
17
class
DtArticulatedModelAgent;
18
class
DtBuoyTextureAtlasFileParser;
19
25
class
DtNavigationDaymark
:
public
DtNavigationFeature
26
{
27
public
:
28
30
friend
class
DtNavigationDaymarkCreator
;
31
32
typedef
std::vector<std::pair<std::string,std::string> >
AttrValPairs
;
33
35
virtual
~DtNavigationDaymark
();
36
40
virtual
void
attach
( DtArticulatedModelAgent*
modelAgent
,
41
const
std::string& atlasFileName,
DtBuoyTextureAtlasFileParser
* parser );
42
45
virtual
void
update
(
DtTime
simTime );
46
48
49
50
void
setShape
(
unsigned
int
color );
51
unsigned
int
shape
()
const
;
53
55
56
57
58
void
setDaymarkShapeSwitchNumber
(
int
switchNum );
59
int
daymarkShapeSwitchNumber
()
const
;
61
63
64
65
void
setFeatureAttributes
(
const
DtBuoyMarkerStringParser::ParsedAttributeValueMap
& results);
66
const
AttrValPairs
&
featureAttribues
();
68
69
protected
:
70
72
DtNavigationDaymark
(
DtUniqueID
elementId
);
73
75
DtNavigationDaymark
();
76
78
DtNavigationDaymark
(
const
DtNavigationDaymark
& orig );
79
81
const
DtNavigationDaymark
&
operator=
(
82
const
DtNavigationDaymark
& rhs );
83
84
protected
:
85
unsigned
int
myDaymarkShapeSwitchNumber
;
86
unsigned
int
myShape
;
87
88
AttrValPairs
mySearchPairs
;
89
};
90
93
class
DT_DLL_VRVCORE
DtNavigationDaymarkCreator
94
:
public
DtVirtualBaseClass
95
{
96
97
public
:
100
static
DtNavigationDaymarkCreator
& instance(
DtDe
& de );
101
103
static
void
registerInstance(
DtDe
& de,
104
DtNavigationDaymarkCreator
* anInstance );
105
107
virtual
DtNavigationDaymark
* create(
DtUniqueID
elementId );
108
};
109
}
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
)