 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef GUIE2Collector_h
20 #define GUIE2Collector_h
67 MSLane* lane,
double startPos,
double endPos,
double detLength,
68 SUMOTime haltingTimeThreshold,
double haltingSpeedThreshold,
double jamDistThreshold,
69 const std::string& vTypes,
bool showDetector);
87 std::vector<MSLane*> lanes,
double startPos,
double endPos,
88 SUMOTime haltingTimeThreshold,
double haltingSpeedThreshold,
double jamDistThreshold,
89 const std::string& vTypes,
bool showDetector);
A window containing a gl-object's parameter.
Representation of a lane in the micro simulation.
Boundary myBoundary
The detector's boundary.
An areal detector corresponding to a sequence of consecutive lanes.
std::vector< double > myShapeLengths
A sequence of lengths in full-geometry mode.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GUIE2Collector(const std::string &id, DetectorUsage usage, MSLane *lane, double startPos, double endPos, double detLength, SUMOTime haltingTimeThreshold, double haltingSpeedThreshold, double jamDistThreshold, const std::string &vTypes, bool showDetector)
Constructor with given end position and detector length.
bool myShowDetectorInGUI
Whether the detector shall be drawn in the gui.
MyWrapper & operator=(const MyWrapper &)
Invalidated assignment operator.
A class that stores a 2D geometrical boundary.
~GUIE2Collector()
Destructor.
GUIE2Collector & getDetector()
Returns the detector itself.
virtual GUIDetectorWrapper * buildDetectorGUIRepresentation()
Returns the wrapper for this detector.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
The gui-version of the MSE2Collector.
GUIE2Collector & myDetector
The wrapped detector.
Stores the information about how to visualize structures.
std::vector< double > myShapeRotations
A sequence of rotations in full-geometry mode.
PositionVector myFullGeometry
A sequence of positions in full-geometry mode.
MyWrapper(GUIE2Collector &detector)
Constructor.