VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dynamicObstacleNavInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
14 #include "matrix/vlVector.h"
15 
16 class DtNavObstacle;
17 
23 {
24 private:
31 
32 public:
33  static DtVrfObjectNavInterface* create(DtLocalObject* vrfObject);
34 
35 protected:
39  virtual bool init();
40 
41  virtual void postObjectInit();
42 
43  virtual void changingNavArea(DtNavArea* newNavArea);
44 
46  virtual bool obstacleEnabled();
47 
49  virtual void createNavObstacle();
50 
54  virtual double becomeStationaryObstacleTime() const;
55 
56 public:
57  virtual void tick();
59 
60 protected:
69 };
A nav interface is a software component of an object that maintains the object's presence in the navi...
Definition: vrfObjectNavInterface.h:38
DtPlatformSimObjectFacade myPlatformSimObjectFacade
Definition: dynamicObstacleNavInterface.h:68
Definition: navObstacle.h:19
DtNavArea * myNavArea
Definition: dynamicObstacleNavInterface.h:63
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
This is the DtVrfObjectNavInterface subclass for objects which are treated as frequently moving obsta...
Definition: dynamicObstacleNavInterface.h:22
This class contains all the data and logic for navigation within a specific area. Nav Data may be loa...
Definition: navArea.h:206
virtual bool init()
Virtual init, called from the create() method.
double myStationaryTime
How long the obstacle has been stationary.
Definition: dynamicObstacleNavInterface.h:65
virtual void postObjectInit()
Perform additional initialization after the object has been initialized. Default behavior is to do no...
Definition: vrfObjectNavInterface.h:64
DtVector myPreviousLocalPos
Definition: dynamicObstacleNavInterface.h:62
double myTimeToBecomeStationary
Cache for the nav property.
Definition: dynamicObstacleNavInterface.h:67
DtVrfObjectNavInterface & operator=(const DtVrfObjectNavInterface &orig)
Not Implemented.
DtNavObstacle * myNavObstacle
Definition: dynamicObstacleNavInterface.h:61
virtual void changingNavArea(DtNavArea *newNavArea)
Called when about to change to a new navArea.
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

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)