64 MSLane* lane,
double startPos,
double endPos,
double detLength,
65 SUMOTime haltingTimeThreshold,
double haltingSpeedThreshold,
double jamDistThreshold,
66 const std::string& vTypes,
bool showDetector);
84 std::vector<MSLane*> lanes,
double startPos,
double endPos,
85 SUMOTime haltingTimeThreshold,
double haltingSpeedThreshold,
double jamDistThreshold,
86 const std::string& vTypes,
bool showDetector);
A class that stores a 2D geometrical boundary.
Boundary myBoundary
The detector's boundary.
MyWrapper & operator=(const MyWrapper &)
Invalidated assignment operator.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GUIE2Collector & myDetector
The wrapped detector.
std::vector< double > myShapeLengths
A sequence of lengths in full-geometry mode.
MyWrapper(GUIE2Collector &detector)
Constructor.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
MyWrapper(const MyWrapper &)
Invalidated copy constructor.
GUIE2Collector & getDetector()
Returns the detector itself.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
PositionVector myFullGeometry
A sequence of positions in full-geometry mode.
std::vector< double > myShapeRotations
A sequence of rotations in full-geometry mode.
The gui-version of the MSE2Collector.
bool isVisible() const
whether the induction loop shall be visible
bool myShow
Whether the detector shall be drawn in the gui.
void setVisible(bool show)
toggle visibility
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.
virtual GUIDetectorWrapper * buildDetectorGUIRepresentation()
Returns the wrapper for this detector.
~GUIE2Collector()
Destructor.
A window containing a gl-object's parameter.
Stores the information about how to visualize structures.
An areal detector corresponding to a sequence of consecutive lanes.
Representation of a lane in the micro simulation.