![]() |
VR-Forces Developer's Guide
|
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.

Public Member Functions | |
| virtual | ~DtNavEdgeNavInterface () override |
| virtual void | postObjectInit () override |
| virtual void | tick () override |
| virtual DtNavArea * | navArea () |
Public Member Functions inherited from DtVrfObjectNavInterface | |
| virtual bool | ableToNavigate () const |
| 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 () |
| virtual void | setWaitingForLoad (bool isLoading) |
| virtual bool | isWaitingForLoad () const |
Static Public Member Functions | |
| static DtVrfObjectNavInterface * | create (DtLocalObject *vrfObject) |
Protected Member Functions | |
| DtNavEdgeNavInterface (DtLocalObject *vrfObject) | |
| virtual bool | init () override |
| virtual void | changingNavArea (DtNavArea *newNavArea) override |
| virtual void | processVerticesChanged () |
| bool | createNavEdge () |
| virtual bool | createNavEdgeLadder (const DtString &navigationProfile, const DtInputNavTag &navTag, const DtInputNavTag &entryExitNavTag) |
| void | removeNavEdge () |
| bool | adjustToNearestVertexLinkPoint (const DtString &, const double, const double, const DtVector &, DtVector &) const |
Protected Member Functions inherited from DtVrfObjectNavInterface | |
| DtVrfObjectNavInterface (DtLocalObject *vrfObject) | |
| DtVrfObjectNavInterface (DtSimObjectReference vrfObject) | |
| virtual bool | isCollidableWhenDestroyed () const |
Protected Attributes | |
| DtNavArea * | myNavArea |
| DtNavArea * | myNewNavArea |
| bool | myUpdatePointsRequired |
| bool | myChangingNavArea |
| unsigned | myNavEdgeIndex |
| boost::signals2::scoped_connection | mySetLocationConnection |
| boost::signals2::scoped_connection | myCurrentPitchedChangedConnection |
Protected Attributes inherited from DtVrfObjectNavInterface | |
| DtLocalObject * | myVrfObject |
| DtSimObjectReference | mySimObjectReference |
| DtSimulationServices * | mySimulationServices |
| DtNavArea * | myCurrentNavArea |
| bool | myFirstTick |
| bool | myIsWaitingForNavLoad |
| DtNoArgumentCallbackList | myChangedNavAreaCallbackList |
Private Member Functions | |
| DtNavEdgeNavInterface () | |
| DtNavEdgeNavInterface (const DtNavEdgeNavInterface &orig) | |
| DtNavEdgeNavInterface & | operator= (const DtNavEdgeNavInterface &orig) |
|
private |
Not Implemented.
|
private |
Not Implemented.
|
protected |
Use the create() method instead of calling the constructor.
|
overridevirtual |
|
private |
Not Implemented.
|
static |
|
overrideprotectedvirtual |
Virtual init, called from the create() method.
Reimplemented from DtVrfObjectNavInterface.
|
overridevirtual |
Perform additional initialization after the object has been initialized. Ensures the nav edge is created prior to ticking sim components.
Reimplemented from DtVrfObjectNavInterface.
|
overridevirtual |
Reimplemented from DtVrfObjectNavInterface.
|
virtual |
|
overrideprotectedvirtual |
Called when the objects position is in a navArea that it was not on the previous check.
Reimplemented from DtVrfObjectNavInterface.
|
protectedvirtual |
Callback to handle the changing of nav edge vertices.
|
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 |
|
protected |
|
protected |