![]() |
VR-Forces 4.0.4 Class Documentation
|
This class is used for nodes that are on the ends of road segments that are part of the vector data of the terrain. More...

Public Member Functions | |
| DtVectorPathNode (const DtPoint &point, const DtNetworkSegment *netNode, int segmentPosition, double cost, DtPathPlanner *pathPlanner) | |
| virtual | ~DtVectorPathNode () |
| virtual void | generateChildNodes () |
| Generates child nodes for any other vector nodes connected by a single network segment to this node, and any grid nodes that are less than a single grid spacing from this node location. | |
| virtual bool | visited () |
| Uses the vector node list on myPathPlanner to determin if this node is visited. | |
| virtual void | markVisited () |
| Uses the vector node list on myPathPlanner to mark this node is visited. | |
Protected Attributes | |
| const DtNetworkSegment * | myNetworkSegment |
| int | mySegmentPosition |
This class is used for nodes that are on the ends of road segments that are part of the vector data of the terrain.
| DtVectorPathNode::DtVectorPathNode | ( | const DtPoint & | point, |
| const DtNetworkSegment * | netNode, | ||
| int | segmentPosition, | ||
| double | cost, | ||
| DtPathPlanner * | pathPlanner | ||
| ) |
| virtual DtVectorPathNode::~DtVectorPathNode | ( | ) | [virtual] |
| virtual void DtVectorPathNode::generateChildNodes | ( | ) | [virtual] |
Generates child nodes for any other vector nodes connected by a single network segment to this node, and any grid nodes that are less than a single grid spacing from this node location.
Implements DtAStarNode.
| virtual bool DtVectorPathNode::visited | ( | ) | [virtual] |
Uses the vector node list on myPathPlanner to determin if this node is visited.
Implements DtAStarNode.
| virtual void DtVectorPathNode::markVisited | ( | ) | [virtual] |
Uses the vector node list on myPathPlanner to mark this node is visited.
Implements DtAStarNode.
const DtNetworkSegment* DtVectorPathNode::myNetworkSegment [protected] |
int DtVectorPathNode::mySegmentPosition [protected] |