17 #ifndef GNECalibratorVehicleType_h 18 #define GNECalibratorVehicleType_h 52 double accel,
double decel,
double sigma,
double tau,
double length,
double minGap,
53 double maxSpeed,
double speedFactor,
double speedDev,
const RGBColor& color,
55 double width,
const std::string& filename,
double impatience,
const std::string& laneChangeModel,
56 const std::string& carFollowModel,
int personCapacity,
int containerCapacity,
double boardingDuration,
57 double loadingDuration,
const std::string& latAlignment,
double minGapLat,
double maxSpeedLat);
double myTau
Car-following model parameter.
double myMinGap
Empty space after leader [m].
double myMaxSpeedLat
The maximum lateral speed when using the sublane-model.
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
void updateGeometry(bool updateGrid)
update pre-computed geometry information
Stores the information about how to visualize structures.
std::string getAttribute(SumoXMLAttr key) const
inherited from GNEAttributeCarrier
double myImpatience
Willingess of drivers to impede vehicles with higher priority. See below for semantics.
double myWidth
The vehicle's width [m] (only used for drawing)
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
double myAccel
The acceleration ability of vehicles of this type (in m/s^2)
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
std::string getParentName() const
Returns the name of the parent object.
GNECalibratorVehicleType(GNEViewNet *viewNet)
constructor (Used only in GNECalibratorDialog)
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
double myDecel
The deceleration ability of vehicles of this type (in m/s^2)
std::string myLatAlignment
The preferred lateral alignment when using the sublane-model. One of (left, right, center, compact, nice, arbitrary).
double myLength
The vehicle's netto-length (length) (in m)
double mySigma
Car-following model parameter.
~GNECalibratorVehicleType()
destructor
Position getPositionInView() const
Returns position of additional in view.
std::string myCarFollowModel
The model used for car following.
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
RGBColor myColor
This vehicle type's color.
int myPersonCapacity
The number of persons (excluding an autonomous driver) the vehicle can transport. ...
double mySpeedDev
The deviation of the speedFactor; see below for details.
A point in 2D or 3D with translation and scaling methods.
SUMOVehicleClass myVClass
An abstract vehicle class.
GNECalibratorVehicleType * operator=(GNECalibratorVehicleType *)=delete
Invalidated assignment operator.
SUMOVehicleShape myShape
How this vehicle is rendered.
std::string myEmissionClass
An abstract emission class.
std::string myFilename
Image file for rendering vehicles of this type (should be grayscale to allow functional coloring) ...
Dialog for edit calibrators.
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList
double myBoardingDuration
The time required by a person to board the vehicle.
SUMOVehicleShape
Definition of vehicle classes to differ between different appearences.
An Element which don't belongs to GNENet but has influency in the simulation.
double myLoadingDuration
The time required to load a container onto the vehicle.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
double myMinGapLat
The minimum lateral gap at a speed difference of 100km/h when using the sublane-model.
double myMaxSpeed
The vehicle's maximum velocity (in m/s)
double mySpeedFactor
The vehicles expected multiplicator for lane speed limits.
std::string myLaneChangeModel
The model used for changing lanes.
int myContainerCapacity
The number of containers the vehicle can transport.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...