40myCreationIndex(myNet->getAttributeCarriers()->getStopIndex()) {
52 myTagProperty.isVehicleWaypoint() ? parametersSet |=
STOP_SPEED_SET : parametersSet &= ~STOP_SPEED_SET;
65myCreationIndex(myNet->getAttributeCarriers()->getStopIndex()) {
77 stopParameter.onDemand ? parametersSet |=
STOP_ONDEMAND_SET : parametersSet &= ~STOP_ONDEMAND_SET;
79 myTagProperty.isVehicleWaypoint() ? parametersSet |=
STOP_SPEED_SET : parametersSet &= ~STOP_SPEED_SET;
92myCreationIndex(myNet->getAttributeCarriers()->getStopIndex()) {
100 stopParameter.onDemand ? parametersSet |=
STOP_ONDEMAND_SET : parametersSet &= ~STOP_ONDEMAND_SET;
102 myTagProperty.isVehicleWaypoint() ? parametersSet |=
STOP_SPEED_SET : parametersSet &= ~STOP_SPEED_SET;
190 write(device,
true,
false);
207 double laneLength =
getParentLanes().front()->getParentEdge()->getNBEdge()->getFinalLength() *
getParentLanes().front()->getLengthGeometryFactor();
210 double endPosCopy =
endPos;
212 if (startPosCopy < 0) {
213 startPosCopy += laneLength;
215 if (endPosCopy < 0) {
216 endPosCopy += laneLength;
219 if ((startPosCopy >= 0) && (endPosCopy <=
getParentLanes().front()->getParentEdge()->getNBEdge()->getFinalLength()) && ((endPosCopy - startPosCopy) >= POSITION_EPS)) {
232 return (
"Downstream stop");
236 double endPosCopy =
endPos;
238 double laneLength =
getParentLanes().front()->getParentEdge()->getNBEdge()->getFinalLength();
240 if (startPosCopy < 0) {
241 startPosCopy += laneLength;
243 if (endPosCopy < 0) {
244 endPosCopy += laneLength;
247 std::string errorStart, separator, errorEnd;
249 if (startPosCopy < 0) {
251 }
else if (startPosCopy >
getParentLanes().front()->getParentEdge()->getNBEdge()->getFinalLength()) {
254 if (endPosCopy < 0) {
256 }
else if (endPosCopy >
getParentLanes().front()->getParentEdge()->getNBEdge()->getFinalLength()) {
260 if ((errorStart.size() > 0) && (errorEnd.size() > 0)) {
263 return errorStart + separator + errorEnd;
286 if ((AC->getTagProperty().isRoute() || AC->getTagProperty().isVehicle()) && (AC !=
getParentDemandElements().front())) {
381 const double width = stopLane ? stopLane->getParentEdge()->getNBEdge()->getLaneWidth(stopLane->getIndex()) * 0.5 : exaggeration * 0.8;
563 std::vector<GNEDemandElement*> stops;
565 if (parent->getTagProperty().isVehicleStop()) {
566 stops.push_back(parent);
570 for (
int i = 0; i < (int)stops.size(); i++) {
571 if (stops.at(i) ==
this) {
575 return "invalid index";
612 std::vector<GNEDemandElement*> stops, filteredStops;
614 if (parent->getTagProperty().isVehicleStop()) {
615 stops.push_back(parent);
619 for (
const auto& stop : stops) {
621 filteredStops.push_back(stop);
625 for (
int i = 0; i < (int)filteredStops.size(); i++) {
626 if (filteredStops.at(i) ==
this) {
652 return laneShape.front();
654 return laneShape.back();
720 if (canParse<SUMOTime>(value)) {
721 return parse<SUMOTime>(value) >= 0;
727 const auto triggeredValues = parse<std::vector<std::string> >(value);
728 for (
const auto& triggeredValue : triggeredValues) {
729 if (std::find(expectedValues.begin(), expectedValues.end(), triggeredValue) == expectedValues.end()) {
739 const std::vector<std::string> expectedValues = parse<std::vector<std::string> >(value);
740 for (
const auto& expectedValue : expectedValues) {
754 const std::vector<std::string> expectedValues = parse<std::vector<std::string> >(value);
755 for (
const auto& expectedValue : expectedValues) {
763 if (value ==
"opportunistic") {
767 const auto triggeredValues = parse<std::vector<std::string> >(value);
768 for (
const auto& triggeredValue : triggeredValues) {
769 if (std::find(expectedValues.begin(), expectedValues.end(), triggeredValue) == expectedValues.end()) {
782 return canParse<bool>(value);
784 if ((value ==
"-1") || (value.empty())) {
786 }
else if (canParse<double>(value)) {
787 return parse<double>(value) >= 0;
793 if (canParse<double>(value)) {
794 return (parse<double>(value) >= 0);
819 }
else if (canParse<double>(value)) {
827 }
else if (canParse<double>(value)) {
833 return canParse<bool>(value);
838 return canParse<double>(value);
848 return canParse<bool>(value);
956 const double len =
getParentLanes().front()->getParentEdge()->getNBEdge()->getFinalLength();
960 return fixedPos *
getParentLanes().front()->getLengthGeometryFactor();
967 const double len =
getParentLanes().front()->getParentEdge()->getNBEdge()->getFinalLength();
971 return fixedPos *
getParentLanes().front()->getLengthGeometryFactor();
1008 }
else if (stopFrame->shown() && (stopFrame->getStopParentSelector()->getCurrentDemandElement() ==
getParentDemandElements().front())) {
1019 const double width,
const double exaggeration)
const {
1024 exaggeration * 0.1, 0, width);
1028 exaggeration * 0.1, 0, width * -1);
1038 glTranslated(0, exaggeration * 0.5, 0);
1042 glTranslated(0, 1, 0.1);
1048 glTranslated(0, 1.4, 0);
1054 glTranslated(-2.1, -2.4, 0);
1055 glRotated(-90, 0, 0, 1);
1071 const double width,
const double exaggeration)
const {
1085 glTranslated(-1.4, exaggeration * 0.5, 0.1);
1086 glRotated(-90, 0, 0, 1);
1102 if (value.empty()) {
1110 if (value.empty()) {
1118 if (value.empty()) {
1137 if ((value ==
"person") || (value ==
"true")) {
1143 }
else if (value ==
"container") {
1150 }
else if (value ==
"join") {
1175 if (
join.size() > 0) {
1183 if (value.empty()) {
1187 permitted = parse<std::set<std::string> >(value);
1210 if (parse<bool>(value)) {
1219 if ((value ==
"-1") || value.empty()) {
1229 speed = parse<double>(value);
1258 if (value.empty()) {
1266 if (value.empty()) {
1269 endPos = parse<double>(value);
1277 if (value.empty()) {
1281 posLat = parse<double>(value);
1287 if (
split.size() > 0) {
1295 if (parse<bool>(value)) {
1429 glTranslated(0, 0, 0.1);
1462 for (
const auto& edgeStop : edgeStopIndex) {
1463 for (
const auto& stop : edgeStop.stops) {
1465 return edgeStop.stopIndex;
@ DEMAND_MOVE
mode for moving demand elements
GUIIcon
An enumeration of icons used by the gui applications.
SUMOTime string2time(const std::string &r)
convert string to SUMOTime
std::string time2string(SUMOTime t, bool humanReadable)
convert SUMOTime to string (independently of global format setting)
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
const int STOP_DURATION_SET
const int STOP_POSLAT_SET
const int STOP_EXPECTED_SET
const int STOP_PARKING_SET
const int STOP_TRIP_ID_SET
const int STOP_PERMITTED_SET
const int STOP_CONTAINER_TRIGGER_SET
const int STOP_EXTENSION_SET
const int STOP_TRIGGER_SET
const int STOP_ONDEMAND_SET
const int STOP_EXPECTED_CONTAINERS_SET
SumoXMLTag
Numbers representing SUMO-XML - element names.
@ GNE_TAG_WAYPOINT_PARKINGAREA
@ GNE_TAG_STOP_PARKINGAREA
stop placed over a parking area
@ SUMO_TAG_CHARGING_STATION
A Charging Station.
@ SUMO_TAG_CONTAINER_STOP
A container stop.
@ SUMO_TAG_BUS_STOP
A bus stop.
@ SUMO_TAG_STOP
stop for vehicles
@ GNE_TAG_FLOW_WITHROUTE
description of a vehicle with an embedded route
@ SUMO_TAG_PARKING_AREA
A parking area.
@ SUMO_TAG_TRAIN_STOP
A train stop (alias for bus stop)
@ GNE_TAG_VEHICLE_WITHROUTE
description of a vehicle with an embedded route
@ GNE_TAG_STOP_LANE
stop placed over a lane
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
@ GNE_ATTR_PLAN_GEOMETRY_STARTPOS
person/container geometry start position
@ SUMO_ATTR_CONTAINER_STOP
@ GNE_ATTR_PARENT
parent of an additional element
@ GNE_ATTR_SELECTED
element is selected
@ GNE_ATTR_PARAMETERS
parameters "key1=value1|key2=value2|...|keyN=valueN"
@ SUMO_ATTR_CHARGING_STATION
@ GNE_ATTR_STOPINDEX
stop index (position in the parent's children
@ GNE_ATTR_PLAN_GEOMETRY_ENDPOS
person/container geometry end position
@ GNE_ATTR_PATHSTOPINDEX
stop index (position in the parent's path)
const double INVALID_DOUBLE
invalid double
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
A class that stores a 2D geometrical boundary.
void add(double x, double y, double z=0)
Makes the boundary include the given coordinate.
bool isInitialised() const
check if Boundary is Initialised
Boundary & grow(double by)
extends the boundary by the given amount
static void setColor(const RGBColor &c)
Sets the gl-color to this value.
static void popMatrix()
pop matrix
static void drawBoxLines(const PositionVector &geom, const std::vector< double > &rots, const std::vector< double > &lengths, double width, int cornerDetail=0, double offset=0)
Draws thick lines.
static void drawBoxLine(const Position &beg, double rot, double visLength, double width, double offset=0)
Draws a thick line.
static void drawFilledCircleDetailled(const GUIVisualizationSettings::Detail d, const double radius)
Draws a filled circle around (0,0) depending of level of detail.
static void pushMatrix()
push matrix
static void drawText(const std::string &text, const Position &pos, const double layer, const double size, const RGBColor &col=RGBColor::BLACK, const double angle=0, const int align=0, double width=-1)
An Element which don't belong to GNENet but has influence in the simulation.
const std::string getID() const
get ID (all Attribute Carriers have one)
bool isAttributeCarrierSelected() const
check if attribute carrier is selected
const std::string & getTagStr() const
get tag assigned to this object in string format
const GNETagProperties & getTagProperty() const
get tagProperty associated with this Attribute Carrier
void unselectAttributeCarrier(const bool changeFlag=true)
unselect attribute carrier using GUIGlobalSelection
bool drawUsingSelectColor() const
check if attribute carrier must be drawn using selecting color.
friend class GNEChange_ToggleAttribute
GNENet * myNet
pointer to net
void selectAttributeCarrier(const bool changeFlag=true)
select attribute carrier using GUIGlobalSelection
const GNETagProperties & myTagProperty
reference to tagProperty associated with this attribute carrier
const std::vector< std::string > & getDiscreteValues() const
get discrete values
static void changeAttribute(GNEAttributeCarrier *AC, SumoXMLAttr key, const std::string &value, GNEUndoList *undoList, const bool force=false)
change attribute
void calculateContourExtrudedShape(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const GUIGlObject *glObject, const PositionVector &shape, const double layer, const double extrusionWidth, const double scale, const bool closeFirstExtrem, const bool closeLastExtrem, const double offset) const
calculate contour extruded (used in elements formed by a central shape)
void drawDottedContours(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const GNEAttributeCarrier *AC, const double lineWidth, const bool addOffset) const
draw dotted contours (basics, select, delete, inspect...)
GUIGeometry myDemandElementGeometry
demand element geometry (also called "stacked geometry")
void replaceFirstParentAdditional(SumoXMLTag tag, const std::string &value)
replace the first parent additional
void setDemandElementID(const std::string &newID)
set demand element id
std::vector< EdgeStopIndex > getEdgeStopIndex() const
get edgeStopIndex
void replaceDemandParentLanes(const std::string &value)
replace demand parent lanes
Problem
enum class for demandElement problems
GNEDemandElement * getCurrentDemandElement() const
get current demand element
const std::vector< GNEDemandElement * > & getChildDemandElements() const
return child demand elements
const std::vector< GNEDemandElement * > & getParentDemandElements() const
get parent demand elements
const std::vector< GNEAdditional * > & getParentAdditionals() const
get parent additionals
const std::vector< GNELane * > & getParentLanes() const
get parent lanes
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
const PositionVector & getLaneShape() const
get elements shape
double myMoveElementLateralOffset
move element lateral offset (used by elements placed over lanes
bool getAllowChangeLane() const
allow change lane
CommonModeOptions * getCommonModeOptions() const
get common mode options
const GNELane * newFirstLane
new first Lane
double newFirstPos
new first position
const GNEMoveOperation::OperationType operationType
move operation
double firstLaneOffset
lane offset
double newSecondPos
new second position
GNELane * retrieveLane(const std::string &id, bool hardFail=true, bool checkVolatileChange=false) const
get lane by id
GNEAdditional * retrieveAdditional(SumoXMLTag type, const std::string &id, bool hardFail=true) const
Returns the named additional.
A NBNetBuilder extended by visualisation and editing capabilities.
GNENetHelper::AttributeCarriers * getAttributeCarriers() const
get all attribute carriers used in this net
GNEViewNet * getViewNet() const
get view net
GNEDemandElementSelector * getStopParentSelector() const
get stop parent selector
const RGBColor & getColor() const
get color
int getPathStopIndex() const
get pathStopIndex
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
SUMOVehicleClass getVClass() const
obtain VClass related with this demand element
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
void setStopMicrosimID()
set stop microsim ID
GNEStop(SumoXMLTag tag, GNENet *net)
default constructor
bool drawIndex() const
draw index
GNELane * getFirstPathLane() const
get first path lane
Position getAttributePosition(SumoXMLAttr key) const
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
GNEContour myStopContour
variable used for draw contours
Position getPositionInView() const
Returns position of demand element in view.
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList)
split geometry
bool isAttributeEnabled(SumoXMLAttr key) const
GNELane * getLastPathLane() const
get last path lane
void writeDemandElement(OutputDevice &device) const
write demand element element into a xml file
GNEMoveOperation * getMoveOperation()
get move operation
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
Boundary myMovingGeometryBoundary
boundary used during moving of elements (to avoid insertion in RTREE)
void drawStopOverStoppingPlace(const GUIVisualizationSettings::Detail d, const RGBColor &color, const double width, const double exaggeration) const
draw stop over stoppingPlace
std::string getParentName() const
Returns the name of the parent object.
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
double getAttributeDouble(SumoXMLAttr key) const
std::string getAttribute(SumoXMLAttr key) const
inherited from GNEAttributeCarrier
void commitMoveShape(const GNEMoveResult &moveResult, GNEUndoList *undoList)
commit move shape
Problem isDemandElementValid() const
check if current demand element is valid to be written into XML (by default true, can be reimplemente...
void drawLanePartialGL(const GUIVisualizationSettings &s, const GNEPathManager::Segment *segment, const double offsetFront) const
Draws partial object over lane.
void computePathElement()
compute pathElement
void drawJunctionPartialGL(const GUIVisualizationSettings &s, const GNEPathManager::Segment *segment, const double offsetFront) const
Draws partial object over junction.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void drawStopOverLane(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const RGBColor &color, const double width, const double exaggeration) const
draw stop over lane
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform demand element changes
void setMoveShape(const GNEMoveResult &moveResult)
set move shape
void fixDemandElementProblem()
fix demand element problem (by default throw an exception, has to be reimplemented in children)
double getExaggeration(const GUIVisualizationSettings &s) const
return exaggeration associated with this GLObject
const int myCreationIndex
creation index (using for saving sorted)
double getStartGeometryPositionOverLane() const
get start position over lane that is applicable to the shape
void drawGeometryPoints(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const RGBColor &baseColor) const
draw geometry points
const Parameterised::Map & getACParametersMap() const
get parameters map
bool canDrawVehicleStop() const
check if vehicle stop can be draw
void updateGeometry()
update pre-computed geometry information
double getEndGeometryPositionOverLane() const
get end position over lane that is applicable to the shape
void toggleAttribute(SumoXMLAttr key, const bool value)
method for enable or disable the attribute and nothing else (used in GNEChange_ToggleAttribute)
std::string getDemandElementProblem() const
return a string with the current demand element problem (by default empty, can be reimplemented in ch...
const GNEAttributeProperties & getAttributeProperties(SumoXMLAttr attr) const
get attribute (throw error if doesn't exist)
SumoXMLTag getTag() const
get Tag vinculated with this attribute Property
bool isVehicleWaypoint() const
return true if tag correspond to a vehicle waypoint element
bool hasAttribute(SumoXMLAttr attr) const
check if current TagProperties owns the attribute "attr"
void end()
End undo command sub-group. If the sub-group is still empty, it will be deleted; otherwise,...
void begin(GUIIcon icon, const std::string &description)
Begin undo command sub-group with current supermode. This begins a new group of commands that are tre...
void add(GNEChange *command, bool doit=false, bool merge=true)
Add new command, executing it if desired. The new command will be merged with the previous command if...
const GNEViewNetHelper::EditModes & getEditModes() const
get edit modes
const GNEViewNetHelper::MouseButtonKeyPressed & getMouseButtonKeyPressed() const
get Key Pressed module
void drawTranslateFrontAttributeCarrier(const GNEAttributeCarrier *AC, double typeOrLayer, const double extraOffset=0)
draw front attributeCarrier
GNEViewParent * getViewParent() const
get the net object
const std::vector< GNEAttributeCarrier * > & getInspectedAttributeCarriers() const
get inspected attribute carriers
bool isAttributeCarrierInspected(const GNEAttributeCarrier *AC) const
check if attribute carrier is being inspected
const GNEViewNetHelper::DemandViewOptions & getDemandViewOptions() const
get demand view options
GNEStopFrame * getStopFrame() const
get frame for DEMAND_STOP
GNEMoveFrame * getMoveFrame() const
get frame for move elements
const std::vector< double > & getShapeRotations() const
The rotations of the single shape parts.
static void drawGeometry(const GUIVisualizationSettings::Detail d, const GUIGeometry &geometry, const double width, double offset=0)
draw geometry
const PositionVector & getShape() const
The shape of the additional element.
void updateGeometry(const PositionVector &shape)
update entire geometry
const std::vector< double > & getShapeLengths() const
The lengths of the single shape parts.
const std::string & getMicrosimID() const
Returns the id of the object as known to microsim.
GUIGlObjectType getType() const
Returns the type of the object as coded in GUIGlObjectType.
void drawName(const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0, bool forceShow=false) const
draw name of item
const GUIVisualizationSettings & getVisualisationSettings() const
get visualization settings (read only)
virtual Position getPositionInformation() const
Returns the cursor's x/y position within the network.
Stores the information about how to visualize structures.
GUIVisualizationTextSettings addName
GUIVisualizationSizeSettings addSize
bool checkDrawAdditional(Detail d, const bool selected) const
check if draw additionals
Detail getDetailLevel(const double exaggeration) const
return the detail level
GUIVisualizationColorSettings colorSettings
color settings
GUIVisualizationDottedContourSettings dottedContourSettings
dotted contour settings
double scale
information about a lane's width (temporary, used for a single view)
GUIVisualizationNeteditSizeSettings neteditSizeSettings
netedit size settings
Static storage of an output device and its base (abstract) implementation.
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
static bool areParametersValid(const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|")
check if given string can be parsed to a parameters map "key1=value1|key2=value2|....
std::map< std::string, std::string > Map
parameters map
void setParametersStr(const std::string ¶msString, const std::string kvsep="=", const std::string sep="|")
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
const Parameterised::Map & getParametersMap() const
Returns the inner key/value map.
std::string getParametersStr(const std::string kvsep="=", const std::string sep="|") const
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".
A point in 2D or 3D with translation and scaling methods.
double length2D() const
Returns the length.
Boundary getBoxBoundary() const
Returns a boundary enclosing this list of lines.
Position positionAtOffset2D(double pos, double lateralOffset=0) const
Returns the position at the given length.
static const RGBColor GREY
RGBColor changedBrightness(int change, int toChange=3) const
Returns a new color with altered brightness.
static bool isStopPosValid(const double startPos, const double endPos, const double laneLength, const double minLength, const bool friendlyPos)
check if start and end position of a stop is valid
Definition of vehicle stop (position and duration)
ParkingType parking
whether the vehicle is removed from the net while stopping
SUMOTime extension
The maximum time extension for boarding / loading.
bool friendlyPos
enable or disable friendly position (used by netedit)
double speed
the speed at which this stop counts as reached (waypoint mode)
std::string split
the id of the vehicle (train portion) that splits of upon reaching this stop
double startPos
The stopping position start.
std::string line
the new line id of the trip within a cyclical public transport route
double posLat
the lateral offset when stopping
bool onDemand
whether the stop may be skipped
std::set< std::string > permitted
IDs of persons or containers that may board/load at this stop.
int parametersSet
Information for the output which parameter were set.
SUMOTime jump
transfer time if there shall be a jump from this stop to the next route edge
std::string join
the id of the vehicle (train portion) to which this vehicle shall be joined
SUMOTime until
The time at which the vehicle may continue its journey.
std::string actType
act Type (only used by Persons) (used by netedit)
bool triggered
whether an arriving person lets the vehicle continue
void write(OutputDevice &dev, const bool close=true, const bool writeTagAndParents=true) const
Writes the stop as XML.
double endPos
The stopping position end.
std::set< std::string > awaitedPersons
IDs of persons the vehicle has to wait for until departing.
std::set< std::string > awaitedContainers
IDs of containers the vehicle has to wait for until departing.
bool joinTriggered
whether an joined vehicle lets this vehicle continue
std::string tripId
id of the trip within a cyclical public transport route
bool containerTriggered
whether an arriving container lets the vehicle continue
SUMOTime duration
The stopping duration.
static ParkingType parseParkingType(const std::string &value)
parses parking type value
static bool isValidVehicleID(const std::string &value)
whether the given string is a valid id for a vehicle or flow
bool showAllTrips() const
check if trips has to be drawn
DemandEditMode demandEditMode
the current Demand edit mode
bool isCurrentSupermodeDemand() const
@check if current supermode is Demand
static void drawLockIcon(const GUIVisualizationSettings::Detail d, const GNEAttributeCarrier *AC, GUIGlObjectType type, const Position position, const double exaggeration, const double size=0.5, const double offsetx=0, const double offsety=0)
draw lock icon
RGBColor selectedRouteColor
route selection color (used for routes and vehicle stops)
RGBColor waypointColor
color for Waypoints
RGBColor stopColor
color for Stops
static const double segmentWidth
width of dotted contour segments
static const double additionalGeometryPointRadius
moving additional geometry point radius
double getExaggeration(const GUIVisualizationSettings &s, const GUIGlObject *o, double factor=20) const
return the drawing size including exaggeration and constantSize values