249 const RGBColor& color,
const double width,
const double exaggeration)
const;
253 const double width,
const double exaggeration)
const;
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
A class that stores a 2D geometrical boundary.
Problem
enum class for demandElement problems
A NBNetBuilder extended by visualisation and editing capabilities.
int getPathStopIndex() const
get pathStopIndex
GNEMoveElement * getMoveElement() const override
methods to retrieve the elements linked to this stop
void setStopMicrosimID()
set stop microsim ID
SUMOVehicleClass getVClass() const override
obtain VClass related with this demand element
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList) override
bool drawIndex() const
draw index
GNEMoveElementLaneDouble * myMoveElementLaneDouble
move element lane double
GNEContour myStopContour
variable used for draw contours
Position getPositionInView() const override
Returns position of demand element in view.
std::string getAttribute(SumoXMLAttr key) const override
inherited from GNEAttributeCarrier
double getExaggeration(const GUIVisualizationSettings &s) const override
return exaggeration associated with this GLObject
void writeDemandElement(OutputDevice &device) const override
write demand element element into a xml file
GNELane * getFirstPathLane() const override
get first path lane
Boundary myMovingGeometryBoundary
boundary used during moving of elements (to avoid insertion in RTREE)
void drawStopOverStoppingPlace(const GUIVisualizationSettings::Detail d, const RGBColor &color, const double width, const double exaggeration) const
draw stop over stoppingPlace
GNEStop & operator=(const GNEStop &)=delete
Invalidated assignment operator.
Boundary getCenteringBoundary() const override
Returns the boundary to which the view shall be centered in order to show the object.
void drawGL(const GUIVisualizationSettings &s) const override
Draws the object.
void computePathElement() override
compute pathElement
void drawStopOverLane(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const RGBColor &color, const double width, const double exaggeration) const
draw stop over lane
void drawJunctionPartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const override
Draws partial object over junction.
Problem isDemandElementValid() const override
check if current demand element is valid to be written into XML (by default true, can be reimplemente...
double getAttributeDouble(SumoXMLAttr key) const override
Parameterised * getParameters() override
get parameters associated with this stop
void drawStopLabel(const GUIVisualizationSettings &s) const
std::string getDemandElementProblem() const override
return a string with the current demand element problem (by default empty, can be reimplemented in ch...
void toggleAttribute(SumoXMLAttr key, const bool value) override
method for enable or disable the attribute and nothing else (used in GNEChange_ToggleAttribute)
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList) override
std::string mySecondOriginalPosition
value for saving second original position over lane before moving
bool isValid(SumoXMLAttr key, const std::string &value) override
std::string myFirstOriginalLanePosition
value for saving first original position over lane before moving
void updateGeometry() override
update pre-computed geometry information
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList) override
split geometry
const int myCreationIndex
creation index (using for saving sorted)
Position getAttributePosition(SumoXMLAttr key) const override
double getStartGeometryPositionOverLane() const
get start position over lane that is applicable to the shape
Position myOriginalViewPosition
value for saving first original position over lane before moving
void drawGeometryPoints(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const RGBColor &baseColor) const
draw geometry points
bool canDrawVehicleStop() const
check if vehicle stop can be draw
void fixDemandElementProblem() override
fix demand element problem (by default throw an exception, has to be reimplemented in children)
GNELane * getLastPathLane() const override
get last path lane
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
double getEndGeometryPositionOverLane() const
get end position over lane that is applicable to the shape
bool isAttributeEnabled(SumoXMLAttr key) const override
GNEStop(const GNEStop &)=delete
Invalidated copy constructor.
std::string getParentName() const override
Returns the name of the parent object.
void drawLanePartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const override
Draws partial object over lane.
const RGBColor & getColor() const override
get color
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.
An upper class for objects with additional parameters.
A point in 2D or 3D with translation and scaling methods.
Definition of vehicle stop (position and duration)
std::string lane
The lane to stop at.