AI_NavigationMesh::PointVisitor Class Reference

#include <AI_NavigationMesh.h>

Inheritance diagram for AI_NavigationMesh::PointVisitor:

AI_SDB_VisibilityVisitor

List of all members.


Detailed Description

Special point visitor of the spatial database.

Select bboxes that contains given point.

Public Member Functions

 PointVisitor (const AI_Vector3 &v_position, VisibleElements &foundarray)
 Default constructor.
virtual AI_SDB_VisitorFlags VisibilityTest (const AI_BBox &testbox, AI_SDB_VisitorFlags flags)
 Perform test if point is contained in bbox.
virtual AI_SDB_VisitorFlags VisibilityTest (const AI_Sphere &testsphere, AI_SDB_VisitorFlags flags)
 Perform test if point is contained in AI_Sphere.
virtual void Visit (AI_SDB_SpatialElement *visitee)
 Append element into visible alements array.
AI_SDB_SpatialElementgetNearestElement (void)


Constructor & Destructor Documentation

AI_NavigationMesh::PointVisitor::PointVisitor ( const AI_Vector3 v_position,
VisibleElements foundarray 
) [inline]

Default constructor.


Member Function Documentation

AI_SDB_VisitorFlags AI_NavigationMesh::PointVisitor::VisibilityTest ( const AI_BBox testbox,
AI_SDB_VisitorFlags  flags 
) [inline, virtual]

Perform test if point is contained in bbox.

Implements AI_SDB_VisibilityVisitor.

AI_SDB_VisitorFlags AI_NavigationMesh::PointVisitor::VisibilityTest ( const AI_Sphere testsphere,
AI_SDB_VisitorFlags  flags 
) [inline, virtual]

Perform test if point is contained in AI_Sphere.

This mandatory reimplementation is never used.

Implements AI_SDB_VisibilityVisitor.

void AI_NavigationMesh::PointVisitor::Visit ( AI_SDB_SpatialElement visitee  )  [inline, virtual]

Append element into visible alements array.

Implements AI_SDB_VisibilityVisitor.

AI_SDB_SpatialElement* AI_NavigationMesh::PointVisitor::getNearestElement ( void   ) 


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