VR-Forces 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:205
class DtVertexList:
Definition: vertexList.h:22
virtual ~DtNavObstacle()
Definition: navObstacle.h:27
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)