 |
Eclipse SUMO - Simulation of Urban MObility
|
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
An Element which don't belongs to GNENet but has influency in the simulation.
void updateGeometry()
update pre-computed geometry information
void setEnabledAttribute(const int enabledAttributes)
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute)
An upper class for objects with additional parameters.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
void selectAttributeCarrier(bool changeFlag=true)
inherited from GNEAttributeCarrier
Static storage of an output device and its base (abstract) implementation.
void endGeometryMoving()
end geometry movement
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
void invalidatePath()
invalidate path
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
double getAttributeDouble(SumoXMLAttr key) const
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
Position getPositionInView() const
Returns position of additional in view.
void fixDemandElementProblem()
fix demand element problem (by default throw an exception, has to be reimplemented in children)
A road/street connecting two junctions (netedit-version)
SUMOVehicleClass myVClass
SUMOVehicleClass (Only used for drawing)
void writeDemandElement(OutputDevice &device) const
writte demand element element into a xml file
struct for saving route parameters
void startGeometryMoving()
GNEEdge * getFromEdge() const
A class that stores a 2D geometrical boundary.
GNEEdge * getToEdge() const
obtain to edge of this demand element
bool isDemandElementValid() const
check if current demand element is valid to be writed into XML (by default true, can be reimplemented...
A point in 2D or 3D with translation and scaling methods.
void computePath()
compute path
void splitEdgeGeometry(const double splitPosition, const GNENetElement *originalElement, const GNENetElement *newElement, GNEUndoList *undoList)
split geometry
std::string getAttribute(SumoXMLAttr key) const
void unselectAttributeCarrier(bool changeFlag=true)
unselect attribute carrier using GUIGlobalSelection
void updatePartialGeometry(const GNEEdge *edge)
partial update pre-computed geometry information
std::string getDemandElementProblem() const
return a string with the current demand element problem (by default empty, can be reimplemented in ch...
bool isAttributeEnabled(SumoXMLAttr key) const
RGBColor myColor
route color
std::string getParentName() const
Returns the name of the parent 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 getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GNERoute & operator=(GNERoute *)=delete
Invalidated assignment operator.
Stores the information about how to visualize structures.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
GNERoute(GNEViewNet *viewNet)
default constructor
SUMOVehicleClass getVClass() const
obtain VClass related with this demand element
const RGBColor & getColor() const
get color