VR-Forces 4.3.1 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
DtNavigationFeature.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/vrvCore.h
>
13
14
#include <
vrvCore/DtBuoyBeaconLayer.h
>
15
#include <
vrvCore/DtUniqueID.h
>
16
17
#include <matrix/vlVector.h>
18
19
namespace
makVrv
20
{
21
class
DtArticulatedModelAgent;
22
class
DtTextureAtlasIndexParser;
23
class
DtBuoyOrBeaconFacade;
24
29
class
DT_DLL_VRVCORE
DtNavigationFeature
30
{
31
public
:
32
34
friend
class
DtNavigationFeatureCreator;
35
37
virtual
~
DtNavigationFeature
();
38
39
// attach and update have different arguments for different
40
// objects, put those functions in the derived classes
41
43
44
45
DtArticulatedModelAgent*
const
modelAgent()
const
;
46
DtArticulatedModelAgent* modelAgent();
48
50
DtUniqueID
elementId()
const
;
51
53
54
55
56
57
void
setPosition(
const
DtVector
& position );
58
const
DtVector
& position()
const
;
60
64
virtual
void
attach(
DtBuoyOrBeaconFacade
& buoyOrBeacon );
65
66
virtual
void
detach(
DtBuoyOrBeaconFacade
& buoyOrBeacon );
67
68
virtual
void
setPresenceSwitchNumber(
int
switchNum );
69
virtual
int
presenceSwitchNumber()
const
;
70
71
virtual
void
setTypeSwitchNumber(
int
typeNum );
72
virtual
int
typeSwitchNumber()
const
;
73
74
virtual
void
setAttachableType(
DtBuoyBeaconLayer::AttachableTypes
attType );
75
virtual
DtBuoyBeaconLayer::AttachableTypes
attachableType();
76
77
78
protected
:
79
81
DtNavigationFeature
(
DtUniqueID
elementId );
82
84
DtNavigationFeature
();
85
87
DtNavigationFeature
(
const
DtNavigationFeature
& orig );
88
90
const
DtNavigationFeature
& operator=(
91
const
DtNavigationFeature
& rhs );
92
93
protected
:
94
DtUniqueID
myElementId
;
95
DtVector
myPosition
;
96
DtArticulatedModelAgent*
myModelAgent
;
97
DtArticulatedModelAgent*
myColorizedModelAgent
;
98
int
myPresenceSwitchNumber
;
99
int
myTypeSwitchNumber
;
100
DtBuoyBeaconLayer::AttachableTypes
myAttachableType
;
101
};
102
}
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)