![]() |
VR-Forces Developer's Guide
|
This class finds obstructions along rail segment lists, and provides reports about the details of these obstructions.
Public Member Functions | |
| DtRailObstructionFinder (DtVrfObjectManager *objMgr, DtPhysicalWorld *world, DtLocalObject *hostEntity) | |
| virtual | ~DtRailObstructionFinder () |
| virtual void | init (const DtRwObjectTypeList &passableObjectTypes) |
| virtual void | findObstructions (const DtRailSegmentList &rail, const DtVector &point, double distance, std::list< DtRailObstructionPtr > &result) |
Protected Member Functions | |
| virtual bool | fillObstructionList (const DtRailSegmentList &rail, const DtVector &startPoint, double testDistance, std::list< DtRailObstructionPtr > &collisionList) |
| virtual bool | findObstructionsAlongSegment (const DtRailSegment *segment, double testAltitude, double distFromSegStart, double testDistance, std::list< DtRailObstructionPtr > &collisionList) |
| virtual void | mergeObstructions (const std::list< DtRailObstructionPtr > &sourceList, std::list< DtRailObstructionPtr > &destiatnionList, double adjustmentDistance) |
Protected Attributes | |
| DtVrfObjectManager * | myObjectManager |
| DtPhysicalWorld * | myPhysicalWorld |
| DtCollisionDetector * | myCollisionDetector |
| DtLocalObject * | myHostEntity |
Private Member Functions | |
| DtRailObstructionFinder () | |
| DtRailObstructionFinder (const DtRailObstructionFinder &orig) | |
| DtRailObstructionFinder & | operator= (const DtRailObstructionFinder &orig) |
| DtRailObstructionFinder::DtRailObstructionFinder | ( | DtVrfObjectManager * | objMgr, |
| DtPhysicalWorld * | world, | ||
| DtLocalObject * | hostEntity | ||
| ) |
|
virtual |
|
private |
Not implemented.
|
private |
Not implemented.
|
virtual |
|
virtual |
Looks for obstructions along the given rail, starting at the provided local location for the specified distance along the rail. Fills the result list with the found obstruction information.
|
protectedvirtual |
Finds all obstructions along the rail, starting at startPoint, and running for the specified testDistance.
|
protectedvirtual |
Finds all obstructions along the specified segment, starting at distFromSegStart, and running for the specified testDistance.
|
protectedvirtual |
Merges the obstruction info from the source list to the destination list, removing duplicates if necessary. All distances specified on sourceList are adjusted by the specified adjustmentDistance.
|
private |
Not implemented.
|
protected |
|
protected |
|
protected |
|
protected |