VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtVectorPathNode Class Reference

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...

Inheritance diagram for DtVectorPathNode:
Inheritance graph
[legend]

List of all members.

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 DtNetworkSegmentmyNetworkSegment
int mySegmentPosition

Detailed Description

This class is used for nodes that are on the ends of road segments that are part of the vector data of the terrain.


Constructor & Destructor Documentation

DtVectorPathNode::DtVectorPathNode ( const DtPoint point,
const DtNetworkSegment netNode,
int  segmentPosition,
double  cost,
DtPathPlanner pathPlanner 
)
virtual DtVectorPathNode::~DtVectorPathNode ( ) [virtual]

Member Function Documentation

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.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)