233 const RGBColor& color,
const double width,
const double exaggeration)
const;
237 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.
An Element which don't belong to GNENet but has influence in the simulation.
Problem
enum class for demandElement problems
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
A NBNetBuilder extended by visualisation and editing capabilities.
const RGBColor & getColor() const
get color
int getPathStopIndex() const
get pathStopIndex
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
SUMOVehicleClass getVClass() const
obtain VClass related with this demand element
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
void setStopMicrosimID()
set stop microsim ID
bool drawIndex() const
draw index
GNELane * getFirstPathLane() const
get first path lane
Position getAttributePosition(SumoXMLAttr key) const
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
GNEContour myStopContour
variable used for draw contours
Position getPositionInView() const
Returns position of demand element in view.
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList)
split geometry
bool isAttributeEnabled(SumoXMLAttr key) const
GNELane * getLastPathLane() const
get last path lane
void writeDemandElement(OutputDevice &device) const
write demand element element into a xml file
GNEMoveOperation * getMoveOperation()
get move operation
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
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
std::string getParentName() const
Returns the name of the parent object.
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
GNEStop & operator=(const GNEStop &)=delete
Invalidated assignment operator.
double getAttributeDouble(SumoXMLAttr key) const
std::string getAttribute(SumoXMLAttr key) const
inherited from GNEAttributeCarrier
void commitMoveShape(const GNEMoveResult &moveResult, GNEUndoList *undoList)
commit move shape
Problem isDemandElementValid() const
check if current demand element is valid to be written into XML (by default true, can be reimplemente...
void drawLanePartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const
Draws partial object over lane.
void computePathElement()
compute pathElement
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void drawStopOverLane(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const RGBColor &color, const double width, const double exaggeration) const
draw stop over lane
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform demand element changes
std::string mySecondOriginalPosition
value for saving second original position over lane before moving
void setMoveShape(const GNEMoveResult &moveResult)
set move shape
void fixDemandElementProblem()
fix demand element problem (by default throw an exception, has to be reimplemented in children)
std::string myFirstOriginalLanePosition
value for saving first original position over lane before moving
double getExaggeration(const GUIVisualizationSettings &s) const
return exaggeration associated with this GLObject
const int myCreationIndex
creation index (using for saving sorted)
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 drawJunctionPartialGL(const GUIVisualizationSettings &s, const GNESegment *segment, const double offsetFront) const
Draws partial object over junction.
void drawGeometryPoints(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const RGBColor &baseColor) const
draw geometry points
const Parameterised::Map & getACParametersMap() const
get parameters map
bool canDrawVehicleStop() const
check if vehicle stop can be draw
void updateGeometry()
update pre-computed geometry information
double getEndGeometryPositionOverLane() const
get end position over lane that is applicable to the shape
GNEStop(const GNEStop &)=delete
Invalidated copy constructor.
void toggleAttribute(SumoXMLAttr key, const bool value)
method for enable or disable the attribute and nothing else (used in GNEChange_ToggleAttribute)
std::string getDemandElementProblem() const
return a string with the current demand element problem (by default empty, can be reimplemented in ch...
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
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.