 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
54 FXIMPLEMENT(
GUIGLObjectPopupMenu, FXMenuPane, GUIGLObjectPopupMenuMap, ARRAYNUMBER(GUIGLObjectPopupMenuMap))
66 myNetworkPosition(parent.getPositionInformation()) {
82 if (child ==
nullptr) {
GUIGlObjectType getType() const
Returns the type of the object as coded in GUIGlObjectType.
virtual GUIParameterTableWindow * getTypeParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own type parameter window (optional)
Copy cursor geo-coordinate position - popup entry.
static void copyToClipboard(const FXApp &app, const std::string &text)
Copies the given text to clipboard.
virtual GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)=0
Returns an own parameter window.
virtual void removedPopupMenu()
notify object about popup menu removal
virtual void centerTo(GUIGlID id, bool applyZoom, double zoomDist=20)
centers to the chosen artifact
const std::string & getFullName() const
Copy object name - popup entry.
Add to selected items - menu entry.
Copy cursor position - popup entry.
Center view to object - popup entry.
void select(GUIGlID id, bool update=true)
Adds the object with the given id.
static const GeoConvHelper & getFinal()
the coordinate transformation for writing the location element and for tracking the original coordina...
Copy edge name (for lanes only)
GUIGlID getGlID() const
Returns the numerical id of the object.
void cartesian2geo(Position &cartesian) const
Converts the given cartesian (shifted) position to its geo (lat/long) representation.
A point in 2D or 3D with translation and scaling methods.
double x() const
Returns the x-position.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
Show object parameter - popup entry.
double y() const
Returns the y-position.
GUISelectedStorage gSelected
A global holder of selected objects.
Copy typed object name - popup entry.
virtual const std::string & getMicrosimID() const
Returns the id of the object as known to microsim.
Show object type parameter - popup entry.
void deselect(GUIGlID id)
Deselects the object with the given id.
virtual std::string getParentName() const
Returns the name of the parent object (if any)
Remove from selected items - Menu Etry.