Member Typedef Documentation
| typedef DtNavBot*(* DtNavBot::DtNavBotCreatorFcn)() |
| typedef bool(* DtNavBot::DtNavBotPathLocationEvalFcn)(const DtNavTag &navTag, float *costMultiplier, void *userData) |
Member Enumeration Documentation
- Enumerator:
| NavigationMethodShortcut |
|
| NavigationMethodSpline |
|
- Enumerator:
| PathStatusInactive |
|
| PathStatusComputing |
Not actively trying to move.
|
| PathStatusHasPath |
Currently computing a path.
|
| PathStatusArrived |
Has a valid path to move along.
|
| PathStatusNoValidPath |
Has arrived at destination.
|
| PathStatusLeavingArea |
Failed to calculate a path.
|
| PathStatusFindingTransitionPoint |
Arrived at edge of area.
Calculating a transition point
|
Constructor & Destructor Documentation
| virtual DtNavBot::~DtNavBot |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| virtual void DtNavBot::setPosition |
( |
const DtVector & |
localPos | ) |
|
|
pure virtual |
| virtual void DtNavBot::botUpdate |
( |
const DtVector & |
localPos, |
|
|
double |
dT |
|
) |
| |
|
pure virtual |
| virtual void DtNavBot::setDestination |
( |
const DtVector & |
localPos, |
|
|
bool |
forceOutsideArea = false |
|
) |
| |
|
pure virtual |
| virtual void DtNavBot::setDesiredSpeed |
( |
double |
speed | ) |
|
|
pure virtual |
| virtual void DtNavBot::clearFollowedPath |
( |
| ) |
|
|
pure virtual |
| virtual void DtNavBot::clearDestination |
( |
| ) |
|
|
pure virtual |
| virtual void DtNavBot::moveAlongPath |
( |
const std::vector< DtVector > & |
| ) |
|
|
pure virtual |
| virtual DtVector DtNavBot::getOutputVelocity |
( |
| ) |
|
|
pure virtual |
| virtual PathStatus DtNavBot::pathStatus |
( |
double |
atDistance | ) |
|
|
pure virtual |
| virtual DtString DtNavBot::pathStatusString |
( |
| ) |
|
|
pure virtual |
- Returns
- A text status of the current path query, if available. Useful for debugging.
| virtual bool DtNavBot::hasArrived |
( |
double |
arrivalDistance | ) |
|
|
pure virtual |
| virtual bool DtNavBot::currentPath |
( |
std::vector< DtVector > & |
path | ) |
|
|
pure virtual |
| virtual bool DtNavBot::abstractPath |
( |
std::vector< DtVector > & |
path | ) |
|
|
pure virtual |
| virtual unsigned DtNavBot::currentAbstractPathIndex |
( |
| ) |
|
|
pure virtual |
Member Data Documentation
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/include/vrfNavigation/navBot.h