298 std::vector<GNEDemandElement*>
stops;
std::pair< PositionVector, PositionVector > calculatePersonPlanConnectionArrivalPos(GNELane *previousLane, double arrivalPosPersonPlan, GNELane *nextLane)
return two shapes used for calculate person plan conections between arrival position ...
void unselectAttributeCarrier(bool changeFlag=true)
unselect attribute carrier using GUIGlobalSelection
bool setFunctionalColor(int activeScheme) const
sets the color according to the current scheme index and some vehicle function
SumoXMLTag
Numbers representing SUMO-XML - element names.
std::pair< PositionVector, PositionVector > calculatePersonPlanConnectionStop(GNELane *previousLane, GNEDemandElement *stop, GNELane *nextLane)
return two shapes used for calculate person plan conections between stops
std::vector< GNEAdditional * > busStops
busStops placed in this segment
void setGenericParametersStr(const std::string &value)
set generic parameters in string format
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
std::vector< std::pair< std::string, std::string > > getGenericParameters() const
return generic parameters as vector of pairs format
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
Stores the information about how to visualize structures.
void endGeometryMoving()
end geometry movement
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
A class that stores a 2D geometrical boundary.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
double getAttributeDouble(SumoXMLAttr key) const
void selectAttributeCarrier(bool changeFlag=true)
inherited from GNEAttributeCarrier
std::string getGenericParametersStr() const
return generic parameters in string format
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
const RGBColor & getColor() const
get color
void setColor(const GUIVisualizationSettings &s) const
sets the color according to the currente settings
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.
GNEEdge * getToEdge() const
obtain to edge of this demand element
std::string getAttribute(SumoXMLAttr key) const
void startGeometryMoving()
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
GNEPerson & operator=(const GNEPerson &)=delete
Invalidated assignment operator.
void updateGeometry()
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...
void setEnabledAttribute(const int enabledAttributes)
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute) ...
A road/street connecting two junctions (netedit-version)
Position getPositionInView() const
Returns position of demand element in view.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
Structure representing possible vehicle parameter.
bool isDemandElementValid() const
check if current demand element is valid to be writed into XML (by default true, can be reimplemented...
bool isAttributeEnabled(SumoXMLAttr key) const
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform demand element changes ...
std::vector< GNEDemandElement * > stops
stops placed in this segment
An Element which don't belongs to GNENet but has influency in the simulation.
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
double arrivalPos
arrival position
SumoXMLTag tag
The vehicle tag.
void fixDemandElementProblem()
fix demand element problem (by default throw an exception, has to be reimplemented in children) ...
GNEPerson(SumoXMLTag tag, GNEViewNet *viewNet, GNEDemandElement *pType, const SUMOVehicleParameter &personparameters)
constructor for persons
Static storage of an output device and its base (abstract) implementation.
GNEEdge * getFromEdge() const
void writeDemandElement(OutputDevice &device) const
writte demand element element into a xml file
SUMOVehicleClass getVClass() const
obtain VClass related with this demand element
void compute()
compute demand element
void calculateSmoothPersonPlanConnection(const GNEDemandElement *personPlanElement, const GNEEdge *edgeFrom, const GNEEdge *edgeTo)
calculate smooth shape between personPlans
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
std::string getParentName() const
Returns the name of the parent object.
const GNEDemandElement * personPlan
person plan
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
An Element which don't belongs to GNENet but has influency in the simulation.
std::pair< PositionVector, PositionVector > calculatePersonPlanConnectionBusStop(GNELane *previousLane, GNEAdditional *busStop, GNELane *nextLane)
return two shapes used for calculate person plan conections between busStops
std::string getBegin() const
get begin time of demand element