|
SUMO - Simulation of Urban MObility
|
#include <GUIPointOfInterest.h>
Public Member Functions | |
| void | add (const Position &pos) |
| Adds the given position to this one. | |
| void | add (SUMOReal dx, SUMOReal dy) |
| Adds the given position to this one. | |
| void | add (SUMOReal dx, SUMOReal dy, SUMOReal dz) |
| Adds the given position to this one. | |
| bool | almostSame (const Position &p2, SUMOReal maxDiv=POSITION_EPS) const |
| SUMOReal | blue () const throw () |
| Returns the blue-amount of the color. | |
| RGBColor | changedBrightness (SUMOReal change) |
| Returns a new color with altered brightness. | |
| Position | crossProduct (const Position &pos) |
| returns the cross product between this point and the second one | |
| SUMOReal | distanceSquaredTo (const Position &p2) const |
| SUMOReal | distanceTo (const Position &p2) const |
| SUMOReal | dotProduct (const Position &pos) |
| returns the dot product (scalar product) between this point and the second one | |
| virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const throw () |
| Draws additional, user-triggered visualisations. | |
| void | drawName (const Position &pos, const SUMOReal scale, const GUIVisualizationTextSettings &settings, const SUMOReal angle=0) const |
| const std::string & | getID () const |
| Returns the id. | |
| int | getLayer () const |
| Returns the layer the object is located in. | |
| const std::string & | getType () const throw () |
| Returns the (abstract) type of the poi. | |
| SUMOReal | green () const throw () |
| Returns the green-amount of the color. | |
| GUIPointOfInterest (int layer, const std::string &id, const std::string &type, const Position &p, const RGBColor &c) throw () | |
| Constructor. | |
| void | mul (SUMOReal mx, SUMOReal my) |
| Multiplies position with the given values. | |
| void | mul (SUMOReal mx, SUMOReal my, SUMOReal mz) |
| Multiplies position with the given values. | |
| void | mul (SUMOReal val) |
| Multiplies both positions with the given value. | |
| void | norm2d () |
| bool | operator!= (const Position &p2) const |
| bool | operator!= (const RGBColor &c) const |
| Position | operator* (SUMOReal scalar) const |
| Position | operator+ (const Position &p2) const |
| Position | operator- (const Position &p2) const |
| bool | operator== (const RGBColor &c) const |
| bool | operator== (const Position &p2) const |
| SUMOReal | red () const throw () |
| Returns the red-amount of the color. | |
| void | reshiftRotate (SUMOReal xoff, SUMOReal yoff, SUMOReal rot) |
| void | set (SUMOReal r, SUMOReal g, SUMOReal b) throw () |
| assigns new values | |
| void | set (SUMOReal x, SUMOReal y) |
| void | set (SUMOReal x, SUMOReal y, SUMOReal z) |
| void | set (const Position &pos) |
| void | setID (const std::string &newID) |
| resets the id | |
| void | setType (const std::string &type) throw () |
| Sets a new type. | |
| void | sub (const Position &pos) |
| Substracts the given position from this one. | |
| void | sub (SUMOReal dx, SUMOReal dy) |
| Substracts the given position from this one. | |
| void | sub (SUMOReal dx, SUMOReal dy, SUMOReal dz) |
| Substracts the given position from this one. | |
| SUMOReal | x () const |
| Returns the x-position. | |
| SUMOReal | y () const |
| Returns the y-position. | |
| SUMOReal | z () const |
| Returns the z-position. | |
| virtual | ~GUIPointOfInterest () throw () |
| Destructor. | |
inherited from GUIGlObject | |
| GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) throw () |
| Returns an own popup-menu. | |
| GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) throw () |
| Returns an own parameter window. | |
| Boundary | getCenteringBoundary () const throw () |
| Returns the boundary to which the view shall be centered in order to show the object. | |
| void | drawGL (const GUIVisualizationSettings &s) const throw () |
| Draws the object. | |
Atomar getter methods | |
| const std::string & | getFullName () const |
| Returns the full name appearing in the tool tip. | |
| GUIGlID | getGlID () const throw () |
| Returns the numerical id of the object. | |
interfaces to be implemented by derived classes | |
| const std::string & | getMicrosimID () const |
| Returns the id of the object as known to microsim. | |
| void | setMicrosimID (const std::string &newID) |
| Changes the microsimID of the object (happens in NETEDIT) | |
| GUIGlObjectType | getType () const |
| Returns the type of the object as coded in GUIGlObjectType. | |
Parameter table window I/O | |
| void | addParameterTable (GUIParameterTableWindow *w) throw () |
| Lets this object know a parameter window showing the object's values was opened. | |
| void | removeParameterTable (GUIParameterTableWindow *w) throw () |
| Lets this object know a parameter window showing the object's values was closed. | |
Static Public Member Functions | |
| static void | clearDictionary () |
| Clears the dictionary (the objects will not be deleted) | |
| static RGBColor | fromHSV (SUMOReal h, SUMOReal s, SUMOReal v) throw () |
| Converts the given hsv-triplet to rgb. | |
| static GUIGlObject_AbstractAdd * | get (const std::string &name) |
| Returns a named object. | |
| static RGBColor | getDefaultColor () throw () |
| Returns the default color by parsing DEFAULT_COLOR_STRING. | |
| static std::vector< GUIGlID > | getIDList () |
| Returns the list of gl-ids of all additional objects. | |
| static const std::vector < GUIGlObject_AbstractAdd * > & | getObjectList () |
| Returns the list of all additional objects. | |
| static RGBColor | interpolate (const RGBColor &minColor, const RGBColor &maxColor, SUMOReal weight) throw () |
| Interpolates between two colors. | |
| static RGBColor | parseColor (const std::string &coldef) throw (EmptyData, NumberFormatException) |
| Parses a color information. | |
| static RGBColor | parseColorReporting (const std::string &coldef, const std::string &objecttype, const char *objectid, bool report, bool &ok) throw () |
| Parses a color information. | |
Static Public Attributes | |
| static const RGBColor | DEFAULT_COLOR = RGBColor::parseColor(RGBColor::DEFAULT_COLOR_STRING) |
| The default color (for vehicle types and vehicles) | |
| static const std::string | DEFAULT_COLOR_STRING = "1,1,0" |
| The string description of the default color. | |
| static StringBijection < GUIGlObjectType > | TypeNames |
| associates object types with strings | |
Protected Member Functions | |
| void | setPrefix (const std::string &prefix) |
helper methods for building popup-menus | |
| void | buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true) throw () |
| Builds the header. | |
| void | buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) throw () |
| Builds an entry which allows to center to the object. | |
| void | buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) throw () |
| Builds entries which allow to copy the name / typed name into the clipboard. | |
| void | buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) throw () |
| Builds an entry which allows to (de)select the object. | |
| void | buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) throw () |
| Builds an entry which allows to open the parameter window. | |
| void | buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) throw () |
| Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. | |
| void | buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) throw () |
| Builds an entry which allows to open the manipulator window. | |
Protected Attributes | |
| std::string | myID |
| The name of the object. | |
| int | myLayer |
| The layer this object is located in. | |
| std::string | myType |
| the type of the poi | |
Static Protected Attributes | |
| static std::vector < GUIGlObject_AbstractAdd * > | myObjectList |
| The list of all addtional objects currently loaded. | |
| static std::map< std::string, GUIGlObject_AbstractAdd * > | myObjects |
| Map from names of loaded additional objects to the objects themselves. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const RGBColor &col) |
| Writes the color to the given stream. | |
| std::ostream & | operator<< (std::ostream &os, const Position &p) |
| Prints to the output. | |
Definition at line 49 of file GUIPointOfInterest.h.
| GUIPointOfInterest::GUIPointOfInterest | ( | int | layer, |
| const std::string & | id, | ||
| const std::string & | type, | ||
| const Position & | p, | ||
| const RGBColor & | c | ||
| ) | throw () |
Constructor.
| [in] | idStorage | The gl-id storage for giving this object an gl-id |
| [in] | layer | The layer the PoI will be located in |
| [in] | id | The name of the PoI |
| [in] | type | The type of the PoI |
| [in] | p | The position of the PoI |
| [in] | c | The color of the PoI |
Definition at line 55 of file GUIPointOfInterest.cpp.
| GUIPointOfInterest::~GUIPointOfInterest | ( | ) | throw () [virtual] |
Destructor.
Definition at line 65 of file GUIPointOfInterest.cpp.
| void Position::add | ( | const Position & | pos | ) | [inline, inherited] |
Adds the given position to this one.
Definition at line 115 of file Position.h.
References Position::myX, Position::myY, and Position::myZ.
Referenced by Line::add(), NBNodeCont::analyzeCluster(), AGPosition::compute2dPosition(), NBNodeShapeComputer::computeContinuationNodeShape(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), GUIEdge::drawGL(), GLHelper::drawTextBox(), Line::extrapolateBy(), NBNode::getEmptyDir(), Line::move2side(), GeoConvHelper::moveConvertedBy(), Line::rotateAround(), Line::rotateAtP1(), GUISUMOAbstractView::showToolTipFor(), GeomHelper::transfer_to_side(), and GeoConvHelper::x2cartesian().
| void Position::add | ( | SUMOReal | dx, |
| SUMOReal | dy | ||
| ) | [inline, inherited] |
Adds the given position to this one.
Definition at line 122 of file Position.h.
References Position::myX, and Position::myY.
| void Position::add | ( | SUMOReal | dx, |
| SUMOReal | dy, | ||
| SUMOReal | dz | ||
| ) | [inline, inherited] |
Adds the given position to this one.
Definition at line 128 of file Position.h.
References Position::myX, Position::myY, and Position::myZ.
| void GUIGlObject::addParameterTable | ( | GUIParameterTableWindow * | w | ) | throw () [inherited] |
Lets this object know a parameter window showing the object's values was opened.
| [in] | w | The opened parameter window |
Definition at line 187 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
| bool Position::almostSame | ( | const Position & | p2, |
| SUMOReal | maxDiv = POSITION_EPS |
||
| ) | const [inline, inherited] |
Definition at line 198 of file Position.h.
References Position::myX, Position::myY, and Position::myZ.
Referenced by NBNode::computeInternalLaneShape(), PositionVector::push_back_noDoublePos(), and PositionVector::push_front_noDoublePos().
| SUMOReal RGBColor::blue | ( | ) | const throw () [inline, inherited] |
Returns the blue-amount of the color.
Definition at line 88 of file RGBColor.h.
References RGBColor::myBlue.
Referenced by RGBColor::changedBrightness(), GUIDialog_ViewSettings::convert(), MFXUtils::getFXColor(), TraCIServerAPI_VehicleType::getVariable(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_Vehicle::processGet(), TraCIServerAPI_Polygon::processGet(), TraCIServerAPI_POI::processGet(), MSVehicleType::saveState(), and GLHelper::setColor().
| void GUIGlObject::buildCenterPopupEntry | ( | GUIGLObjectPopupMenu * | ret, |
| bool | addSeparator = true |
||
| ) | throw () [protected, inherited] |
Builds an entry which allows to center to the object.
| in,filled] | ret The popup menu to add the entry to | |
| [in] | addSeparator | Whether a separator shall be added, too |
Definition at line 125 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_RECENTERVIEW, and MID_CENTER.
Referenced by GUIVehicle::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), and GUILaneSpeedTrigger::getPopUpMenu().
| void GUIGlObject::buildNameCopyPopupEntry | ( | GUIGLObjectPopupMenu * | ret, |
| bool | addSeparator = true |
||
| ) | throw () [protected, inherited] |
Builds entries which allow to copy the name / typed name into the clipboard.
| in,filled] | ret The popup menu to add the entry to | |
| [in] | addSeparator | Whether a separator shall be added, too |
Definition at line 134 of file GUIGlObject.cpp.
References MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIVehicle::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), and GUILaneSpeedTrigger::getPopUpMenu().
| void GUIGlObject::buildPopupHeader | ( | GUIGLObjectPopupMenu * | ret, |
| GUIMainWindow & | app, | ||
| bool | addSeparator = true |
||
| ) | throw () [protected, inherited] |
Builds the header.
| in,filled] | ret The popup menu to add the entry to | |
| [in] | addSeparator | Whether a separator shall be added, too |
Definition at line 115 of file GUIGlObject.cpp.
References GUIGlObject::getFullName().
Referenced by GUIVehicle::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), and GUILaneSpeedTrigger::getPopUpMenu().
| void GUIGlObject::buildPositionCopyEntry | ( | GUIGLObjectPopupMenu * | ret, |
| bool | addSeparator = true |
||
| ) | throw () [protected, inherited] |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position.
| in,filled] | ret The popup menu to add the entry to | |
| [in] | addSeparator | Whether a separator shall be added, too |
Definition at line 166 of file GUIGlObject.cpp.
References GeoConvHelper::getDefaultInstance(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.
Referenced by GUIVehicle::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), and GUILaneSpeedTrigger::getPopUpMenu().
| void GUIGlObject::buildSelectionPopupEntry | ( | GUIGLObjectPopupMenu * | ret, |
| bool | addSeparator = true |
||
| ) | throw () [protected, inherited] |
Builds an entry which allows to (de)select the object.
| in,filled] | ret The popup menu to add the entry to | |
| [in] | addSeparator | Whether a separator shall be added, too |
Definition at line 144 of file GUIGlObject.cpp.
References GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, ICON_FLAG_MINUS, ICON_FLAG_PLUS, GUISelectedStorage::isSelected(), MID_ADDSELECT, and MID_REMOVESELECT.
Referenced by GUIVehicle::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), and GUILaneSpeedTrigger::getPopUpMenu().
| void GUIGlObject::buildShowManipulatorPopupEntry | ( | GUIGLObjectPopupMenu * | ret, |
| bool | addSeparator = true |
||
| ) | throw () [protected, inherited] |
Builds an entry which allows to open the manipulator window.
| in,filled] | ret The popup menu to add the entry to | |
| [in] | addSeparator | Whether a separator shall be added, too |
Definition at line 178 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_MANIP, and MID_MANIP.
Referenced by GUILaneSpeedTrigger::getPopUpMenu().
| void GUIGlObject::buildShowParamsPopupEntry | ( | GUIGLObjectPopupMenu * | ret, |
| bool | addSeparator = true |
||
| ) | throw () [protected, inherited] |
Builds an entry which allows to open the parameter window.
| in,filled] | ret The popup menu to add the entry to | |
| [in] | addSeparator | Whether a separator shall be added, too |
Definition at line 157 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWPARS.
Referenced by GUIVehicle::getPopUpMenu(), and GUILaneSpeedTrigger::getPopUpMenu().
| RGBColor RGBColor::changedBrightness | ( | SUMOReal | change | ) | [inherited] |
Returns a new color with altered brightness.
| [in] | change | The absolute change applied to all channels (within bounds) |
Definition at line 103 of file RGBColor.cpp.
References RGBColor::blue(), RGBColor::green(), MAX2(), MIN2(), RGBColor::myBlue, RGBColor::myGreen, RGBColor::myRed, RGBColor::red(), RGBColor::RGBColor(), and SUMOReal.
Referenced by drawAction_drawVehicleAsPoly().
| void GUIGlObject_AbstractAdd::clearDictionary | ( | ) | [static, inherited] |
Clears the dictionary (the objects will not be deleted)
!! delete (*i).second;
Definition at line 62 of file GUIGlObject_AbstractAdd.cpp.
References GUIGlObject_AbstractAdd::myObjectList, and GUIGlObject_AbstractAdd::myObjects.
Referenced by GUINet::~GUINet().
returns the cross product between this point and the second one
Definition at line 213 of file Position.h.
References Position::myX, Position::myY, Position::myZ, and Position::Position().
| SUMOReal Position::distanceSquaredTo | ( | const Position & | p2 | ) | const [inline, inherited] |
Definition at line 208 of file Position.h.
References Position::myX, Position::myY, and Position::myZ.
Referenced by GeomHelper::distancePointLine(), Position::distanceTo(), and GeomHelper::nearest_position_on_line_to_point().
| SUMOReal Position::distanceTo | ( | const Position & | p2 | ) | const [inline, inherited] |
Definition at line 203 of file Position.h.
References Position::distanceSquaredTo().
Referenced by NBEdge::buildInnerEdges(), GeomHelper::closestDistancePointLine(), TraCIServerAPI_Vehicle::commandDistanceRequest(), TraCIServerAPI_Simulation::commandDistanceRequest(), NBNode::computeInternalLaneShape(), NIVissimEdge::dict_checkEdges2Join(), NBHelpers::distance(), GeomHelper::distancePointLine(), GLHelper::drawBoxLines(), GeomHelper::extrapolate_first(), GeomHelper::extrapolate_second(), Line::extrapolateBy(), NBNodeCont::generateNodeClusters(), Line::getPositionAtDistance(), GUIBusStop::GUIBusStop(), GUILaneWrapper::GUILaneWrapper(), PositionVector::indexOfClosest(), GeomHelper::interpolate(), PositionVector::intersectsAtLengths(), Line::intersectsAtLengths(), PositionVector::move2side(), GUI_E2_ZS_Collector::MyWrapper::MyWrapper(), PositionVector::nearest_position_on_line_to_point(), GeomHelper::nearest_position_on_line_to_point(), GUIViewTraffic::onGamingClick(), PositionVector::positionAtLengthPosition(), NIVissimEdge::remapOneOfNodes(), GUIVehicle::setFunctionalColor(), and PositionVector::splitAt().
| SUMOReal Position::dotProduct | ( | const Position & | pos | ) | [inline, inherited] |
returns the dot product (scalar product) between this point and the second one
Definition at line 221 of file Position.h.
References Position::myX, Position::myY, and Position::myZ.
| void GUIPointOfInterest::drawGL | ( | const GUIVisualizationSettings & | s | ) | const throw () [virtual] |
Draws the object.
| [in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Definition at line 102 of file GUIPointOfInterest.cpp.
References GLHelper::drawFilledCircle(), and SUMOReal.
| virtual void GUIGlObject::drawGLAdditional | ( | GUISUMOAbstractView *const | parent, |
| const GUIVisualizationSettings & | s | ||
| ) | const throw () [inline, virtual, inherited] |
Draws additional, user-triggered visualisations.
| [in] | parent | The view |
| [in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIVehicle.
Definition at line 173 of file GUIGlObject.h.
References UNUSED_PARAMETER.
| void GUIGlObject::drawName | ( | const Position & | pos, |
| const SUMOReal | scale, | ||
| const GUIVisualizationTextSettings & | settings, | ||
| const SUMOReal | angle = 0 |
||
| ) | const [inherited] |
Definition at line 214 of file GUIGlObject.cpp.
References GUIVisualizationTextSettings::color, GLHelper::drawText(), GUIGlObject::getMicrosimID(), GLO_MAX, GUIVisualizationTextSettings::show, and GUIVisualizationTextSettings::size.
Referenced by GUIVehicle::drawGL(), and GUILaneSpeedTrigger::drawGL().
| RGBColor RGBColor::fromHSV | ( | SUMOReal | h, |
| SUMOReal | s, | ||
| SUMOReal | v | ||
| ) | throw () [static, inherited] |
Converts the given hsv-triplet to rgb.
| [in] | h | Hue (0-360) |
| [in] | s | Saturation (0-1) |
| [in] | v | Value (0-1) |
Definition at line 172 of file RGBColor.cpp.
Referenced by GUIVehicle::setFunctionalColor().
| GUIGlObject_AbstractAdd * GUIGlObject_AbstractAdd::get | ( | const std::string & | name | ) | [static, inherited] |
Returns a named object.
Definition at line 73 of file GUIGlObject_AbstractAdd.cpp.
References GUIGlObject_AbstractAdd::myObjects.
| Boundary GUIPointOfInterest::getCenteringBoundary | ( | ) | const throw () [virtual] |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 93 of file GUIPointOfInterest.cpp.
References Boundary::add(), Boundary::grow(), Position::x(), and Position::y().
| RGBColor RGBColor::getDefaultColor | ( | ) | throw () [static, inherited] |
Returns the default color by parsing DEFAULT_COLOR_STRING.
Definition at line 151 of file RGBColor.cpp.
References RGBColor::DEFAULT_COLOR_STRING, and RGBColor::parseColor().
Referenced by MSRouteHandler::openRoute().
| const std::string& GUIGlObject::getFullName | ( | ) | const [inline, inherited] |
Returns the full name appearing in the tool tip.
Definition at line 98 of file GUIGlObject.h.
References GUIGlObject::myFullName.
Referenced by GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUITriggeredRerouter::openManipulator(), GUILaneSpeedTrigger::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUISelectedStorage::save(), and GUISUMOAbstractView::showToolTipFor().
| GUIGlID GUIGlObject::getGlID | ( | ) | const throw () [inline, inherited] |
Returns the numerical id of the object.
Definition at line 106 of file GUIGlObject.h.
References GUIGlObject::myGlID.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GUINet::createTLWrapper(), GUIVehicle::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIVehicle::drawGLAdditional(), GUILaneWrapper::getColorValue(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUIVehicle::getPopUpMenu(), GUIDialog_GLObjChooser::GUIDialog_GLObjChooser(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::loadIDs(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIVehicle::GUIVehiclePopupMenu::onCmdStartTrack(), GUISUMOAbstractView::removeAdditionalGLVisualisation(), GUILaneWrapper::ROWdrawAction_drawLinkRules(), and GUIGlObject::~GUIGlObject().
| const std::string& Named::getID | ( | ) | const [inline, inherited] |
Returns the id.
Reimplemented in MS_E2_ZS_CollectorOverLanes.
Definition at line 59 of file Named.h.
References Named::myID.
Referenced by RORouteDef_Alternatives::addAlternative(), MSNet::addBusStop(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), NIImporter_OpenDrive::addE2EConnectionsSecure(), NIImporter_SUMO::addPhase(), NBDistrict::addSink(), NBDistrict::addSource(), MSRouteHandler::addStop(), NIXMLTrafficLightsHandler::addTlConnection(), NIVissimDisturbance::addToNode(), MSVehicle::addTraciStop(), NIVisumTL::build(), RORouteDef_Complete::buildCurrentRoute(), NIImporter_VISUM::buildDistrictNode(), NIVissimConnection::buildEdgeConnections(), NBEdge::buildInnerEdges(), NIVissimEdge::buildNBEdge(), NBNodeCont::buildOffRamp(), NBNodeCont::buildOnRamp(), ODDistrictHandler::closeDistrict(), NBTrafficLightDefinition::collectEdges(), NBOwnTLDef::collectLinks(), NBNode::computeInternalLaneShape(), NBEdge::computeLaneShapes(), NBNode::computeLogic(), NBNode::computeNodeShape(), NBTrafficLightLogicCont::computeSingleLogic(), NBEdge::connections_sorter(), MSLane::detectCollisions(), NIVissimDistrictConnection::dict_BuildDistricts(), MSVTypeProbe::execute(), Command_SaveTLSSwitches::execute(), NBTrafficLightLogicCont::extract(), NBEdgeCont::extract(), MSNet::getBusStopID(), NIImporter_VISUM::getNamedEdgeContinuating(), NLTriggerBuilder::getPosition(), NBNode::getPossiblySplittedIncoming(), NBNode::getPossiblySplittedOutgoing(), NIImporter_VISUM::getReversedContinuating(), MSUnboundActuatedTrafficLightLogic::init(), MSAgentbasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NIImporter_SUMO::initTrafficLightLogic(), NBNodeCont::joinJunctions(), NBEdgeCont::joinSameNodeConnectingEdges(), NIImporter_OpenDrive::loadNetwork(), MSLane::moveCritical(), MSVehicle::MSVehicle(), NBLoadedTLDef::myCompute(), NIXMLEdgesHandler::myEndElement(), NIXMLConnectionsHandler::myStartElement(), MSLaneSpeedTrigger::myStartElement(), NBConnection::NBConnection(), NBRequest::NBRequest(), NBOwnTLDef::edge_by_incoming_priority_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBContHelper::same_connection_edge_sorter::operator()(), Named::ComparatorIdLess::operator()(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_LanesConnections(), NIImporter_VISUM::parse_Turns(), NIImporter_VISUM::parse_TurnsToSignalGroups(), NIXMLConnectionsHandler::parseDeprecatedLaneDefinition(), NIXMLConnectionsHandler::parseLaneBound(), NBLoadedTLDef::SignalGroup::patchTYellow(), TraCIServerAPI_Vehicle::processGet(), TraCIServerAPI_TLS::processGet(), TraCIServerAPI_Lane::processGet(), TraCIServerAPI_InductionLoop::processGet(), NWWriter_SUMO::prohibitionConnection(), NBNodeCont::remapEdge(), NBLoadedSUMOTLDef::removeConnection(), NBNode::removeDummyEdges(), NBEdgeCont::removeUnwishedEdges(), NBNodeCont::removeUnwishedNodes(), NBConnection::replaceFrom(), NBConnection::replaceTo(), NIXMLTrafficLightsHandler::retrieveLaneIndex(), NBNodeCont::setAsTLControlled(), NBEdge::setControllingTLInformation(), MSLane::setCritical(), NBOwnTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBEdgeCont::splitAt(), RORDLoader_SUMOBase::startRoute(), NIXMLConnectionsHandler::validateLaneInfo(), MSInstantInductLoop::write(), NWWriter_SUMO::writeConnection(), NWWriter_SUMO::writeDistrict(), NWWriter_SUMO::writeEdge(), MSMeanData::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeInternalConnections(), NWWriter_SUMO::writeJunction(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), and MSRouteProbe::writeXMLOutput().
| std::vector< GUIGlID > GUIGlObject_AbstractAdd::getIDList | ( | ) | [static, inherited] |
Returns the list of gl-ids of all additional objects.
Definition at line 89 of file GUIGlObject_AbstractAdd.cpp.
References GUIGlObject_AbstractAdd::myObjectList.
Referenced by GUISUMOViewParent::onCmdLocate().
| int GUIPointOfInterest::getLayer | ( | ) | const |
Returns the layer the object is located in.
Definition at line 119 of file GUIPointOfInterest.cpp.
References myLayer.
| const std::string& GUIGlObject::getMicrosimID | ( | ) | const [inline, inherited] |
Returns the id of the object as known to microsim.
Definition at line 137 of file GUIGlObject.h.
References GUIGlObject::myMicrosimID.
Referenced by GUIGlObject::createFullName(), GUIGlObject::drawName(), GUIDialog_GLObjChooser::GUIDialog_GLObjChooser(), and GUIGLObjectPopupMenu::onCmdCopyName().
| const std::vector< GUIGlObject_AbstractAdd * > & GUIGlObject_AbstractAdd::getObjectList | ( | ) | [static, inherited] |
Returns the list of all additional objects.
Definition at line 83 of file GUIGlObject_AbstractAdd.cpp.
References GUIGlObject_AbstractAdd::myObjectList.
| GUIParameterTableWindow * GUIPointOfInterest::getParameterWindow | ( | GUIMainWindow & | app, |
| GUISUMOAbstractView & | parent | ||
| ) | throw () [virtual] |
Returns an own parameter window.
| [in] | app | The application needed to build the parameter window |
| [in] | parent | The parent window needed to build the parameter window |
Implements GUIGlObject.
Definition at line 86 of file GUIPointOfInterest.cpp.
| GUIGLObjectPopupMenu * GUIPointOfInterest::getPopUpMenu | ( | GUIMainWindow & | app, |
| GUISUMOAbstractView & | parent | ||
| ) | throw () [virtual] |
Returns an own popup-menu.
| [in] | app | The application needed to build the popup-menu |
| [in] | parent | The parent window needed to build the popup-menu |
Implements GUIGlObject.
Definition at line 69 of file GUIPointOfInterest.cpp.
| GUIGlObjectType GUIGlObject::getType | ( | ) | const [inline, inherited] |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 150 of file GUIGlObject.h.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIVehicle::drawGLAdditional(), GUILaneWrapper::getColorValue(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::loadIDs(), and GUISelectedStorage::toggleSelection().
| const std::string& PointOfInterest::getType | ( | ) | const throw () [inline, inherited] |
Returns the (abstract) type of the poi.
Definition at line 66 of file PointOfInterest.h.
References PointOfInterest::myType.
Referenced by TraCIServerAPI_POI::processGet().
| SUMOReal RGBColor::green | ( | ) | const throw () [inline, inherited] |
Returns the green-amount of the color.
Definition at line 80 of file RGBColor.h.
References RGBColor::myGreen.
Referenced by RGBColor::changedBrightness(), GUIDialog_ViewSettings::convert(), MFXUtils::getFXColor(), TraCIServerAPI_VehicleType::getVariable(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_Vehicle::processGet(), TraCIServerAPI_Polygon::processGet(), TraCIServerAPI_POI::processGet(), MSVehicleType::saveState(), and GLHelper::setColor().
| RGBColor RGBColor::interpolate | ( | const RGBColor & | minColor, |
| const RGBColor & | maxColor, | ||
| SUMOReal | weight | ||
| ) | throw () [static, inherited] |
Interpolates between two colors.
The interpolated color is calculated as a weighted average of the RGB values of minColor and maxColor, giving weight to maxColor and 1-weight to minColor.
| [in] | minColor | The color to interpolate from |
| [in] | maxColor | The color to interpolate to |
| [in] | weight | The weight of the first color |
Definition at line 157 of file RGBColor.cpp.
References SUMOReal.
Referenced by GUIColorScheme::getColor().
| void Position::mul | ( | SUMOReal | mx, |
| SUMOReal | my | ||
| ) | [inline, inherited] |
Multiplies position with the given values.
Definition at line 102 of file Position.h.
References Position::myX, and Position::myY.
| void Position::mul | ( | SUMOReal | val | ) | [inline, inherited] |
Multiplies both positions with the given value.
Definition at line 95 of file Position.h.
References Position::myX, Position::myY, and Position::myZ.
Referenced by NIXMLNodesHandler::addNode(), NBNodeCont::analyzeCluster(), AGPosition::compute2dPosition(), NBNodeShapeComputer::computeContinuationNodeShape(), GUIEdge::drawGL(), and NBNode::getEmptyDir().
| void Position::mul | ( | SUMOReal | mx, |
| SUMOReal | my, | ||
| SUMOReal | mz | ||
| ) | [inline, inherited] |
Multiplies position with the given values.
Definition at line 108 of file Position.h.
References Position::myX, Position::myY, and Position::myZ.
| void Position::norm2d | ( | ) | [inline, inherited] |
Definition at line 154 of file Position.h.
References Position::myX, Position::myY, and SUMOReal.
Referenced by NBNode::getEmptyDir().
Definition at line 96 of file RGBColor.cpp.
References RGBColor::myBlue, RGBColor::myGreen, and RGBColor::myRed.
Definition at line 193 of file Position.h.
References Position::myX, Position::myY, and Position::myZ.
| Position Position::operator* | ( | SUMOReal | scalar | ) | const [inline, inherited] |
Definition at line 185 of file Position.h.
References Position::myX, Position::myY, Position::myZ, and Position::Position().
Definition at line 177 of file Position.h.
References Position::myX, Position::myY, Position::myZ, and Position::Position().
Definition at line 181 of file Position.h.
References Position::myX, Position::myY, Position::myZ, and Position::Position().
Definition at line 89 of file RGBColor.cpp.
References RGBColor::myBlue, RGBColor::myGreen, and RGBColor::myRed.
Definition at line 189 of file Position.h.
References Position::myX, Position::myY, and Position::myZ.
| RGBColor RGBColor::parseColor | ( | const std::string & | coldef | ) | throw (EmptyData, NumberFormatException) [static, inherited] |
Parses a color information.
It is assumed that the color is stored as "<RED>,<GREEN>,<BLUE>" And each color is represented as a SUMOReal.
| [in] | coldef | The color definition to parse |
| EmptyData | If the definition has less than three entries |
| NumberFormatException | If one of the components is not numeric |
Definition at line 112 of file RGBColor.cpp.
References TplConvert< E >::_2SUMOReal(), StringTokenizer::next(), StringTokenizer::size(), and SUMOReal.
Referenced by RGBColor::getDefaultColor(), PCLoaderVisum::load(), PCLoaderArcView::load(), PCLoaderOSM::loadIfSet(), PCLoaderDlrNavteq::loadPOIFile(), PCLoaderDlrNavteq::loadPolyFile(), PCLoaderXML::myStartElement(), and SUMOVehicleParserHelper::parseCommonAttributes().
| RGBColor RGBColor::parseColorReporting | ( | const std::string & | coldef, |
| const std::string & | objecttype, | ||
| const char * | objectid, | ||
| bool | report, | ||
| bool & | ok | ||
| ) | throw () [static, inherited] |
Parses a color information.
It is assumed that the color is stored as "<RED>,<GREEN>,<BLUE>" And each color is represented as a SUMOReal.
| [in] | coldef | The color definition to parse |
| [in] | objecttype | The type of the currently parsed object |
| [in] | objectid | The id of the currently parsed object |
| [in] | report | Whether errors shall be reported |
| [in,out] | ok | Whether parsing was successful |
| EmptyData | If the definition has less than three entries |
| NumberFormatException | If one of the components is not numeric |
Definition at line 125 of file RGBColor.cpp.
References UNUSED_PARAMETER, and WRITE_ERROR.
Referenced by NLHandler::addPOI(), NLHandler::addPoly(), SUMOVehicleParserHelper::beginVTypeParsing(), GUISettingsHandler::myStartElement(), MSRouteHandler::openRoute(), GUISettingsHandler::parseTextSettings(), and RORDLoader_SUMOBase::startRoute().
| SUMOReal RGBColor::red | ( | ) | const throw () [inline, inherited] |
Returns the red-amount of the color.
Definition at line 72 of file RGBColor.h.
References RGBColor::myRed.
Referenced by RGBColor::changedBrightness(), GUIDialog_ViewSettings::convert(), MFXUtils::getFXColor(), TraCIServerAPI_VehicleType::getVariable(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_Vehicle::processGet(), TraCIServerAPI_Polygon::processGet(), TraCIServerAPI_POI::processGet(), MSVehicleType::saveState(), and GLHelper::setColor().
| void GUIGlObject::removeParameterTable | ( | GUIParameterTableWindow * | w | ) | throw () [inherited] |
Lets this object know a parameter window showing the object's values was closed.
| [in] | w | The closed parameter window |
Definition at line 193 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
| void Position::reshiftRotate | ( | SUMOReal | xoff, |
| SUMOReal | yoff, | ||
| SUMOReal | rot | ||
| ) | [inline, inherited] |
Definition at line 160 of file Position.h.
References Position::myX, Position::myY, SUMOReal, Position::x(), and Position::y().
Referenced by NBNode::reshiftPosition(), NBDistrict::reshiftPosition(), and Line::rotateAtP1().
| void Position::set | ( | const Position & | pos | ) | [inline, inherited] |
Definition at line 87 of file Position.h.
References Position::myX, Position::myY, and Position::myZ.
| void RGBColor::set | ( | SUMOReal | r, |
| SUMOReal | g, | ||
| SUMOReal | b | ||
| ) | throw () [inherited] |
assigns new values
| [in] | r | The red component's value |
| [in] | g | The green component's value |
| [in] | b | The blue component's value |
Definition at line 70 of file RGBColor.cpp.
Referenced by TraCIServerAPI_Vehicle::processSet().
| void Position::set | ( | SUMOReal | x, |
| SUMOReal | y, | ||
| SUMOReal | z | ||
| ) | [inline, inherited] |
Definition at line 80 of file Position.h.
References Position::myX, Position::myY, Position::myZ, Position::x(), Position::y(), and Position::z().
| void Position::set | ( | SUMOReal | x, |
| SUMOReal | y | ||
| ) | [inline, inherited] |
Definition at line 74 of file Position.h.
References Position::myX, Position::myY, Position::x(), and Position::y().
Referenced by NIXMLNodesHandler::addNode(), GeoConvHelper::cartesian2geo(), GeomHelper::closestDistancePointLine(), TraCIServerAPI_Vehicle::commandDistanceRequest(), TraCIServerAPI_Simulation::commandDistanceRequest(), TraCIServerAPI_Simulation::commandPositionConversion(), NGNode::setX(), NGNode::setY(), and GeoConvHelper::x2cartesian().
| void Named::setID | ( | const std::string & | newID | ) | [inline, inherited] |
| void GUIGlObject::setMicrosimID | ( | const std::string & | newID | ) | [inherited] |
Changes the microsimID of the object (happens in NETEDIT)
Definition at line 108 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
| void GUIGlObject::setPrefix | ( | const std::string & | prefix | ) | [protected, inherited] |
Definition at line 202 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObject::myFullName, and GUIGlObject::myPrefix.
| void PointOfInterest::setType | ( | const std::string & | type | ) | throw () [inline, inherited] |
Sets a new type.
| [in] | type | The new type to use |
Definition at line 74 of file PointOfInterest.h.
References PointOfInterest::myType.
Referenced by TraCIServerAPI_POI::processSet().
| void Position::sub | ( | SUMOReal | dx, |
| SUMOReal | dy, | ||
| SUMOReal | dz | ||
| ) | [inline, inherited] |
Substracts the given position from this one.
Definition at line 141 of file Position.h.
References Position::myX, Position::myY, and Position::myZ.
| void Position::sub | ( | const Position & | pos | ) | [inline, inherited] |
Substracts the given position from this one.
Definition at line 148 of file Position.h.
References Position::myX, Position::myY, and Position::myZ.
| void Position::sub | ( | SUMOReal | dx, |
| SUMOReal | dy | ||
| ) | [inline, inherited] |
Substracts the given position from this one.
Definition at line 135 of file Position.h.
References Position::myX, and Position::myY.
Referenced by GeoConvHelper::cartesian2geo(), AGPosition::compute2dPosition(), NBNode::computeInternalLaneShape(), GLHelper::drawTextBox(), Line::extrapolateBy(), NBNode::getEmptyDir(), Line::rotateAtP1(), and Line::sub().
| SUMOReal Position::x | ( | ) | const [inline, inherited] |
Returns the x-position.
Definition at line 59 of file Position.h.
References Position::myX.
Referenced by Line::add(), Boundary::add(), NIXMLNodesHandler::addNode(), PositionVector::around(), Boundary::around(), Line::atan2Angle(), Line::atan2DegreeAngle(), GeoConvHelper::cartesian2geo(), GUIDanielPerspectiveChanger::centerTo(), NGRandomNetBuilder::checkAngles(), GeomHelper::closestDistancePointLine(), TraCIServerAPI_Simulation::commandPositionConversion(), NBNode::computeInternalLaneShape(), NBEdge::computeLaneShape(), NBNodeShapeComputer::computeNodeShapeByCrosses(), GeomHelper::distancePointLine(), GLHelper::drawBoxLines(), GLHelper::drawFilledPoly(), GUIVehicle::drawGL(), GUITriggeredRerouter::drawGL(), GUITrafficLightLogicWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIEdge::drawGL(), GUIE3Collector::MyWrapper::drawSingleCrossing(), GLHelper::drawText(), GLHelper::drawTextBox(), MSVehicle::enterLaneAtLaneChange(), MSVTypeProbe::execute(), GeomHelper::extrapolate_first(), GeomHelper::extrapolate_second(), MSVehicle::getAngle(), getCenteringBoundary(), NBNode::getEmptyDir(), GeomHelper::getNormal90D_CW(), GeoConvHelper::getOffsetBase(), GUIDanielPerspectiveChanger::getXPos(), GUIBusStop::GUIBusStop(), GUIJunctionWrapper::GUIJunctionWrapper(), GUILaneWrapper::GUILaneWrapper(), NIXMLEdgesHandler::insertNodeChecking(), GeomHelper::interpolate(), GeomHelper::intersection_position(), GeomHelper::intersects(), PositionVector::isLeft(), isLeft(), Line::length(), main(), PositionVector::move2side(), MSVehicle::moveChecked(), MSVehicle::moveRegardingCritical(), GUI_E2_ZS_Collector::MyWrapper::MyWrapper(), GeomHelper::nearest_position_on_line_to_point(), GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition(), PositionVector::increasing_x_y_sorter::operator()(), PositionVector::as_poly_cw_sorter::operator()(), PositionVector::positionAtLengthPosition(), TraCIServerAPI_Vehicle::processGet(), TraCIServerAPI_POI::processGet(), TraCIServerAPI_Junction::processGet(), NIImporter_SUMO::reconstructEdgeShape(), Position::reshiftRotate(), NBNodeCont::retrieve(), Line::rotateAround(), GUILaneWrapper::ROWdrawAction_drawArrows(), GUILaneWrapper::ROWdrawAction_drawLane2LaneConnections(), GUILaneWrapper::ROWdrawAction_drawLinkNo(), GUILaneWrapper::ROWdrawAction_drawLinkRules(), GUILaneWrapper::ROWdrawAction_drawTLSLinkNo(), Position::set(), GUIVehicle::setFunctionalColor(), NIXMLEdgesHandler::setNodes(), NGNode::setY(), GeomHelper::transfer_to_side(), NILoader::transformCoordinates(), GUISUMOAbstractView::updatePositionInformation(), NWWriter_OpenDrive::writePlanView(), NWFrame::writePositionLong(), GeoConvHelper::x2cartesian(), and GUIDanielPerspectiveChanger::zoom().
| SUMOReal Position::y | ( | ) | const [inline, inherited] |
Returns the y-position.
Definition at line 64 of file Position.h.
References Position::myY.
Referenced by Line::add(), Boundary::add(), NIXMLNodesHandler::addNode(), PositionVector::around(), Boundary::around(), Line::atan2Angle(), Line::atan2DegreeAngle(), GeoConvHelper::cartesian2geo(), GUIDanielPerspectiveChanger::centerTo(), NGRandomNetBuilder::checkAngles(), GeomHelper::closestDistancePointLine(), TraCIServerAPI_Simulation::commandPositionConversion(), NBNode::computeInternalLaneShape(), NBEdge::computeLaneShape(), NBNodeShapeComputer::computeNodeShapeByCrosses(), GeomHelper::distancePointLine(), GLHelper::drawBoxLines(), GLHelper::drawFilledPoly(), GUIVehicle::drawGL(), GUITriggeredRerouter::drawGL(), GUITrafficLightLogicWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIEdge::drawGL(), GUIE3Collector::MyWrapper::drawSingleCrossing(), GLHelper::drawText(), GLHelper::drawTextBox(), MSVehicle::enterLaneAtLaneChange(), MSVTypeProbe::execute(), GeomHelper::extrapolate_first(), GeomHelper::extrapolate_second(), MSVehicle::getAngle(), getCenteringBoundary(), NBNode::getEmptyDir(), GeomHelper::getNormal90D_CW(), GeoConvHelper::getOffsetBase(), GUIDanielPerspectiveChanger::getYPos(), GUIBusStop::GUIBusStop(), GUIJunctionWrapper::GUIJunctionWrapper(), GUILaneWrapper::GUILaneWrapper(), NIXMLEdgesHandler::insertNodeChecking(), GeomHelper::interpolate(), GeomHelper::intersection_position(), GeomHelper::intersects(), PositionVector::isLeft(), isLeft(), Line::length(), main(), PositionVector::move2side(), MSVehicle::moveChecked(), MSVehicle::moveRegardingCritical(), GUI_E2_ZS_Collector::MyWrapper::MyWrapper(), GeomHelper::nearest_position_on_line_to_point(), GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition(), PositionVector::increasing_x_y_sorter::operator()(), PositionVector::as_poly_cw_sorter::operator()(), PositionVector::positionAtLengthPosition(), TraCIServerAPI_Vehicle::processGet(), TraCIServerAPI_POI::processGet(), TraCIServerAPI_Junction::processGet(), NIImporter_SUMO::reconstructEdgeShape(), Position::reshiftRotate(), NBNodeCont::retrieve(), Line::rotateAround(), GUILaneWrapper::ROWdrawAction_drawArrows(), GUILaneWrapper::ROWdrawAction_drawLane2LaneConnections(), GUILaneWrapper::ROWdrawAction_drawLinkNo(), GUILaneWrapper::ROWdrawAction_drawLinkRules(), GUILaneWrapper::ROWdrawAction_drawTLSLinkNo(), Position::set(), GUIVehicle::setFunctionalColor(), NIXMLEdgesHandler::setNodes(), NGNode::setX(), GeomHelper::transfer_to_side(), NILoader::transformCoordinates(), GUISUMOAbstractView::updatePositionInformation(), NWWriter_OpenDrive::writePlanView(), NWFrame::writePositionLong(), GeoConvHelper::x2cartesian(), and GUIDanielPerspectiveChanger::zoom().
| SUMOReal Position::z | ( | ) | const [inline, inherited] |
Returns the z-position.
Definition at line 69 of file Position.h.
References Position::myZ.
Referenced by NBEdge::computeLaneShape(), Position::set(), and NWFrame::writePositionLong().
| std::ostream& operator<< | ( | std::ostream & | os, |
| const RGBColor & | col | ||
| ) | [friend, inherited] |
Writes the color to the given stream.
| [out] | os | The stream to write to |
| [in] | col | The color to write |
Definition at line 79 of file RGBColor.cpp.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const Position & | p | ||
| ) | [friend, inherited] |
Prints to the output.
Definition at line 169 of file Position.h.
const RGBColor RGBColor::DEFAULT_COLOR = RGBColor::parseColor(RGBColor::DEFAULT_COLOR_STRING) [static, inherited] |
The default color (for vehicle types and vehicles)
Definition at line 183 of file RGBColor.h.
Referenced by TraCIServerAPI_Simulation::commandDistanceRequest(), SUMOVehicleParserHelper::parseCommonAttributes(), and TraCIServerAPI_Route::processSet().
const std::string RGBColor::DEFAULT_COLOR_STRING = "1,1,0" [static, inherited] |
The string description of the default color.
Definition at line 179 of file RGBColor.h.
Referenced by RGBColor::getDefaultColor().
std::string Named::myID [protected, inherited] |
The name of the object.
Reimplemented in MS_E2_ZS_CollectorOverLanes.
Definition at line 81 of file Named.h.
Referenced by RORouteDef_OrigDest::buildCurrentRoute(), RORouteDef_Complete::buildCurrentRoute(), RORouteDef_Alternatives::buildCurrentRoute(), NBEdge::computeEdgeShape(), Named::getID(), NBEdge::getLaneID(), MSRoute::release(), Named::setID(), NBEdge::splitGeometry(), NBNode::writeLogic(), and MSMeanData::writeXMLOutput().
int GUIPointOfInterest::myLayer [protected] |
The layer this object is located in.
This value is used for determining which object to choose as being on top under the cursor
Definition at line 117 of file GUIPointOfInterest.h.
Referenced by getLayer().
std::vector< GUIGlObject_AbstractAdd * > GUIGlObject_AbstractAdd::myObjectList [static, protected, inherited] |
The list of all addtional objects currently loaded.
Definition at line 72 of file GUIGlObject_AbstractAdd.h.
Referenced by GUIGlObject_AbstractAdd::clearDictionary(), GUIGlObject_AbstractAdd::getIDList(), GUIGlObject_AbstractAdd::getObjectList(), and GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd().
std::map< std::string, GUIGlObject_AbstractAdd * > GUIGlObject_AbstractAdd::myObjects [static, protected, inherited] |
Map from names of loaded additional objects to the objects themselves.
Definition at line 69 of file GUIGlObject_AbstractAdd.h.
Referenced by GUIGlObject_AbstractAdd::clearDictionary(), GUIGlObject_AbstractAdd::get(), and GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd().
std::string PointOfInterest::myType [protected, inherited] |
the type of the poi
Definition at line 81 of file PointOfInterest.h.
Referenced by PointOfInterest::getType(), and PointOfInterest::setType().
StringBijection< GUIGlObjectType > GUIGlObject::TypeNames [static, inherited] |
associates object types with strings
Definition at line 90 of file GUIGlObject.h.