VR-Forces 4.1.1 Class Documentation
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>
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 
48 
49 
52 
55  bool DT_DLL_bhaveSim checkIsRouteOnPathData(DtVrfObject* entity, const DtString& routeName);
56 
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 
88  double slope(DtVrfObject *myObject) ;
89  double currentMaxDeceleration(const Kaim::Bot *bot) ;
91 
92  }
93 }
94 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)