![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GUIGlObject.h>
Public Member Functions | ||||
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const | |||
Draws additional, user-triggered visualisations. | ||||
void | drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0, bool forceShow=false) const | |||
draw name of item | ||||
GUIGlObject (GUIGlObjectType type, const std::string µsimID, FXIcon *icon) | ||||
Constructor. | ||||
virtual void | onLeftBtnPress (void *) | |||
notify object about left click | ||||
virtual void | removeActiveAddVisualisation (GUISUMOAbstractView *const, int) | |||
remove additional user-griggered visualisations | ||||
virtual | ~GUIGlObject () | |||
Destructor. | ||||
getter methods | ||||
Returns the full name appearing in the tool tip
| ||||
const std::string & | getFullName () const | |||
virtual std::string | getParentName () const | |||
Returns the name of the parent object (if any) | ||||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. | ||||
FXIcon * | getGLIcon () const | |||
get icon associated with this GL Object | ||||
interfaces to be implemented by derived classes | ||||
virtual GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent)=0 | |||
Returns an own popup-menu. | ||||
virtual void | removedPopupMenu () | |||
notify object about popup menu removal | ||||
virtual GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)=0 | |||
Returns an own parameter window. | ||||
virtual GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own type parameter window (optional) | ||||
const std::string & | getMicrosimID () const | |||
Returns the id of the object as known to microsim. | ||||
virtual const std::string | getOptionalName () const | |||
Returns the name of the object (default "") | ||||
virtual void | setMicrosimID (const std::string &newID) | |||
Changes the microsimID of the object. | ||||
GUIGlObjectType | getType () const | |||
Returns the type of the object as coded in GUIGlObjectType. | ||||
virtual double | getClickPriority () const | |||
Returns the priority of receiving mouse clicks. | ||||
bool | isBlocked () const | |||
get blocking status | ||||
void | setBlocked (const bool state=true) | |||
set blocking status | ||||
virtual double | getExaggeration (const GUIVisualizationSettings &s) const | |||
return exaggeration associated with this GLObject | ||||
virtual Boundary | getCenteringBoundary () const =0 | |||
virtual Position | getCenter () const | |||
virtual double | getScaleVisual () const | |||
return individual scaling factor for this object | ||||
virtual void | drawGL (const GUIVisualizationSettings &s) const =0 | |||
Draws the object. | ||||
virtual bool | isGLObjectLocked () const | |||
check if element is locked (Currently used only in netedit) | ||||
virtual void | markAsFrontElement () | |||
mark element as front element (Currently used only in netedit) | ||||
virtual void | deleteGLObject () | |||
delete GLObject (Currently used only in netedit) | ||||
virtual void | selectGLObject () | |||
select GLObject (Currently used only in netedit) | ||||
virtual void | updateGLObject () | |||
update GLObject (geometry, ID, etc.) (optional) | ||||
virtual double | getColorValue (const GUIVisualizationSettings &, int) const | |||
Parameter table window I/O | ||||
Lets this object know a parameter window showing the object's values was opened
| ||||
void | addParameterTable (GUIParameterTableWindow *w) | |||
void | removeParameterTable (GUIParameterTableWindow *w) | |||
Lets this object know a parameter window showing the object's values was closed. | ||||
Static Public Attributes | |
static const GUIGlID | INVALID_ID = 0 |
static const double | INVALID_PRIORITY |
static StringBijection< GUIGlObjectType > | TypeNames |
associates object types with strings | |
Protected Member Functions | |
void | buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI | |
void | buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI | |
helper methods for building popup-menus | |
build common popup options | |
void | buildPopUpMenuCommonOptions (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, GUISUMOAbstractView *parent, const SumoXMLTag tag, const bool selected, bool addSeparator=true) |
void | buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true) |
Builds the header. | |
void | buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to center to the object. | |
void | buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds entries which allow to copy the name / typed name into the clipboard. | |
void | buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to (de)select the object. | |
void | buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the parameter window. | |
void | buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the type parameter window. | |
void | buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, const GUIMainWindow &app, bool addSeparator=true) const |
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) |
Builds an entry which allows to open the manipulator window. | |
Private Member Functions | |
std::string | createFullName () const |
create full name | |
GUIGlObject (const GUIGlObject &)=delete | |
Invalidated copy constructor. | |
GUIGlObject & | operator= (const GUIGlObject &)=delete |
Invalidated assignment operator. | |
Private Attributes | |
bool | myAmBlocked = false |
whether the object can be deleted | |
std::string | myFullName |
full name of GL Object | |
const GUIGlID | myGlID |
The numerical id of the object. | |
const GUIGlObjectType | myGLObjectType |
The type of the object. | |
FXIcon * | myIcon |
icon associatd with this GL Object | |
std::string | myMicrosimID |
ID of GL object. | |
std::set< GUIParameterTableWindow * > | myParamWindows |
Parameter table windows which refer to this object. | |
Static Private Attributes | |
static StringBijection< GUIGlObjectType >::Entry | GUIGlObjectTypeNamesInitializer [] |
vector for TypeNames Initializer | |
Definition at line 68 of file GUIGlObject.h.
GUIGlObject::GUIGlObject | ( | GUIGlObjectType | type, |
const std::string & | microsimID, | ||
FXIcon * | icon | ||
) |
Constructor.
This is the standard constructor that assures that the object is known and its id is unique. Use it always :-)
[in] | type | The GUIGlObjectType type |
[in] | microsimID | unique ID |
[in] | icon | optional icon associated with this GUIGLObject |
Definition at line 178 of file GUIGlObject.cpp.
References GUIGlObjectStorage::changeName(), createFullName(), GUIGlObjectStorage::gIDStorage, GLO_ADDITIONALELEMENT, myFullName, and myGLObjectType.
|
virtual |
Destructor.
Definition at line 193 of file GUIGlObject.cpp.
References getGlID(), GUIGlObjectStorage::gIDStorage, myParamWindows, GUIGlObjectStorage::remove(), and GLObjectValuePassConnector< T >::removeObject().
|
privatedelete |
Invalidated copy constructor.
void GUIGlObject::addParameterTable | ( | GUIParameterTableWindow * | w | ) |
Definition at line 411 of file GUIGlObject.cpp.
References myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
|
protected |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 449 of file GUIGlObject.cpp.
References buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), buildNameCopyPopupEntry(), buildPopupHeader(), buildPositionCopyEntry(), buildSelectionPopupEntry(), buildShowParamsPopupEntry(), and TLF.
|
protected |
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 325 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_CENTER, RECENTERVIEW, and TL.
Referenced by buildAdditionalsPopupOptions(), buildPopUpMenuCommonOptions(), buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protected |
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 334 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), MID_COPY_NAME, MID_COPY_TYPED_NAME, and TL.
Referenced by buildAdditionalsPopupOptions(), buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNELane::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUIPerson::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protected |
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 313 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIMainWindow::getBoldFont(), getFullName(), OptionsCont::getOptions(), MID_COPY_TEST_COORDINATES, myIcon, and TL.
Referenced by buildAdditionalsPopupOptions(), buildPopUpMenuCommonOptions(), buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protected |
Definition at line 291 of file GUIGlObject.cpp.
References buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), buildPopupHeader(), buildPositionCopyEntry(), buildShowParamsPopupEntry(), FLAG_MINUS, FLAG_PLUS, GUIIconSubSys::getIcon(), MID_ADDSELECT, MID_COPY_NAME, MID_COPY_TYPED_NAME, MID_REMOVESELECT, TL, TLF, and toString().
Referenced by GNEDemandElementPlan::getPlanPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNERouteRef::getPopUpMenu(), GNEVTypeRef::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
protected |
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 375 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GEOHACK, GeoConvHelper::getFinal(), GUIIconSubSys::getIcon(), GUIMainWindow::getOnlineMaps(), GOOGLEMAPS, GUIGLObjectPopupMenu::insertMenuPaneChild(), MID_COPY_CURSOR_GEOPOSITION, MID_COPY_CURSOR_POSITION, MID_SHOW_GEOPOSITION_ONLINE, OSM, and TL.
Referenced by buildAdditionalsPopupOptions(), buildPopUpMenuCommonOptions(), buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protected |
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 344 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), FLAG_MINUS, FLAG_PLUS, getGlID(), GUIIconSubSys::getIcon(), getType(), gSelected, GUISelectedStorage::isSelected(), MID_ADDSELECT, MID_REMOVESELECT, and TL.
Referenced by buildAdditionalsPopupOptions(), buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUIPerson::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protected |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 426 of file GUIGlObject.cpp.
References buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), buildNameCopyPopupEntry(), buildPopupHeader(), buildPositionCopyEntry(), buildSelectionPopupEntry(), buildShowParamsPopupEntry(), and TLF.
Referenced by GUIPointOfInterest::getPopUpMenu().
|
protected |
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 402 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MANIP, MID_MANIP, and TL.
Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().
|
protected |
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 357 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWPARS, and TL.
Referenced by buildAdditionalsPopupOptions(), buildPopUpMenuCommonOptions(), buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNELane::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protected |
Builds an entry which allows to open the type 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 366 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWTYPEPARS, and TL.
Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), and GUIPerson::getPopUpMenu().
|
private |
create full name
Definition at line 472 of file GUIGlObject.cpp.
References getMicrosimID(), StringBijection< T >::getString(), myGLObjectType, and TypeNames.
Referenced by GUIGlObject(), and setMicrosimID().
|
virtual |
delete GLObject (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, GNEWalkingArea, and GNENetworkElement.
Definition at line 238 of file GUIGlObject.cpp.
|
pure virtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implemented in GUIBaseVehicle, GUIBusStop, GUICalibrator, GUIChargingStation, GUIE3Collector::MyWrapper, GUIInstantInductLoop::MyWrapper, GUIJunctionWrapper, GUILaneSpeedTrigger, GUIOverheadWire, GUIOverheadWireClamp, GUIParkingArea, GUITrafficLightLogicWrapper, GUITriggeredRerouter, GUITriggeredRerouter::GUITriggeredRerouterEdge, GUIMEInductLoop::MyWrapper, GNEAccess, GNEBusStop, GNECalibrator, GNECalibratorFlow, GNEChargingStation, GNEClosingLaneReroute, GNEClosingReroute, GNEContainerStop, GNEDestProbReroute, GNEEntryExitDetector, GNEInductionLoopDetector, GNEInstantInductionLoopDetector, GNELaneAreaDetector, GNEMultiEntryExitDetector, GNEOverheadWire, GNEParkingArea, GNEParkingAreaReroute, GNEParkingSpace, GNERerouter, GNERerouterInterval, GNERerouterSymbol, GNERouteProbe, GNERouteProbReroute, GNETAZ, GNETractionSubstation, GNEVaporizer, GNEVariableSpeedSign, GNEVariableSpeedSignStep, GNEVariableSpeedSignSymbol, GNEEdgeData, GNEEdgeRelData, GNETAZRelData, GNEContainer, GNEPerson, GNEPersonTrip, GNERide, GNERoute, GNERouteDistribution, GNERouteRef, GNEStop, GNEStopPlan, GNETranship, GNETransport, GNEVehicle, GNEVType, GNEVTypeDistribution, GNEVTypeRef, GNEWalk, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, GNEWalkingArea, GNENet, GNEAdditional, GNEDetector, GNEStoppingPlace, GNEGenericData, GNEDemandElement, GNENetworkElement, GUIContainer, GUIE2Collector::MyWrapper, GUIEdge, GUIInductLoop::MyWrapper, GUILane, GUINet, GUIPerson, GNEPOI, GNEPoly, GUIPointOfInterest, and GUIPolygon.
|
virtual |
Draws additional, user-triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.
Definition at line 270 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
void GUIGlObject::drawName | ( | const Position & | pos, |
const double | scale, | ||
const GUIVisualizationTextSettings & | settings, | ||
const double | angle = 0 , |
||
bool | forceShow = false |
||
) | const |
draw name of item
Definition at line 478 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), getMicrosimID(), and GUIVisualizationTextSettings::show().
Referenced by GNEEdge::drawEdgeName(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GNETAZ::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNECrossing::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), GUIEdge::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GNEJunction::drawJunctionName(), GNELaneAreaDetector::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GUIBaseVehicle::drawOnPos(), GNEDemandElementPlan::drawPlanLanePartial(), and GNEPoly::drawPolygonNameAndType().
|
inlinevirtual |
Definition at line 185 of file GUIGlObject.h.
References Boundary::getCenter(), and getCenteringBoundary().
Referenced by GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GNEStop::drawGL(), GNELaneAreaDetector::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), and GUISUMOAbstractView::getObjectAtPosition().
|
pure virtual |
Implemented in GUIBaseVehicle, GUIBusStop, GUICalibrator, GUIChargingStation, GUIE3Collector::MyWrapper, GUIInstantInductLoop::MyWrapper, GUIJunctionWrapper, GUILaneSpeedTrigger, GUIOverheadWire, GUIOverheadWireClamp, GUIParkingArea, GUITrafficLightLogicWrapper, GUITriggeredRerouter, GUITriggeredRerouter::GUITriggeredRerouterEdge, GUIMEInductLoop::MyWrapper, GUIMEVehicle, GNEAdditional, GNEEdgeData, GNEEdgeRelData, GNETAZRelData, GNEContainer, GNEPerson, GNEPersonTrip, GNERide, GNERoute, GNERouteDistribution, GNERouteRef, GNEStop, GNEStopPlan, GNETranship, GNETransport, GNEVehicle, GNEVType, GNEVTypeDistribution, GNEVTypeRef, GNEWalk, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, GNEWalkingArea, GNENet, GNEGenericData, GNENetworkElement, GUIContainer, GUIE2Collector::MyWrapper, GUIEdge, GUIInductLoop::MyWrapper, GUILane, GUINet, GUIPerson, GUIPointOfInterest, and GUIPolygon.
Referenced by SUMORTree::addAdditionalGLObject(), GUISUMOAbstractView::centerTo(), GNEDemandElementPlan::drawPlanLanePartial(), getCenter(), and SUMORTree::removeAdditionalGLObject().
|
inlinevirtual |
Returns the priority of receiving mouse clicks.
Reimplemented in GUIEdge, GUILane, GUIPointOfInterest, and GUIPolygon.
Definition at line 162 of file GUIGlObject.h.
References myGLObjectType.
Referenced by GUISUMOAbstractView::getObjectAtPosition(), and ComparatorClickPriority::operator()().
|
inlinevirtual |
Reimplemented in GUIJunctionWrapper, GUIVehicle, GUIMEVehicle, GNEEdgeData, GNEEdgeRelData, GNETAZRelData, GNEJunction, GNELane, GUIBaseVehicle, GUIContainer, GUIEdge, GUILane, and GUIPerson.
Definition at line 213 of file GUIGlObject.h.
Referenced by GUIViewTraffic::buildColorRainbow(), and GNEPerson::drawGL().
|
inlinevirtual |
return exaggeration associated with this GLObject
Reimplemented in GUIBaseVehicle, GUIBusStop, GUICalibrator, GUIChargingStation, GUIDetectorWrapper, GUIE3Collector::MyWrapper, GUIInstantInductLoop::MyWrapper, GUIJunctionWrapper, GUILaneSpeedTrigger, GUIOverheadWire, GUIOverheadWireClamp, GUIParkingArea, GUITriggeredRerouter, GUITriggeredRerouter::GUITriggeredRerouterEdge, GUIMEInductLoop::MyWrapper, GUIMEVehicle, GNEAdditional, GNETAZ, GNEContainer, GNEPerson, GNERoute, GNERouteRef, GNEStop, GNEStopPlan, GNEVehicle, GNEVTypeRef, GNEConnection, GNEEdge, GNEJunction, GNELane, GUIContainer, GUIE2Collector::MyWrapper, GUIPerson, GNEPOI, GNEPoly, GUIPointOfInterest, and GUIPolygon.
Definition at line 177 of file GUIGlObject.h.
References UNUSED_PARAMETER.
Referenced by GUIPointOfInterest::checkDraw(), GUIPolygon::checkDraw(), GNEWalkingArea::drawGL(), GUIPointOfInterest::drawInnerPOI(), and GUIPolygon::drawInnerPolygon().
|
inline |
Definition at line 95 of file GUIGlObject.h.
References myFullName.
Referenced by buildPopupHeader(), GNENetworkElement::getShapeEditedPopUpMenu(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUIParameterTableWindow::onLeftBtnPress(), GUICalibrator::openManipulator(), GUILaneSpeedTrigger::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), and GUISelectedStorage::save().
FXIcon * GUIGlObject::getGLIcon | ( | ) | const |
get icon associated with this GL Object
Definition at line 211 of file GUIGlObject.cpp.
References myIcon.
Referenced by GNENetworkElement::getShapeEditedPopUpMenu().
|
inline |
Returns the numerical id of the object.
Definition at line 105 of file GUIGlObject.h.
References myGlID.
Referenced by GUIMessageWindow::appendMsg(), buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIContainer::drawGL(), GUIEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIJunctionWrapper::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::getColorValue(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIPerson::getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIEdge::getScaleValue(), GNEViewNet::getToolTipID(), GUITransportableControl::insertIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIVehicle::isSelected(), GUIMEVehicle::isSelected(), GUIContainer::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUIPerson::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEElementTree::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), ComparatorClickPriority::operator()(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIViewTraffic::showLaneReachability(), GUIBaseVehicle::~GUIBaseVehicle(), ~GUIGlObject(), GUIPerson::~GUIPerson(), and GUIVehicle::~GUIVehicle().
|
inline |
Returns the id of the object as known to microsim.
Definition at line 144 of file GUIGlObject.h.
References myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNEViewNet::askMergeJunctions(), GNEJunction::checkDrawFromContour(), GNETLSEditorFrame::controlsEdge(), createFullName(), GNENetHelper::AttributeCarriers::deleteEdgeType(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNENetHelper::AttributeCarriers::deleteSingleJunction(), GNEAdditional::drawAdditionalID(), GNEInternalLane::drawGL(), drawName(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNERouteDistribution::getAttribute(), GNERouteRef::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEVTypeDistribution::getAttribute(), GNEVTypeRef::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEWalkingArea::getAttribute(), GNEDetector::getDetectorAttribute(), GNEWalkingArea::getNBWalkingArea(), GUIDialog_ChooserAbstract::getObjectName(), GNEACChooserDialog::getObjectName(), GNEMultiEntryExitDetector::getParentName(), GNERerouter::getParentName(), GNETAZ::getParentName(), GNETractionSubstation::getParentName(), GNEVariableSpeedSign::getParentName(), GNERouteDistribution::getParentName(), GNEVType::getParentName(), GNEVTypeDistribution::getParentName(), GNEPOI::getParentName(), GNEPoly::getParentName(), GNEStoppingPlace::getStoppingPlaceAttribute(), GNEChange_TLS::GNEChange_TLS(), GNETLSEditorFrame::handleMultiChange(), GNENetHelper::AttributeCarriers::insertEdgeType(), GNENetHelper::AttributeCarriers::insertInternalLane(), GUIGLObjectPopupMenu::onCmdCopyName(), GNENetHelper::AttributeCarriers::registerEdge(), GNENetHelper::AttributeCarriers::registerEdgeType(), GNENetHelper::AttributeCarriers::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNENetHelper::AttributeCarriers::retrieveConnection(), GNENetHelper::AttributeCarriers::retrieveCrossing(), GNENetHelper::AttributeCarriers::retrieveInternalLane(), GNENetHelper::AttributeCarriers::retrieveLane(), GNENetHelper::AttributeCarriers::retrieveWalkingArea(), GNEStop::setStopMicrosimID(), GNENet::splitEdge(), and GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements().
|
virtual |
Returns the name of the object (default "")
Reimplemented in GUIBaseVehicle, GUIBusStop, GUIChargingStation, GUIJunctionWrapper, GUIParkingArea, GUITrafficLightLogicWrapper, GNEAdditional, GNEEdge, GNENetworkElement, GUIEdge, GUIPointOfInterest, and GUIPolygon.
Definition at line 256 of file GUIGlObject.cpp.
Referenced by GUIDialog_ChooserAbstract::getObjectName().
|
pure 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 |
Implemented in GUIBusStop, GUICalibrator, GUIChargingStation, GUIE3Collector::MyWrapper, GUIInstantInductLoop::MyWrapper, GUIJunctionWrapper, GUILaneSpeedTrigger, GUIOverheadWire, GUIOverheadWireClamp, GUIParkingArea, GUITrafficLightLogicWrapper, GUITriggeredRerouter, GUITriggeredRerouter::GUITriggeredRerouterEdge, GUIVehicle, GUIMEInductLoop::MyWrapper, GUIMEVehicle, GNEAdditional, GNEGenericData, GNEDemandElement, GNEInternalLane, GNENetworkElement, GNENet, GUIContainer, GUIE2Collector::MyWrapper, GUIEdge, GUIInductLoop::MyWrapper, GUILane, GUINet, GUIPerson, GUIPointOfInterest, GUIPolygon, and GUIBaseVehicle.
Referenced by GUIGLObjectPopupMenu::onCmdShowPars().
|
virtual |
Returns the name of the parent object (if any)
Reimplemented in GNEAccess, GNECalibrator, GNECalibratorFlow, GNEClosingLaneReroute, GNEClosingReroute, GNEDestProbReroute, GNEDetector, GNEMultiEntryExitDetector, GNEParkingAreaReroute, GNEParkingSpace, GNERerouter, GNERerouterInterval, GNERerouterSymbol, GNERouteProbe, GNERouteProbReroute, GNEStoppingPlace, GNETAZ, GNETractionSubstation, GNEVaporizer, GNEVariableSpeedSign, GNEVariableSpeedSignStep, GNEVariableSpeedSignSymbol, GNEContainer, GNEPerson, GNEPersonTrip, GNERide, GNERoute, GNERouteDistribution, GNERouteRef, GNEStop, GNEStopPlan, GNETranship, GNETransport, GNEVehicle, GNEVType, GNEVTypeDistribution, GNEVTypeRef, GNEWalk, GNELane, GUILane, GNEPOI, and GNEPoly.
Definition at line 205 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
pure 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 |
Implemented in GUIBaseVehicle, GUIBusStop, GUICalibrator, GUIChargingStation, GUIDetectorWrapper, GUIJunctionWrapper, GUILaneSpeedTrigger, GUIOverheadWire, GUIOverheadWireClamp, GUIParkingArea, GUITrafficLightLogicWrapper, GUITriggeredRerouter, GUITriggeredRerouter::GUITriggeredRerouterEdge, GNEAdditional, GNETAZ, GNEGenericData, GNEContainer, GNEDemandElement, GNEPerson, GNEPersonTrip, GNERide, GNERoute, GNERouteRef, GNETranship, GNETransport, GNEVehicle, GNEVTypeRef, GNEWalk, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, GNEWalkingArea, GNENet, GUIContainer, GUIEdge, GUILane, GUINet, GUIPerson, GNEPOI, GNEPoly, GUIPointOfInterest, GUIPolygon, and GNENetworkElement.
Referenced by GUISUMOAbstractView::openObjectDialogAtCursor().
|
inlinevirtual |
return individual scaling factor for this object
Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.
Definition at line 190 of file GUIGlObject.h.
Referenced by GUIVisualizationSizeSettings::getExaggeration().
|
inline |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 157 of file GUIGlObject.h.
References myGLObjectType.
Referenced by buildSelectionPopupEntry(), GNEConnection::calculateConnectionContour(), GNEContour::calculateContourEdgeGeometryPoints(), GNECrossing::calculateCrossingContour(), GNEJunction::calculateJunctioncontour(), GNEParkingSpace::calculateSpaceContour(), GNEStoppingPlace::calculateStoppingPlaceContour(), GNEViewNet::checkOverLockedElement(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNECalibrator::drawCalibratorSymbol(), GNELaneAreaDetector::drawE2PartialJunction(), GNELaneAreaDetector::drawE2PartialLane(), GNEEntryExitDetector::drawE3Logo(), GNEEntryExitDetector::drawEntryLogo(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GNEDemandElement::drawJunctionLine(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNELaneAreaDetector::drawLanePartialGL(), GNEOverheadWire::drawLanePartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEAdditional::drawListedAdditional(), GUIBaseVehicle::drawOnPos(), GNEDemandElementPlan::drawPlanGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GNEAdditional::drawSquaredAdditional(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GNESelectorFrame::SelectionOperation::loadFromFile(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GNEJunction::setJunctionType(), GNEViewNetHelper::ViewObjectsSelector::updateGenericDataElements(), GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements(), GNEViewNetHelper::ViewObjectsSelector::updateShapeElements(), and GNEViewNetHelper::ViewObjectsSelector::updateTAZElements().
|
virtual |
Returns an own type parameter window (optional)
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Reimplemented in GUIVehicle, GUIMEVehicle, GUIContainer, GUIEdge, GUIPerson, and GUIBaseVehicle.
Definition at line 217 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
|
inline |
|
virtual |
check if element is locked (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.
Definition at line 225 of file GUIGlObject.cpp.
Referenced by GNEViewNetHelper::ViewObjectsSelector::filterLockedElements(), and GNEViewNet::processLeftButtonPressNetwork().
|
virtual |
mark element as front element (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.
Definition at line 232 of file GUIGlObject.cpp.
|
inlinevirtual |
notify object about left click
Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.
Definition at line 228 of file GUIGlObject.h.
Referenced by GUIViewTraffic::onGamingClick().
|
privatedelete |
Invalidated assignment operator.
|
inlinevirtual |
remove additional user-griggered visualisations
Reimplemented in GUIBaseVehicle, and GUIPerson.
Definition at line 225 of file GUIGlObject.h.
|
inlinevirtual |
notify object about popup menu removal
Reimplemented in GUIBaseVehicle.
Definition at line 125 of file GUIGlObject.h.
Referenced by GUIGLObjectPopupMenu::removePopupFromObject().
void GUIGlObject::removeParameterTable | ( | GUIParameterTableWindow * | w | ) |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 417 of file GUIGlObject.cpp.
References myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
virtual |
select GLObject (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, and GNENetworkElement.
Definition at line 244 of file GUIGlObject.cpp.
|
inline |
set blocking status
Definition at line 172 of file GUIGlObject.h.
References myAmBlocked.
Referenced by GUIGlObjectStorage::getObjectBlocking(), and GUIGlObjectStorage::getObjectBlocking().
|
virtual |
Changes the microsimID of the object.
Definition at line 262 of file GUIGlObject.cpp.
References GUIGlObjectStorage::changeName(), createFullName(), GUIGlObjectStorage::gIDStorage, myFullName, and myMicrosimID.
Referenced by GNEAdditional::setAdditionalID(), GNEDemandElement::setDemandElementID(), GNENetworkElement::setNetworkElementID(), GNENetHelper::AttributeCarriers::updateAdditionalID(), and GNENetHelper::AttributeCarriers::updateDemandElementID().
|
virtual |
update GLObject (geometry, ID, etc.) (optional)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, and GNEWalkingArea.
Definition at line 250 of file GUIGlObject.cpp.
|
staticprivate |
vector for TypeNames Initializer
Definition at line 52 of file GUIGlObject.h.
|
static |
Definition at line 73 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTipFor(), and GUIViewTraffic::stopTrack().
|
static |
Definition at line 74 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::filterContextObjects(), GUIEdge::getClickPriority(), and GUILane::getClickPriority().
|
private |
whether the object can be deleted
Definition at line 333 of file GUIGlObject.h.
Referenced by isBlocked(), and setBlocked().
|
private |
full name of GL Object
Definition at line 327 of file GUIGlObject.h.
Referenced by getFullName(), GUIGlObject(), and setMicrosimID().
|
private |
The numerical id of the object.
Definition at line 318 of file GUIGlObject.h.
Referenced by getGlID().
|
private |
The type of the object.
Definition at line 321 of file GUIGlObject.h.
Referenced by createFullName(), getClickPriority(), getType(), and GUIGlObject().
|
private |
icon associatd with this GL Object
Definition at line 330 of file GUIGlObject.h.
Referenced by buildPopupHeader(), and getGLIcon().
|
private |
ID of GL object.
Definition at line 324 of file GUIGlObject.h.
Referenced by getMicrosimID(), and setMicrosimID().
|
private |
Parameter table windows which refer to this object.
Definition at line 336 of file GUIGlObject.h.
Referenced by addParameterTable(), removeParameterTable(), and ~GUIGlObject().
|
static |
associates object types with strings
Definition at line 72 of file GUIGlObject.h.
Referenced by createFullName(), GNESelectorFrame::SelectionOperation::loadFromFile(), and GNESelectorFrame::SelectionOperation::onCmdSave().