20 #include <matrix/vlVector.h>
49 virtual bool findFirstObstructionInLane(
const DtRoadSegment* startSegment,
50 const int roadLaneNum,
51 const double positionAlongLane,
53 std::vector<std::vector<DtVector> > & debugBoxes,
54 bool debug =
false)
const;
66 virtual bool findFirstObstructionUpstreamInLane(
const DtRoadSegment* startSegment,
67 const int roadLaneNum,
68 const double positionAlongLane,
70 std::vector<std::vector<DtVector> > & debugBoxes,
71 bool debug =
false)
const;
79 virtual bool findNearestObstructionInSegment(
const DtRoadSegment* segment,
80 const int roadLaneNum,
81 const double distFromSegStart,
const double testDistance,
83 std::vector<std::vector<DtVector> > & debugBoxes,
84 bool debug =
false)
const;
91 virtual bool findNearestObstructionUpstreamInSegment(
const DtRoadSegment* segment,
92 double testAltitude,
const int roadLaneNum,
93 const double distFromSegStart,
const double testDistance,
95 std::vector<std::vector<DtVector> > & debugBoxes,
96 bool debug =
false)
const;
101 void getBoxPointsFromVolume(Dt3dBoundingVolume& volume,
102 DtVector& refPoint, DtDcm& orientation,
103 std::vector<std::vector<DtVector> >& outputList)
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtCollisionDetector * myCollisionDetector
Definition: roadObstructionFinder.h:116
The DtPhysicalWorld is the primary interface to and manager of all of the "physical" aspects of the s...
Definition: physicalWorld.h:87
class DtRwObjectTypeList:
Definition: rwObjectTypeList.h:30
bool myDrivingOnLeft
Definition: roadObstructionFinder.h:118
The DtCollisionDetector is a class used to detect collisions between a specified list of obstructions...
Definition: collisionDetector.h:55
class DtVrfObjectManager:
Definition: vrfObjectManager.h:201
DtVrfObjectManager * myObjectManager
Definition: roadObstructionFinder.h:114
DtVrfObject * myHostEntity
Definition: roadObstructionFinder.h:117
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
DtPhysicalWorld * myPhysicalWorld
Definition: roadObstructionFinder.h:115
Description of one segment of a road.
Definition: roadSegment.h:390
An object containing functions to find obstructions in road segments in a road path; part of a DtRoad...
Definition: roadObstructionFinder.h:31
DtBoost::shared_ptr< DtRailObstruction > DtRailObstructionPtr
Definition: railObstructionInfo.h:78