20 #include <matrix/vlVector.h>
61 virtual const DtString& navProfile()
const;
62 virtual void setNavProfile(
const DtString& profile);
64 virtual bool requestControl(
int priority,
const DtString& controller);
65 virtual bool hasControl(
int priority);
66 virtual void releaseControl(
int priority);
72 virtual void setDestination(
const DtVector& localDest);
74 virtual DtVector destination()
const;
76 virtual void resetDestination();
79 virtual void setPositionInvalid();
81 virtual void setDesiredSpeed(
double speed);
89 virtual double getOutputSpeed();
92 virtual double getOutputHeading();
94 virtual bool currentPath(std::vector<DtVector>& path);
95 virtual bool abstractPath(std::vector<DtVector>& path);
101 virtual unsigned currentAbstractPathIndex();
109 virtual void clearPathCostEvalFunction();
113 virtual bool usingTransitionPoint()
const;
115 virtual bool nextTransitionPoint(
DtVector& tPoint);
118 virtual bool findingTransitionPoint()
const;
125 void* usrData = 0,
int navTag = -1);
126 virtual std::vector<DtVector> searchInArea(
const DtVector& startPoint,
128 void* usrData = 0,
int navTag = -1);
139 bool useAbstractGraphs,
const DtVector& locationToAvoid =
DtVector(),
double avoidanceRadius = 0);
143 virtual bool findFarthestPositionAlongHeading(
const DtVector& start,
144 double heading,
double maxDistance,
DtVector& result,
bool& reachedMaxDist)
const;
151 virtual bool findFarthestPositionAlongHeading(
double heading,
double maxDistance,
152 DtVector& result,
bool& reachedMaxDist)
const;
158 virtual DtNavTag upcomingNavTagOnPath()
const;
167 virtual void resetNavigationMethod();
174 virtual DtVector performMovement(
double dt);
181 bool findValidPositionNearby(
const DtVector& localStart,
double radius,
DtVector& result);
193 virtual void processSetLocationComplete();
198 const DtVector& localCoverFrom,
double coverFromRadius,
double distanceFromThreat);
199 virtual bool findInsidePositionFromOutsidePosition(
DtNavArea* navArea,
210 virtual DtVector objectLocationLocalOrParent()
const;
215 virtual bool botShouldBeActive();
230 virtual void findTransitionPointStartingFrom(
const DtVector& startingPoint,
233 virtual void removeDebugTransitionPoints();
DtNavAreaQuery::Ptr myPendingQuery
Definition: activeBotNavInterface.h:253
const DtNavArea * navArea() const
Definition: activeBotNavInterface.h:59
A nav interface is a software component of an object that maintains the object's presence in the navi...
Definition: vrfObjectNavInterface.h:38
void(* DtSearchAreaPointCostModifierEvaluatorFcn)(const DtVector &localPoint, float *currentCost, void *userData)
Definition: navArea.h:235
DtNavBot::DtNavBotPathLocationEvalFcn myPathCostEvalFcn
Definition: activeBotNavInterface.h:265
boost::signals2::scoped_connection myLocationCompleteConnection
Definition: activeBotNavInterface.h:280
This is the DtVrfObjectNavInterface subclass for objects which are actively querying the navigation s...
Definition: activeBotNavInterface.h:27
DtVector myTransitionPoint
Definition: activeBotNavInterface.h:247
DtNavBot * myNavBot
Definition: activeBotNavInterface.h:244
boost::shared_ptr< DtCoverPointFinder > myPendingCoverPointFinder
Definition: activeBotNavInterface.h:258
boost::shared_ptr< DtTransitionPointFinder > myPendingPointFinder
Definition: activeBotNavInterface.h:254
DtOnPathToGraphVertexComputedResult(* DtPathCalculatedEvaluatorFcn)(const DtVector &localPoint, double pathCost, void *userData)
Definition: navArea.h:236
VR-Forces wrapper for Gameware NavTag. Note: This class keeps only a pointer to the data...
Definition: navDataTag.h:87
DtOnGraphVertexVisitedResult(* DtPointOfInterestEvaluatorFcn)(const DtVector &localPoint, void *userData)
Definition: navArea.h:233
This is a rw class to save out a block of generic binary data.
Definition: rwBinaryData.h:18
std::vector< DtNavTagAndLocation > DtNavTagAndLocationList
Definition: navBot.h:28
bool myWaitingForInitialNav
Definition: activeBotNavInterface.h:273
DtTime myInitialSimTime
Definition: activeBotNavInterface.h:277
int myControllerPriority
Definition: activeBotNavInterface.h:260
bool mySetDestinationWaitingForNav
Definition: activeBotNavInterface.h:274
DtString myController
Definition: activeBotNavInterface.h:261
bool myFindingDestNavAreaTransitionPoint
Definition: activeBotNavInterface.h:251
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points. Coordinates are in local database coordinates The coordinat...
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.
DtVector myDestinationWaitingForNav
Definition: activeBotNavInterface.h:276
DtVector myDestNavAreaTransitionPoint
Definition: activeBotNavInterface.h:250
std::vector< DtLocalObject * > myDebugTransitionPoints
Definition: activeBotNavInterface.h:268
DtString myStatusString
Definition: activeBotNavInterface.h:263
virtual DtVector transitionPoint() const
Definition: activeBotNavInterface.h:111
bool(* DtNavBotPathLocationEvalFcn)(const DtNavTag &navTag, float slope, float elevationChange, float *costMultiplier, void *userData)
Definition: navBot.h:129
boost::shared_ptr< DtNavAreaQuery > Ptr
Definition: navArea.h:60
bool myNavigationIsEnabled
Definition: activeBotNavInterface.h:275
DtNavArea * navArea()
Definition: activeBotNavInterface.h:58
DtString myProfile
Definition: activeBotNavInterface.h:243
bool myFailedToFindTransitionPoint
Definition: activeBotNavInterface.h:270
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Definition: activeBotNavInterface.h:282
virtual void postObjectInit()
Perform additional initialization after the object has been initialized. Default behavior is to do no...
Definition: vrfObjectNavInterface.h:64
bool myFailedToFindCoverPoint
Definition: activeBotNavInterface.h:271
DtVrfObjectNavInterface & operator=(const DtVrfObjectNavInterface &orig)
Not Implemented.
DtNavArea * myDestNavArea
Definition: activeBotNavInterface.h:249
std::list< DtNavAreaQuery::WeakPtr > myActiveQueries
Definition: activeBotNavInterface.h:256
DtNavArea * myNavArea
Definition: activeBotNavInterface.h:245
PathStatus
Definition: navBot.h:133
virtual bool ableToNavigate() const
Generic call. Basic nav interfaces are not able to navigate.
NavigationMethod
Definition: navBot.h:34
virtual void changingNavArea(DtNavArea *newNavArea)
Called when about to change to a new navArea.
void * myPathCostEvalFcnUsrData
Definition: activeBotNavInterface.h:266
DtNavBot::NavigationMethod myDefaultNavigationMethod
Definition: activeBotNavInterface.h:279
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