52 const SUMOTime period,
const std::string& outputFilename,
const std::vector<std::string>& vehicleTypes,
53 const std::vector<std::string>& nextEdges,
const std::string& detectPersons,
const std::string& name,
194 const double exaggeration,
const std::string& logo,
const RGBColor& textColor)
const;
198 const double exaggeration,
const std::string& logo,
const RGBColor& textColor)
const;
const std::string invalid_return< std::string >::value
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
GNEAdditional(const std::string &id, GNENet *net, const std::string &filename, SumoXMLTag tag, const std::string &additionalName)
Constructor.
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList) override
split geometry
SUMOTime myPeriod
The aggregation period the values the detector collects shall be summed up.
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
Position getPositionInView() const override
Returns position of additional in view.
void drawE2DetectorLogo(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const double exaggeration, const std::string &logo, const RGBColor &textColor) const
draw E2 detector Logo
Position getDetectorAttributePosition(SumoXMLAttr key) const
std::string myOutputFilename
The path to the output file.
bool checkDrawMoveContour() const override
check if draw move contour (red)
~GNEDetector()
Destructor.
bool isDetectorValid(SumoXMLAttr key, const std::string &value)
Parameterised * getParameters() override
methods to retrieve the elements linked to this detector
void setDetectorAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
void setPosition(const Position &pos)=delete
Invalidate set new position in the view.
std::vector< std::string > myNextEdges
next edges
PositionVector getAttributePositionVector(SumoXMLAttr key) const override
void drawE1Shape(const GUIVisualizationSettings::Detail d, const double exaggeration, const RGBColor &mainColor, const RGBColor &secondColor) const
draw E1 shape
double getDetectorAttributeDouble(SumoXMLAttr key) const
std::string getParentName() const override
Returns the name of the parent object.
GNEDetector(GNENet *net, SumoXMLTag tag)
Default constructor.
void writeDetectorValues(OutputDevice &device) const
write additional element into a xml file
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
void updateCenteringBoundary(const bool updateGrid) override
update centering boundary (implies change in RTREE)
std::string getDetectorAttribute(SumoXMLAttr key) const
std::vector< std::string > myVehicleTypes
attribute vehicle types
void drawE1DetectorLogo(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const double exaggeration, const std::string &logo, const RGBColor &textColor) const
draw E1 detector Logo
std::string myDetectPersons
detect persons
const Position & getPosition() const =delete
Invalidate return position of additional.
A NBNetBuilder extended by visualisation and editing capabilities.
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.
std::map< std::string, std::string > Map
parameters map
Parameterised()
Default constructor.
A point in 2D or 3D with translation and scaling methods.