20 #include <matrix/vlVector.h>
47 virtual bool findFirstObstructionInLane(
const DtRoadSegment* startSegment,
48 const int roadLaneNum,
49 const double frontBumperPositionAlongLane,
51 std::vector<std::vector<DtVector> > & debugBoxes,
52 bool debug =
false)
const;
64 virtual bool findFirstObstructionUpstreamInLane(
const DtRoadSegment* startSegment,
65 const int roadLaneNum,
66 const double positionAlongLane,
68 std::vector<std::vector<DtVector> > & debugBoxes,
69 bool debug =
false)
const;
76 virtual bool findImmediateObstruction(
double& obstacleDistance, std::vector<DtVector>& debugLocations,
77 std::vector<std::vector<DtVector>>& debugBoxes,
bool debug =
false)
const;
87 virtual bool findNearestObstructionInSegment(
const DtRoadSegment* segment,
88 const int roadLaneNum,
89 const double distFromSegStart,
const double testDistance,
91 std::vector<std::vector<DtVector> > & debugBoxes,
92 bool debug =
false)
const;
99 virtual bool findNearestObstructionUpstreamInSegment(
const DtRoadSegment* segment,
100 double testAltitude,
const int roadLaneNum,
101 const double distFromSegStart,
const double testDistance,
103 std::vector<std::vector<DtVector> > & debugBoxes,
104 bool debug =
false)
const;
109 void getBoxPointsFromVolume(
const Dt3dBoundingVolume& volume,
110 const DtVector& refPoint,
const DtDcm& orientation,
111 std::vector<std::vector<DtVector> >& outputList)
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtCollisionDetector * myCollisionDetector
Definition: roadObstructionFinder.h:123
class DtRwEntityTypeList:
Definition: rwEntityTypeList.h:23
std::shared_ptr< DtRailObstruction > DtRailObstructionPtr
Definition: railObstructionInfo.h:78
DtLocalObject * myHostEntity
Definition: roadObstructionFinder.h:124
bool myDrivingOnLeft
Definition: roadObstructionFinder.h:125
const DtSimulationServices * mySimulationServices
Definition: roadObstructionFinder.h:122
The DtCollisionDetector is a class used to detect collisions between a specified list of obstructions...
Definition: collisionDetector.h:57
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:97
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
Description of one segment of a road.
Definition: roadSegment.h:408
An object containing functions to find obstructions in road segments in a road path; part of a DtRoad...
Definition: roadObstructionFinder.h:30
A locally simulated VRF object.
Definition: localObject.h:98