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
bhaveSim
drivingEntityAttribute.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
7
#pragma once
8
9
#include <
bhaveSim/bhaveSimDefines.h
>
10
#include <kyruntime.h>
11
12
namespace
BHAVE
13
{
14
16
class
DT_DLL_bhaveSim
DtDrivingEntityAttribute
:
public
Kaim::BodyAttribute
17
{
18
public
:
19
KY_DECLARE_BODYATTRIBUTE(
DtDrivingEntityAttribute
);
20
21
virtual
Kaim::BodyAttribute& operator=(
const
Kaim::BodyAttribute& attr);
22
24
void
setBrakingSpeed (
double
brakeSpeed);
25
double
deceleration ()
const
;
26
28
void
setCanPivot (
bool
canPivot);
29
bool
canPivot ()
const
;
30
32
void
setTurningRadius (
double
tr);
33
double
turningRadius()
const
;
34
36
virtual
void
setApproachSpeed(
double
approachSpeed);
37
double
approachSpeed()
const
;
38
41
virtual
void
setNearDistance(
double
nearDistance);
42
double
nearDistance()
const
;
43
46
virtual
void
setReverseTurning(
bool
reverseT);
47
bool
reverseTurning()
const
;
48
51
virtual
void
setKTurn(
bool
kt);
52
bool
KTurn()
const
;
53
56
virtual
void
setDriveInReverse(
bool
v);
57
bool
driveInReverse()
const
;
58
59
private
:
60
double
myDeceleration
;
61
bool
myCanPivot
;
62
double
myTurningRadius
;
63
double
myApproachSpeed
;
64
double
myNearDistance
;
65
bool
myReverseTurning
;
66
bool
myKTurn
;
67
bool
myDriveInReverse
;
68
69
};
70
}
71
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
)