VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
navObstacle.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 
10 #pragma once
11 
13 #include <string>
14 #include "matrix/vlVector.h"
15 
16 class DtVertexList;
17 class DtNavArea;
18 
20 {
21 public:
22  typedef DtNavObstacle* (*DtNavObstacleCreatorFcn)();
23 
24  static DtNavObstacle* create();
25  static void setNavBotCreatorFcn(DtNavObstacleCreatorFcn fcn);
26 
27  virtual ~DtNavObstacle() {};
28 
29  virtual void init(DtNavArea* world,
30  double length, double width, double height,
31  const DtVertexList* transitionPoints = 0,
32  DtNavArea* localNavArea = 0) = 0;
33 
34  virtual void update(const DtVector& localPos, const DtDcm& localOrientation, const DtVector& localVelocity) = 0;
35 
36  virtual void setStationary(bool v) = 0;
37 
38 protected:
39  static DtNavObstacleCreatorFcn theNavBotCreatorFcn;
40 };
static DtNavObstacleCreatorFcn theNavBotCreatorFcn
Definition: navObstacle.h:39
Definition: navObstacle.h:19
This class contains all the data and logic for navigation within a specific area. Nav Data may be loa...
Definition: navArea.h:206
class DtVertexList:
Definition: vertexList.h:22
virtual ~DtNavObstacle()
Definition: navObstacle.h:27
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
#define DT_DLL_vrfNavigation
This file is used to determine how to build.
Definition: vrfNavigationDefines.h:26

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)