VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
bhaveSim
drivingEntityAttribute.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2011 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
54
private
:
55
double
myDeceleration
;
56
bool
myCanPivot
;
57
double
myTurningRadius
;
58
double
myApproachSpeed
;
59
double
myNearDistance
;
60
bool
myReverseTurning
;
61
bool
myKTurn
;
62
63
};
64
}
65
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
)