![]() |
VR-Forces 4.8 Class Documentation
|
This is the DtVrfObjectNavInterface subclass for objects which insert themselves as nav edges into the nav areas to affect the path finding behavior of active entities. More...

Public Member Functions | |
| virtual | ~DtNavEdgeNavInterface () |
| virtual void | postObjectInit () |
| Perform additional initialization after the object has been initialized. More... | |
| virtual void | tick () |
| virtual DtNavArea * | navArea () |
Public Member Functions inherited from DtVrfObjectNavInterface | |
| virtual bool | ableToNavigate () const |
| Generic call. Basic nav interfaces are not able to navigate. More... | |
| virtual void | firstTick () |
| virtual | ~DtVrfObjectNavInterface ()=0 |
| virtual void | addNavAreaChangedCallback (DtNoArgumentCallbackList::DtCallbackFunctionType callback, void *usr) const |
| virtual void | removeNavAreaChangedCallback (DtNoArgumentCallbackList::DtCallbackFunctionType callback, void *usr) const |
| virtual void | invokeNavAreaChangedCallbacks () |
Static Public Member Functions | |
| static DtVrfObjectNavInterface * | create (DtSharedVrfObjectReference vrfObject) |
Protected Member Functions | |
| DtNavEdgeNavInterface (DtSharedVrfObjectReference vrfObject) | |
| Use the create() method instead of calling the constructor. More... | |
| virtual bool | init () |
| Virtual init, called from the create() method. More... | |
| virtual void | changingNavArea (DtNavArea *newNavArea) |
| Called when the objects position is in a navArea that it was not on the previous check. More... | |
| virtual void | processVerticesChanged (const DtVrfObject *obj) |
| bool | createNavEdge () |
| Creates a nav edge that matches the current geometry of this object. More... | |
| virtual bool | createNavEdgeLadder (const DtString &navigationProfile, const DtInputNavTag &navTag, const DtInputNavTag &entryExitNavTag) |
| Performs the special logic for ladders when making a NavEdge (called by createNavEdge) More... | |
| void | removeNavEdge () |
| Removes the current nav edge. More... | |
| bool | adjustToNearestVertexLinkPoint (const DtString &, const double, const double, const DtVector &, DtVector &) const |
| Attempt to modify the given DtVector to a point that is "navigable" within the given point profile radius. More... | |
Protected Member Functions inherited from DtVrfObjectNavInterface | |
| DtVrfObjectNavInterface (DtSharedVrfObjectReference vrfObject) | |
| Use the create() method instead of calling the constructor. More... | |
| virtual bool | isCollidableWhenDestroyed () const |
Static Protected Member Functions | |
| static void | verticesChangedCallback (const DtVrfObject *obj, void *usr) |
| Callback to handle the changing of nav edge vertices. More... | |
Protected Attributes | |
| DtNavArea * | myNavArea |
| DtNavArea * | myNewNavArea |
| bool | myUpdatePointsRequired |
| bool | myChangingNavArea |
| unsigned | myNavEdgeIndex |
Protected Attributes inherited from DtVrfObjectNavInterface | |
| DtSharedVrfObjectReference | myVrfObject |
| bool | myFirstTick |
| DtNavArea * | myCurrentNavArea |
| DtNoArgumentCallbackList | myChangedNavAreaCallbackList |
Private Member Functions | |
| DtNavEdgeNavInterface () | |
| Not Implemented. More... | |
| DtNavEdgeNavInterface (const DtNavEdgeNavInterface &orig) | |
| Not Implemented. More... | |
| DtNavEdgeNavInterface & | operator= (const DtNavEdgeNavInterface &orig) |
| Not Implemented. More... | |
This is the DtVrfObjectNavInterface subclass for objects which insert themselves as nav edges into the nav areas to affect the path finding behavior of active entities.
Nav edges can connect disparate points in the nav data that are not otherwise connected by any nav data.
|
private |
Not Implemented.
|
private |
Not Implemented.
|
protected |
Use the create() method instead of calling the constructor.
|
virtual |
|
private |
Not Implemented.
|
static |
|
protectedvirtual |
Virtual init, called from the create() method.
Reimplemented from DtVrfObjectNavInterface.
|
virtual |
Perform additional initialization after the object has been initialized.
Ensures the nav edge is created prior to ticking sim components.
Reimplemented from DtVrfObjectNavInterface.
|
virtual |
Reimplemented from DtVrfObjectNavInterface.
|
virtual |
|
protectedvirtual |
Called when the objects position is in a navArea that it was not on the previous check.
Reimplemented from DtVrfObjectNavInterface.
|
staticprotected |
Callback to handle the changing of nav edge vertices.
|
protectedvirtual |
|
protected |
Creates a nav edge that matches the current geometry of this object.
Returns whether it has finished creating the NavEdge (true means nothing more needs to be created, false means it will attempt to finish creating on next tick)
|
protectedvirtual |
Performs the special logic for ladders when making a NavEdge (called by createNavEdge)
|
protected |
Removes the current nav edge.
|
protected |
Attempt to modify the given DtVector to a point that is "navigable" within the given point profile radius.
Returns true if it actually modified the vector
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |