![]() |
VR-Forces 4.7 Class Documentation
|
This class finds obstructions along rail segment lists, and provides reports about the details of these obstructions. More...
Public Member Functions | |
| DtRailObstructionFinder (DtVrfObjectManager *objMgr, DtPhysicalWorld *world, DtVrfObject *hostEntity) | |
| virtual | ~DtRailObstructionFinder () |
| virtual void | init (const DtRwObjectTypeList &passableObjectTypes) |
| virtual void | findObstructions (const DtRailSegmentList &rail, const DtVector &point, double distance, std::list< DtRailObstructionPtr > &result) |
| Looks for obstructions along the given rail, starting at the provided local location for the specified distance along the rail. | |
Protected Member Functions | |
| virtual bool | fillObstructionList (const DtRailSegmentList &rail, const DtVector &startPoint, double testDistance, std::list< DtRailObstructionPtr > &collisionList) |
| Finds all obstructions along the rail, starting at startPoint, and running for the specified testDistance. | |
| virtual bool | findObstructionsAlongSegment (const DtRailSegment *segment, double testAltitude, double distFromSegStart, double testDistance, std::list< DtRailObstructionPtr > &collisionList) |
| Finds all obstructions along the specified segment, starting at distFromSegStart, and running for the specified testDistance. | |
| virtual void | mergeObstructions (const std::list< DtRailObstructionPtr > &sourceList, std::list< DtRailObstructionPtr > &destiatnionList, double adjustmentDistance) |
| Merges the obstruction info from the source list to the destination list, removing duplicates if necessary. | |
| void | publishDebugPath (const DtVector &localStart, const DtVector &localEnd) |
| Method used for debugging. | |
Protected Attributes | |
| DtVrfObjectManager * | myObjectManager |
| DtPhysicalWorld * | myPhysicalWorld |
| DtCollisionDetector * | myCollisionDetector |
| DtVrfObject * | myHostEntity |
| DtVrfObject * | myDebugRoute |
Private Member Functions | |
| DtRailObstructionFinder () | |
| Not implemented. | |
| DtRailObstructionFinder (const DtRailObstructionFinder &orig) | |
| DtRailObstructionFinder & | operator= (const DtRailObstructionFinder &orig) |
This class finds obstructions along rail segment lists, and provides reports about the details of these obstructions.
| DtRailObstructionFinder::DtRailObstructionFinder | ( | DtVrfObjectManager * | objMgr, |
| DtPhysicalWorld * | world, | ||
| DtVrfObject * | hostEntity | ||
| ) |
|
virtual |
|
private |
Not implemented.
|
private |
|
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.
|
protected |
Method used for debugging.
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |