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 belongs to GNENet but has influency in the simulation.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
A NBNetBuilder extended by visualisation and editing capabilities.
double getAttributeDouble(SumoXMLAttr key) const
static void overwriteVType(GNEDemandElement *vType, SUMOVTypeParameter *newVTypeParameter, GNEUndoList *undoList)
overwrite all values of GNEVehicleType with a SUMOVTypeParameter
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
std::string getAttribute(SumoXMLAttr key) const
inherited from GNEAttributeCarrier
Position getPositionInView() const
Returns position of additional in view.
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
GNEVehicleType(GNENet *net, const std::string &vTypeID, const SUMOVehicleClass &defaultVClass, SumoXMLTag tag)
constructor for default VTypes
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform demand element changes
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
const std::map< std::string, std::string > & getACParametersMap() const
get parameters map
bool myDefaultVehicleType
flag to check if this GNEVehicleType is a default vehicle Type (For Vehicles, Pedestrians....
void drawPartialGL(const GUIVisualizationSettings &s, const GNELane *lane, const double offsetFront) const
Draws partial object.
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList)
split geometry
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
SUMOVehicleClass getVClass() const
void initRailVisualizationParameters()
init Rail Visualization Parameters
void writeDemandElement(OutputDevice &device) const
writte demand element element into a xml file
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void updateDefaultVClassAttributes(const VClassDefaultValues &defaultValues)
function called after set new VClass
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
void setEnabledAttribute(const int enabledAttributes)
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute)
std::string getParentName() const
Returns the name of the parent object.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
GNEVehicleType * operator=(GNEVehicleType *)=delete
Invalidated assignment operator.
void updateGeometry()
update pre-computed geometry information
void startGeometryMoving()
void endGeometryMoving()
end geometry movement
const RGBColor & getColor() const
get color
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GNEVehicleType(GNEVehicleType *)=delete
Invalidated copy constructor.
void invalidatePath()
invalidate path
bool myDefaultVehicleTypeModified
flag to check if this default GNEVehicleType was modified
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
void computePath()
compute path
bool isAttributeEnabled(SumoXMLAttr key) const
~GNEVehicleType()
destructor
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.
A point in 2D or 3D with translation and scaling methods.
Structure representing possible vehicle parameter.
struct for default values that depend of VClass