VR-Forces 4.5 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
DtNavigationMark.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/DtNavigationFeature.h
>
13
#include <
vrvCore/DtBuoyBeaconLayer.h
>
14
#include <
vrvCore/DtBuoyBeaconModelStringParser.h
>
15
16
namespace
makVrv
17
{
18
class
DtArticulatedModelAgent;
19
class
DtBuoyTextureAtlasIndexParser;
20
24
class
DtNavigationMark
:
public
DtNavigationFeature
25
{
26
public
:
27
29
friend
class
DtNavigationMarkCreator
;
30
31
typedef
std::vector<std::pair<std::string,std::string> >
AttrValPairs
;
32
34
virtual
~DtNavigationMark
();
35
39
virtual
void
attach
(
DtBuoyOrBeaconFacade
& buoyOrBeacon );
40
42
43
44
void
setShape
(
unsigned
int
color );
45
unsigned
int
shape
()
const
;
47
49
50
51
void
setFeatureAttributes
(
52
const
DtBuoyBeaconModelStringParser::ParsedAttributeValueMap
& results);
53
const
AttrValPairs
&
featureAttribues
();
55
56
59
virtual
void
setupDesignator
(DtArticulatedModelAgent* model,
60
const
std::string& designator,
const
std::string& atlasFileName,
61
DtTextureAtlasIndexParser
* parser);
62
63
protected
:
64
66
DtNavigationMark
(
DtUniqueID
elementId
);
67
69
DtNavigationMark
();
70
72
DtNavigationMark
(
const
DtNavigationMark
& orig );
73
75
const
DtNavigationMark
&
operator=
(
76
const
DtNavigationMark
& rhs );
77
78
protected
:
79
unsigned
int
myShapeSwitchValue
;
80
81
AttrValPairs
mySearchPairs
;
82
};
83
86
class
DT_DLL_VRVCORE
DtNavigationMarkCreator
87
:
public
DtVirtualBaseClass
88
{
89
90
public
:
93
static
DtNavigationMarkCreator
& instance(
DtDe
& de );
94
96
static
void
registerInstance(
DtDe
& de,
97
DtNavigationMarkCreator
* anInstance );
98
100
virtual
DtNavigationMark
* create(
DtUniqueID
elementId );
101
};
102
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)