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