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
BHAVEUtils.h
Go to the documentation of this file.
1
2
/*******************************************************************************
3
** Copyright (c) 2009 MAK Technologies, Inc.
4
** All rights reserved.
5
*******************************************************************************/
6
/*******************************************************************************
7
* Copyright 2009 Autodesk, Inc. All rights reserved.
8
* Use of this software is subject to the terms of the Autodesk license
9
* agreement provided at the time of installation or download, or which otherwise
10
* accompanies this software in either electronic or hard copy form.
11
*******************************************************************************/
12
13
14
#pragma once
15
16
#include <
vrfutil/soilFactors.h
>
17
#include <
bhaveSim/bhaveSimDefines.h
>
18
#include <
bhaveSim/vrfEntityBot.h
>
19
20
#include <kyruntime.h>
21
22
class
DtVector
;
23
class
DtVrfObject
;
24
class
DtSimTask
;
25
class
DtString
;
26
27
namespace
BHAVE
28
{
29
namespace
Utils
30
{
31
#define BHAVEUTIL_MAX_DOWN_RAYCAST_DIST 50.f
32
42
bool
DT_DLL_bhaveSim
adjustAltitudeAboveGround
(
DtVector
& location,
double
offset,
double
maxRaycastDist =
BHAVEUTIL_MAX_DOWN_RAYCAST_DIST
);
43
44
47
bool
DT_DLL_bhaveSim
checkIsDestinationOnPathData
(
DtVrfObject
* entity,
const
DtVector
& dest);
48
49
51
bool
DT_DLL_bhaveSim
checkIsDestinationNameOnPathData
(
DtVrfObject
* entity,
const
DtString
& wpName);
52
55
bool
DT_DLL_bhaveSim
checkIsRouteOnPathData
(
DtVrfObject
* entity,
const
DtString
& routeName);
56
58
bool
DT_DLL_bhaveSim
checkBhaveMovementConditionsOnEntity
(
DtVrfObject
* entity,
DtSimTask
* msg) ;
59
61
bool
DT_DLL_bhaveSim
testIsOnPathData
(DtVrfEntityBot* pEntity);
62
65
bool
DT_DLL_bhaveSim
testIsOnPathData
(DtVrfEntityBot* pEntity,
const
Kaim::Vec3f & position);
66
72
double
DT_DLL_bhaveSim
getZComponentOnPathData
(DtVrfEntityBot* entity,
const
Kaim::Vec3f & position);
73
79
double
DT_DLL_bhaveSim
getZComponentOnPathData
(Kaim::Database* entity,
const
Kaim::Vec3f & position);
80
87
DtSoilFactors
*
soilFactors
(
DtVrfObject
*myObject);
89
double
slope
(
DtVrfObject
*myObject) ;
90
double
currentMaxDeceleration
(
const
Kaim::Bot *bot) ;
92
93
}
94
}
95
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
)