48 double haltingSpeedThreshold,
50 const std::string name,
const std::string& vTypes,
51 const std::string& nextEdges,
52 int detectPersons,
bool openEntry,
bool expectArrival);
142 double upscale)
const;
std::vector< MSCrossSection > CrossSectionVector
A class that stores a 2D geometrical boundary.
GUIDetectorWrapper(GUIGlObjectType type, const std::string &id, FXIcon *icon)
Constructor.
std::vector< SingleCrossingDefinition > CrossingDefinitions
Definition of a list of cross (entry/exit-point) positions.
SingleCrossingDefinition buildDefinition(const MSCrossSection §ion)
Builds the description about the position of the entry/exit point.
Boundary getCenteringBoundary() const override
Returns the boundary to which the view shall be centered in order to show the object.
GUIE3Collector & myDetector
The wrapped detector.
void drawSingleCrossing(const Position &pos, double rot, double upscale) const
Draws a single entry/exit point.
GUIE3Collector & getDetector()
Returns the detector itself.
double getExaggeration(const GUIVisualizationSettings &s) const override
return exaggeration associated with this GLObject
CrossingDefinitions myExitDefinitions
The list of exit positions.
CrossingDefinitions myEntryDefinitions
The list of entry positions.
MyWrapper(GUIE3Collector &detector)
Constructor.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own parameter window.
void drawGL(const GUIVisualizationSettings &s) const override
Draws the object.
Boundary myBoundary
The detector's boundary.
~GUIE3Collector()
Destructor.
const CrossSectionVector & getExits() const
Returns the list of exit points.
GUIDetectorWrapper * buildDetectorGUIRepresentation()
Returns the wrapper for this detector.
GUIE3Collector(const std::string &id, const CrossSectionVector &entries, const CrossSectionVector &exits, double haltingSpeedThreshold, SUMOTime haltingTimeThreshold, const std::string name, const std::string &vTypes, const std::string &nextEdges, int detectPersons, bool openEntry, bool expectArrival)
Constructor.
const CrossSectionVector & getEntries() const
Returns the list of entry points.
A window containing a gl-object's parameter.
Stores the information about how to visualize structures.
A simple description of a position on a lane (crossing of a lane).
MSE3Collector(const std::string &id, const CrossSectionVector &entries, const CrossSectionVector &exits, double haltingSpeedThreshold, SUMOTime haltingTimeThreshold, const std::string name, const std::string &vTypes, const std::string &nextEdges, int detectPersons, bool openEntry, bool expectArrival)
Constructor.
A point in 2D or 3D with translation and scaling methods.
Representation of a single crossing point.
Position myFGPosition
The position.
double myFGRotation
The rotation.