![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A single child window which contains a view of the simulation area. More...
#include <GNEViewParent.h>
Data Structures | |
| class | ACChoosers |
| struct for ACChoosers dialog More... | |
| class | CommonFrames |
| class for common frames More... | |
| class | DataFrames |
| class for data frames More... | |
| class | DemandFrames |
| class for demand frames More... | |
| class | NetworkFrames |
| class for network frames More... | |
Public Member Functions | |
| virtual void | create () |
| create GUIGlChildWindow | |
| void | eraseACChooserDialog (GNEACChooserDialog *chooserDialog) |
| remove created chooser dialog | |
| GNEAdditionalFrame * | getAdditionalFrame () const |
| get frame for NETWORK_ADDITIONAL | |
| virtual FXGLCanvas * | getBuildGLCanvas () const |
| get build GL Canvas | |
| MFXComboBoxIcon * | getColoringSchemesCombo () |
| return combobox with the current coloring schemes (standard, fastest standard, real world...) | |
| GNEConnectorFrame * | getConnectorFrame () const |
| get frame for NETWORK_CONNECT | |
| GNEContainerFrame * | getContainerFrame () const |
| get frame for DEMAND_CONTAINER | |
| GNEContainerPlanFrame * | getContainerPlanFrame () const |
| get frame for DEMAND_CONTAINERFRAME | |
| GNECreateEdgeFrame * | getCreateEdgeFrame () const |
| get frame for NETWORK_CREATEEDGE | |
| GNECrossingFrame * | getCrossingFrame () const |
| get frame for NETWORK_CROSSING | |
| GNEFrame * | getCurrentShownFrame () const |
| get current frame (note: it can be null) | |
| GNEDecalFrame * | getDecalFrame () const |
| get frame for NETWORK_DECAL | |
| GNEDeleteFrame * | getDeleteFrame () const |
| get frame for delete elements | |
| GNEEdgeDataFrame * | getEdgeDataFrame () const |
| get frame for DATA_EDGEDATA | |
| GNEEdgeRelDataFrame * | getEdgeRelDataFrame () const |
| get frame for DATA_EDGERELDATA | |
| int | getFrameAreaWidth () const |
| get frame area width | |
| FXVerticalFrame * | getFramesArea () const |
| get frame area | |
| GNEApplicationWindow * | getGNEAppWindows () const |
| get GNE Application Windows | |
| GUIMainWindow * | getGUIMainWindow () const |
| get GUIMainWindow App | |
| GUIMainWindow * | getGUIMainWindowParent () |
| Returns the GUIMainWindow parent. | |
| GNEInspectorFrame * | getInspectorFrame () const |
| get frame for inspect elements | |
| FXPopup * | getLocatorPopup () |
| @ brief return a pointer to locator popup | |
| GNEMeanDataFrame * | getMeanDataFrame () const |
| get frame for DATA_TAZRELDATA | |
| GNEMoveFrame * | getMoveFrame () const |
| get frame for move elements | |
| FXToolBar * | getNavigationToolBar (GUISUMOAbstractView &v) |
| return a reference to navigation toolbar | |
| virtual std::vector< GUIGlID > | getObjectIDs (int messageId) const |
| GNEPersonFrame * | getPersonFrame () const |
| get frame for DEMAND_PERSON | |
| GNEPersonPlanFrame * | getPersonPlanFrame () const |
| get frame for DEMAND_PERSONFRAME | |
| GNEProhibitionFrame * | getProhibitionFrame () const |
| get frame for NETWORK_PROHIBITION | |
| GNERouteDistributionFrame * | getRouteDistributionFrame () const |
| get frame for DEMAND_ROUTEDISTRIBUTION | |
| GNERouteFrame * | getRouteFrame () const |
| get frame for DEMAND_ROUTE | |
| GNESelectorFrame * | getSelectorFrame () const |
| get frame for select elements | |
| GNEShapeFrame * | getShapeFrame () const |
| get frame for NETWORK_SHAPE | |
| MFXCheckableButton * | getShowToolTipsMenu () const |
| get menu for tooltips menu | |
| GNEStopFrame * | getStopFrame () const |
| get frame for DEMAND_STOP | |
| GNETAZFrame * | getTAZFrame () const |
| get frame for NETWORK_TAZ | |
| GNETAZRelDataFrame * | getTAZRelDataFrame () const |
| get frame for DATA_TAZRELDATA | |
| GNETLSEditorFrame * | getTLSEditorFrame () const |
| get frame for NETWORK_TLS | |
| GNETypeDistributionFrame * | getTypeDistributionFrame () const |
| get frame for DEMAND_TYPEDISTRIBUTION | |
| GNETypeFrame * | getTypeFrame () const |
| get frame for DEMAND_TYPE | |
| GNEVehicleFrame * | getVehicleFrame () const |
| get frame for DEMAND_VEHICLE | |
| GUISUMOAbstractView * | getView () const |
| return GUISUMOAbstractView | |
| GNEWireFrame * | getWireFrame () const |
| get frame for NETWORK_WIRE | |
| GNEViewParent (FXMDIClient *p, FXMDIMenu *mdimenu, const FXString &name, GNEApplicationWindow *parentWindow, FXGLCanvas *share, GNENet *net, GNEUndoList *undoList, FXIcon *ic=nullptr, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
| FOX-declaration. | |
| void | hideAllFrames () |
| hide all frames | |
| void | hideFramesArea () |
| hide frames area if all GNEFrames are hidden | |
| virtual bool | isSelected (GUIGlObject *o) const |
| true if the object is selected (may include extra logic besides calling gSelected) | |
| void | setFrameAreaWidth (const int frameAreaWith) |
| set frame area width | |
| void | setView (GUIGlID id) |
| Centers the view onto the given artifact. | |
| void | showFramesArea () |
| show frames area if at least a GNEFrame is showed | |
| void | updateUndoRedoButtons () |
| update toolbar undo/redo buttons (called when user press Ctrl+Z/Y) | |
| ~GNEViewParent () | |
| Destructor. | |
FOX-callbacks | |
Called if the user wants to make a snapshot (screenshot) | |
| long | onCmdMakeSnapshot (FXObject *sender, FXSelector, void *) |
| long | onCmdClose (FXObject *, FXSelector, void *) |
| Called when the user hits the close button (x) | |
| long | onCmdLocate (FXObject *, FXSelector, void *) |
| locator-callback | |
| long | onKeyPress (FXObject *o, FXSelector sel, void *data) |
| Called when user press a key. | |
| long | onKeyRelease (FXObject *o, FXSelector sel, void *data) |
| Called when user releases a key. | |
| long | onCmdUpdateFrameAreaWidth (FXObject *, FXSelector, void *) |
| Called when user change the splitter between FrameArea and ViewNet. | |
buttons call backs | |
| long | onCmdRecenterView (FXObject *, FXSelector, void *) |
| long | onCmdEditViewport (FXObject *, FXSelector, void *) |
| long | onCmdEditViewScheme (FXObject *, FXSelector, void *) |
| long | onCmdShowToolTipsView (FXObject *sender, FXSelector, void *) |
| long | onCmdShowToolTipsMenu (FXObject *sender, FXSelector, void *) |
| long | onCmdZoomStyle (FXObject *sender, FXSelector, void *) |
| long | onCmdChangeColorScheme (FXObject *, FXSelector sel, void *) |
Protected Member Functions | |
| void | buildColoringToolBar () |
| build coloring toolbar | |
| void | buildNavigationToolBar () |
| build navigation toolbar | |
| void | buildScreenshotToolBar () |
| build screenshot toolbar | |
Protected Attributes | |
| FXVerticalFrame * | myChildWindowContentFrame = nullptr |
| The contents frame. | |
| MFXComboBoxIcon * | myColoringSchemes = nullptr |
| The coloring schemes. | |
| FXMenuBar * | myGripNavigationToolbar = nullptr |
| The grip navigation tool bar. | |
| GUIMainWindow * | myGUIMainWindowParent = nullptr |
| FOX needs this. | |
| MFXMenuButtonTooltip * | myLocatorButton = nullptr |
| The locator button. | |
| FXPopup * | myLocatorPopup = nullptr |
| The locator menu. | |
| MFXCheckableButton * | myShowToolTipsMenu = nullptr |
| menu for tooltips menu | |
| MFXCheckableButton * | myShowToolTipsView = nullptr |
| menu for tooltips view | |
| FXToolBar * | myStaticNavigationToolBar = nullptr |
| The static navigation tool bar. | |
| GUISUMOAbstractView * | myView = nullptr |
| The view. | |
| MFXCheckableButton * | myZoomStyle = nullptr |
| Zoom but. | |
Private Attributes | |
| ACChoosers | myACChoosers |
| struct for ACChoosers | |
| CommonFrames | myCommonFrames |
| struct for common frames | |
| MFXButtonTooltip * | myComputePathManagerButton |
| compute Path manager button | |
| DataFrames | myDataFrames |
| struct for data frames | |
| DemandFrames | myDemandFrames |
| struct for demand frames | |
| FXVerticalFrame * | myFramesArea |
| frame to hold GNEFrames | |
| FXSplitter * | myFramesSplitter |
| Splitter to divide ViewNet und GNEFrames. | |
| GNEApplicationWindow * | myGNEAppWindows |
| pointer to GNEApplicationWindow | |
| NetworkFrames | myNetworkFrames |
| struct for network frames | |
| MFXButtonTooltip * | myRedoButton |
| toolbar redo button | |
| MFXButtonTooltip * | myUndoButton |
| toolbar undo button | |
| FXHorizontalFrame * | myViewArea |
| frame to hold myView and myAttributePanel | |
A single child window which contains a view of the simulation area.
It is made of a tool-bar containing a field to change the type of display, buttons that allow to choose an artifact and some other view controlling options.
The rest of the window is a canvas that contains the display itself
Definition at line 88 of file GNEViewParent.h.
| GNEViewParent::GNEViewParent | ( | FXMDIClient * | p, |
| FXMDIMenu * | mdimenu, | ||
| const FXString & | name, | ||
| GNEApplicationWindow * | parentWindow, | ||
| FXGLCanvas * | share, | ||
| GNENet * | net, | ||
| GNEUndoList * | undoList, | ||
| FXIcon * | ic = nullptr, |
||
| FXuint | opts = 0, |
||
| FXint | x = 0, |
||
| FXint | y = 0, |
||
| FXint | w = 0, |
||
| FXint | h = 0 |
||
| ) |
FOX-declaration.
Constructor also builds the view and calls create()
| [in] | p | The MDI-pane this window is shown within |
| [in] | mdimenu | The MDI-menu for alignment |
| [in] | name | The name of the window |
| [in] | parentWindow | The main window |
| [in] | ic | The icon of this window |
| [in] | opts | Window options |
| [in] | x | Initial x-position |
| [in] | y | Initial x-position |
| [in] | w | Initial width |
| [in] | h | Initial height |
| [in] | share | A canvas tor get the shared context from |
| [in] | net | The network to show |
Definition at line 97 of file GNEViewParent.cpp.
References COMPUTEPATHMANAGER, GUIGlChildWindow::create(), GUIIconSubSys::getIcon(), GUIDesignButtonToolbar, GUIDesignFrameArea, GUIDesignFramesAreaDefaultWidth, GUIDesignSplitter, GUIDesignVerticalSeparator, GUIDesignViewnArea, MID_GNE_TOOLBAREDIT_COMPUTEPATHMANAGER, MID_GNE_VIEWPARENT_FRAMEAREAWIDTH, MID_HOTKEY_CTRL_Y_REDO, MID_HOTKEY_CTRL_Z_UNDO, REDO, TL, and UNDO.
| GNEViewParent::~GNEViewParent | ( | ) |
Destructor.
Definition at line 167 of file GNEViewParent.cpp.
References GNEApplicationWindowHelper::ToolbarsGrip::destroyParentToolbarsGrips(), GNEApplicationWindow::getToolbarsGrip(), myGNEAppWindows, GUIGlChildWindow::myGUIMainWindowParent, and GUIMainWindow::removeGLChild().
|
protectedinherited |
build coloring toolbar
Definition at line 153 of file GUIGlChildWindow.cpp.
References COLORWHEEL, GUIIconSubSys::getIcon(), GUIMainWindow::getStaticTooltipMenu(), GUIDesignButtonToolbar, GUIDesignComboBoxStatic, GUIDesignComboBoxVisibleItems, GUIDesignVerticalSeparator, MID_COLORSCHEMECHANGE, MID_HOTKEY_F9_EDIT_VIEWSCHEME, GUIGlChildWindow::myColoringSchemes, GUIGlChildWindow::myGripNavigationToolbar, GUIGlChildWindow::myGUIMainWindowParent, GUIGlChildWindow::myStaticNavigationToolBar, and TL.
|
protectedinherited |
build navigation toolbar
Definition at line 116 of file GUIGlChildWindow.cpp.
References MFXCheckableButton::amChecked(), EDITVIEWPORT, MFXStaticToolTip::enableStaticToolTip(), GUIIconSubSys::getIcon(), GUIMainWindow::getStaticTooltipMenu(), GUIMainWindow::getStaticTooltipView(), GUIDesignButtonToolbar, GUIDesignButtonToolbarLocator, GUIDesignMFXCheckableButtonSquare, LOCATE, MID_HOTKEY_CTRL_I_EDITVIEWPORT, MID_RECENTERVIEW, MID_SHOWTOOLTIPS_MENU, MID_SHOWTOOLTIPS_VIEW, MID_ZOOM_STYLE, GUIGlChildWindow::myGripNavigationToolbar, GUIGlChildWindow::myGUIMainWindowParent, GUIGlChildWindow::myLocatorButton, GUIGlChildWindow::myLocatorPopup, GUIGlChildWindow::myShowToolTipsMenu, GUIGlChildWindow::myShowToolTipsView, GUIGlChildWindow::myStaticNavigationToolBar, GUIGlChildWindow::myZoomStyle, RECENTERVIEW, MFXCheckableButton::setChecked(), SHOWTOOLTIPS_MENU, SHOWTOOLTIPS_VIEW, TL, TLC, and ZOOMSTYLE.
|
protectedinherited |
build screenshot toolbar
Definition at line 167 of file GUIGlChildWindow.cpp.
References CAMERA, GUIIconSubSys::getIcon(), GUIMainWindow::getStaticTooltipMenu(), GUIDesignButtonToolbar, GUIDesignVerticalSeparator, MID_MAKESNAPSHOT, GUIGlChildWindow::myGripNavigationToolbar, GUIGlChildWindow::myGUIMainWindowParent, GUIGlChildWindow::myStaticNavigationToolBar, and TL.
|
virtualinherited |
create GUIGlChildWindow
Definition at line 90 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myGripNavigationToolbar, GUIGlChildWindow::myLocatorPopup, GUIGlChildWindow::myStaticNavigationToolBar, and GUIGlChildWindow::myView.
Referenced by GNEViewParent(), and GUIApplicationWindow::openNewView().
| void GNEViewParent::eraseACChooserDialog | ( | GNEACChooserDialog * | chooserDialog | ) |
remove created chooser dialog
Definition at line 409 of file GNEViewParent.cpp.
References GNEViewParent::ACChoosers::ACChooserAdditional, GNEViewParent::ACChoosers::ACChooserContainers, GNEViewParent::ACChoosers::ACChooserEdges, GNEViewParent::ACChoosers::ACChooserJunction, GNEViewParent::ACChoosers::ACChooserPersons, GNEViewParent::ACChoosers::ACChooserPOI, GNEViewParent::ACChoosers::ACChooserPolygon, GNEViewParent::ACChoosers::ACChooserProhibition, GNEViewParent::ACChoosers::ACChooserRoutes, GNEViewParent::ACChoosers::ACChooserStops, GNEViewParent::ACChoosers::ACChooserTLS, GNEViewParent::ACChoosers::ACChooserVehicles, GNEViewParent::ACChoosers::ACChooserWalkingAreas, GNEViewParent::ACChoosers::ACChooserWire, and myACChoosers.
Referenced by GNEACChooserDialog::~GNEACChooserDialog().
| GNEAdditionalFrame * GNEViewParent::getAdditionalFrame | ( | ) | const |
get frame for NETWORK_ADDITIONAL
Definition at line 237 of file GNEViewParent.cpp.
References GNEViewParent::NetworkFrames::additionalFrame, and myNetworkFrames.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
|
virtualinherited |
get build GL Canvas
Definition at line 178 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView.
Referenced by GUIApplicationWindow::getBuildGLCanvas().
|
inherited |
return combobox with the current coloring schemes (standard, fastest standard, real world...)
Definition at line 196 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myColoringSchemes.
Referenced by GUIViewTraffic::buildViewToolBars(), GNEViewNet::buildViewToolBars(), and GUISUMOAbstractView::getColoringSchemesCombo().
| GNEConnectorFrame * GNEViewParent::getConnectorFrame | ( | ) | const |
get frame for NETWORK_CONNECT
Definition at line 225 of file GNEViewParent.cpp.
References GNEViewParent::NetworkFrames::connectorFrame, and myNetworkFrames.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
| GNEContainerFrame * GNEViewParent::getContainerFrame | ( | ) | const |
get frame for DEMAND_CONTAINER
Definition at line 333 of file GNEViewParent.cpp.
References GNEViewParent::DemandFrames::containerFrame, and myDemandFrames.
Referenced by GNEViewNet::abortOperation(), GNEDemandElement::checkDrawOverContour(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), GNEViewNet::hotkeyEnter(), GNEApplicationWindow::onCmdToggleTimeFormat(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::updateControls(), and GNEViewNet::updateDemandModeSpecificControls().
| GNEContainerPlanFrame * GNEViewParent::getContainerPlanFrame | ( | ) | const |
get frame for DEMAND_CONTAINERFRAME
Definition at line 339 of file GNEViewParent.cpp.
References GNEViewParent::DemandFrames::containerPlanFrame, and myDemandFrames.
Referenced by GNEViewNet::abortOperation(), GNEDemandElement::checkDrawOverContour(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::updateControls(), and GNEViewNet::updateDemandModeSpecificControls().
| GNECreateEdgeFrame * GNEViewParent::getCreateEdgeFrame | ( | ) | const |
get frame for NETWORK_CREATEEDGE
Definition at line 279 of file GNEViewParent.cpp.
References GNEViewParent::NetworkFrames::createEdgeFrame, and myNetworkFrames.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::drawTemporalJunction(), GNEEdgeType::isAttributeEnabled(), GNEApplicationWindow::loadEdgeTypes(), GNEViewNet::processLeftButtonPressNetwork(), GNEChange_EdgeType::redo(), GNEEdgeType::setAttribute(), GNELaneType::setAttribute(), GNEChange_EdgeType::undo(), and GNEViewNet::updateNetworkModeSpecificControls().
| GNECrossingFrame * GNEViewParent::getCrossingFrame | ( | ) | const |
get frame for NETWORK_CROSSING
Definition at line 243 of file GNEViewParent.cpp.
References GNEViewParent::NetworkFrames::crossingFrame, and myNetworkFrames.
Referenced by GNEViewNet::abortOperation(), GNEJunction::checkDrawRelatedContour(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
| GNEFrame * GNEViewParent::getCurrentShownFrame | ( | ) | const |
get current frame (note: it can be null)
Definition at line 185 of file GNEViewParent.cpp.
References GNEViewParent::CommonFrames::getCurrentShownFrame(), GNEViewParent::NetworkFrames::getCurrentShownFrame(), GNEViewParent::DemandFrames::getCurrentShownFrame(), GNEViewParent::DataFrames::getCurrentShownFrame(), GNEViewParent::CommonFrames::isCommonFrameShown(), GNEViewParent::DataFrames::isDataFrameShown(), GNEViewParent::DemandFrames::isDemandFrameShown(), GNEViewParent::NetworkFrames::isNetworkFrameShown(), myCommonFrames, myDataFrames, myDemandFrames, and myNetworkFrames.
Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().
| GNEDecalFrame * GNEViewParent::getDecalFrame | ( | ) | const |
get frame for NETWORK_DECAL
Definition at line 273 of file GNEViewParent.cpp.
References GNEViewParent::NetworkFrames::decalFrame, and myNetworkFrames.
Referenced by GNEViewNet::updateNetworkModeSpecificControls().
| GNEDeleteFrame * GNEViewParent::getDeleteFrame | ( | ) | const |
get frame for delete elements
Definition at line 207 of file GNEViewParent.cpp.
References GNEViewParent::CommonFrames::deleteFrame, and myCommonFrames.
Referenced by GNEEdge::deleteGLObject(), GNEJunction::deleteGLObject(), GNELane::deleteGLObject(), GNEEdge::drawBigGeometryPoints(), GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
| GNEEdgeDataFrame * GNEViewParent::getEdgeDataFrame | ( | ) | const |
get frame for DATA_EDGEDATA
Definition at line 345 of file GNEViewParent.cpp.
References GNEViewParent::DataFrames::edgeDataFrame, and myDataFrames.
Referenced by GNEGenericData::drawAttribute(), GNEEdgeData::drawLanePartialGL(), GNEEdgeData::isGenericDataVisible(), GNEViewNet::processLeftButtonPressData(), GNEEdgeData::setColor(), and GNEViewNet::updateDataModeSpecificControls().
| GNEEdgeRelDataFrame * GNEViewParent::getEdgeRelDataFrame | ( | ) | const |
get frame for DATA_EDGERELDATA
Definition at line 351 of file GNEViewParent.cpp.
References GNEViewParent::DataFrames::edgeRelDataFrame, and myDataFrames.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), GNEEdgeRelData::drawLanePartialGL(), GNEViewNet::hotkeyBackSpace(), GNEViewNet::hotkeyEnter(), GNEEdgeRelData::isGenericDataVisible(), GNEViewNet::processLeftButtonPressData(), GNEEdgeRelData::setColor(), and GNEViewNet::updateDataModeSpecificControls().
| int GNEViewParent::getFrameAreaWidth | ( | ) | const |
get frame area width
Definition at line 460 of file GNEViewParent.cpp.
References myFramesArea.
Referenced by MFXGroupBoxModule::onUpdResetButton(), GNETLSTable::recalcTableWidth(), and GNEInspectorFrame::refreshInspection().
| FXVerticalFrame * GNEViewParent::getFramesArea | ( | ) | const |
| GNEApplicationWindow * GNEViewParent::getGNEAppWindows | ( | ) | const |
get GNE Application Windows
Definition at line 403 of file GNEViewParent.cpp.
References myGNEAppWindows.
Referenced by GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPlanCreator::abortPathCreation(), GNEAdditionalFrame::addAdditional(), GNEPathCreator::addEdge(), GNEEdgeDataFrame::addEdgeData(), GNEPlanCreator::addFromToStoppingPlace(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), GNEViewNet::addRestrictedLane(), GNEStopFrame::addStop(), GNEPathCreator::addTAZ(), GNEViewNet::aksChangeSupermode(), GNEViewNet::askMergeJunctions(), GNEGenericDataFrame::AttributeSelector::AttributeSelector(), GNEContainerFrame::buildContainer(), GNEViewNet::buildEditModeControls(), GNEPersonFrame::buildPerson(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEViewNet::buildViewToolBars(), GNEWireFrame::buildWireOverView(), GNETLSTable::Cell::Cell(), GNEChange_Attribute::changeAttribute(), GNEDeleteFrame::SubordinatedElements::checkElements(), GNENet::cleanInvalidCrossings(), GNETLSTable::Column::Column(), GNENet::computeNetwork(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionSelector::DistributionSelector(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEDemandElementSelector::GNEDemandElementSelector(), GNEMatchAttribute::GNEMatchAttribute(), GNEContainerPlanFrame::hide(), GNEPersonPlanFrame::hide(), GNETLSEditorFrame::isTLSSaved(), GNENet::joinSelectedJunctions(), GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEAttributeCarrierDialog::onCmdAccept(), GNECalibratorDialog::onCmdAccept(), GNERerouterDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEVariableSpeedSignDialog::onCmdAccept(), GNEVehicleTypeDialog::onCmdAccept(), GNEMatchAttribute::onCmdHelp(), GNEAttributesEditorRow::onCmdOpenColorDialog(), GNEAttributesEditorType::onCmdOpenEditParametersDialog(), GNEAttributesEditorRow::onCmdOpenFileDialog(), GNEAttributesEditorRow::onCmdOpenVClassDialog(), GNEOverlappedInspection::onCmdOverlappingHelp(), GNEApplicationWindow::onCmdProcessButton(), GNEViewNet::onCmdSetCustomGeometryPoint(), GNEViewNet::onCmdToggleShowDemandElementsData(), GNEViewNet::onCmdToggleShowDemandElementsNetwork(), GNEViewNet::onCmdTransformPOI(), GNEViewNet::onCmdTriangulatePolygon(), GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEViewNet::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), GNEViewNet::onMiddleBtnPress(), GNEViewNet::onMiddleBtnRelease(), GNEViewNet::onMouseMove(), GNEViewNet::onRightBtnPress(), GNEViewNet::onRightBtnRelease(), GNEFrame::openHelpAttributesDialog(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), GNEViewNet::removeRestrictedLane(), GNEViewNet::restrictLane(), GNEElementTable::Row::Row(), GNETLSTable::Row::Row(), GNENet::saveAdditionals(), GNENet::saveDataElements(), GNENet::saveDemandElements(), GNENet::saveNetwork(), GNEProhibitionFrame::Selection::Selection(), GNESelectorFrame::SelectionHierarchy::SelectionHierarchy(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEWireFrame::show(), GNEAdditionalFrame::tagSelected(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNETLSEditorFrame::TLSPrograms::TLSPrograms(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), GNERouteHandler::transformToVehicle(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), GNEViewNet::updateNetworkModeSpecificControls(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Children::~GNEChange_Children(), GNEChange_DataInterval::~GNEChange_DataInterval(), GNEChange_DataSet::~GNEChange_DataSet(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EdgeType::~GNEChange_EdgeType(), GNEChange_GenericData::~GNEChange_GenericData(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_MeanData::~GNEChange_MeanData(), GNEChange_TAZSourceSink::~GNEChange_TAZSourceSink(), GNEChange_TLS::~GNEChange_TLS(), and GNEChange_ToggleAttribute::~GNEChange_ToggleAttribute().
| GUIMainWindow * GNEViewParent::getGUIMainWindow | ( | ) | const |
get GUIMainWindow App
Definition at line 397 of file GNEViewParent.cpp.
References GUIGlChildWindow::myGUIMainWindowParent.
Referenced by GNEElementTree::createPopUpMenu().
|
inherited |
Returns the GUIMainWindow parent.
Definition at line 110 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myGUIMainWindowParent.
Referenced by MFXDecalsTable::Column::Column(), GUIDialog_ChooserAbstract::GUIDialog_ChooserAbstract(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTipFor(), GUISUMOAbstractView::updateToolTip(), and GUIDialog_ChooserAbstract::~GUIDialog_ChooserAbstract().
| GNEInspectorFrame * GNEViewParent::getInspectorFrame | ( | ) | const |
get frame for inspect elements
Definition at line 201 of file GNEViewParent.cpp.
References GNEViewParent::CommonFrames::inspectorFrame, and myCommonFrames.
Referenced by GNELane::buildTemplateOperations(), GNEAdditional::checkDrawRelatedContour(), GNEAdditional::checkDrawToContour(), GNENet::computeAndUpdate(), GNEUndoList::end(), GNEAttributesEditorType::inspectParent(), GNEApplicationWindow::onCmdAbort(), GNEViewNet::onCmdClearConnections(), GNEApplicationWindow::onCmdClearTemplate(), GNEApplicationWindow::onCmdCopyTemplate(), GNEElementTree::onCmdDeleteItem(), GNEViewNet::onCmdEdgeUseAsTemplate(), GNEViewNet::onCmdEgeApplyTemplate(), GNEElementTree::onCmdInspectItem(), GNEViewNet::onCmdResetConnections(), GNEApplicationWindow::onCmdSetTemplate(), GNEApplicationWindow::onCmdToggleTimeFormat(), GNEViewNet::openObjectDialogAtCursor(), GNECreateEdgeFrame::processClick(), GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEEdge::removeConnection(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), GNEEdge::removeLane(), GNEEdge::setAttribute(), GNELane::setAttribute(), GNEEdge::setAttribute(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), GNERouteHandler::transformToVehicle(), GNEViewNet::updateControls(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
inherited |
@ brief return a pointer to locator popup
Definition at line 190 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myLocatorPopup.
Referenced by GUIViewTraffic::buildViewToolBars(), and GNEViewNet::buildViewToolBars().
| GNEMeanDataFrame * GNEViewParent::getMeanDataFrame | ( | ) | const |
get frame for DATA_TAZRELDATA
Definition at line 363 of file GNEViewParent.cpp.
References GNEViewParent::DataFrames::meanDataFrame, and myDataFrames.
Referenced by GNEViewNet::updateDataModeSpecificControls().
| GNEMoveFrame * GNEViewParent::getMoveFrame | ( | ) | const |
get frame for move elements
Definition at line 219 of file GNEViewParent.cpp.
References GNEViewParent::CommonFrames::moveFrame, and myCommonFrames.
Referenced by GNEAdditional::calculateContourPolygons(), GNEEdge::calculateEdgeContour(), GNEMoveElement::commitMove(), GNEEdge::drawEndGeometryPoint(), GNETAZ::drawGL(), GNEPoly::drawGL(), GNEJunction::drawJunctionCenter(), GNEEdge::drawStartGeometryPoint(), GNEMoveElementLaneDouble::getMoveOperation(), GNEMoveElementLaneSingle::getMoveOperation(), GNEMoveElementShape::getMoveOperation(), GNEMoveElementVehicle::getMoveOperation(), GNEJunction::setAttribute(), GNEMoveElementJunction::setMoveShape(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
inherited |
return a reference to navigation toolbar
Definition at line 184 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myGripNavigationToolbar, and GUIGlChildWindow::myStaticNavigationToolBar.
|
inlinevirtualinherited |
Reimplemented in GUISUMOViewParent.
Definition at line 77 of file GUIGlChildWindow.h.
References UNUSED_PARAMETER.
Referenced by GUIDialog_ChooserAbstract::onCmdUpdate().
| GNEPersonFrame * GNEViewParent::getPersonFrame | ( | ) | const |
get frame for DEMAND_PERSON
Definition at line 321 of file GNEViewParent.cpp.
References myDemandFrames, and GNEViewParent::DemandFrames::personFrame.
Referenced by GNEViewNet::abortOperation(), GNEDemandElement::checkDrawOverContour(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), GNEViewNet::hotkeyEnter(), GNEApplicationWindow::onCmdToggleTimeFormat(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::updateControls(), and GNEViewNet::updateDemandModeSpecificControls().
| GNEPersonPlanFrame * GNEViewParent::getPersonPlanFrame | ( | ) | const |
get frame for DEMAND_PERSONFRAME
Definition at line 327 of file GNEViewParent.cpp.
References myDemandFrames, and GNEViewParent::DemandFrames::personPlanFrame.
Referenced by GNEViewNet::abortOperation(), GNEDemandElement::checkDrawOverContour(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::updateControls(), and GNEViewNet::updateDemandModeSpecificControls().
| GNEProhibitionFrame * GNEViewParent::getProhibitionFrame | ( | ) | const |
get frame for NETWORK_PROHIBITION
Definition at line 261 of file GNEViewParent.cpp.
References myNetworkFrames, and GNEViewParent::NetworkFrames::prohibitionFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::processLeftButtonPressNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
| GNERouteDistributionFrame * GNEViewParent::getRouteDistributionFrame | ( | ) | const |
get frame for DEMAND_ROUTEDISTRIBUTION
Definition at line 285 of file GNEViewParent.cpp.
References myDemandFrames, and GNEViewParent::DemandFrames::routeDistributionFrame.
Referenced by GNEViewNet::updateControls(), and GNEViewNet::updateDemandModeSpecificControls().
| GNERouteFrame * GNEViewParent::getRouteFrame | ( | ) | const |
get frame for DEMAND_ROUTE
Definition at line 291 of file GNEViewParent.cpp.
References myDemandFrames, and GNEViewParent::DemandFrames::routeFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressDemand(), GNELane::setLaneColor(), and GNEViewNet::updateDemandModeSpecificControls().
| GNESelectorFrame * GNEViewParent::getSelectorFrame | ( | ) | const |
get frame for select elements
Definition at line 213 of file GNEViewParent.cpp.
References myCommonFrames, and GNEViewParent::CommonFrames::selectorFrame.
Referenced by GNEViewNet::abortOperation(), GNEUndoList::end(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GNEApplicationWindow::onCmdClearSelectionShortcut(), GNENetDiffTool::postProcessing(), GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEAdditional::selectGLObject(), GNEGenericData::selectGLObject(), GNEDemandElement::selectGLObject(), GNENetworkElement::selectGLObject(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
| GNEShapeFrame * GNEViewParent::getShapeFrame | ( | ) | const |
get frame for NETWORK_SHAPE
Definition at line 255 of file GNEViewParent.cpp.
References myNetworkFrames, and GNEViewParent::NetworkFrames::polygonFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::drawTemporalDrawingShape(), GNEViewNet::hotkeyEnter(), GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEViewNet::onRightBtnPress(), GNEViewNet::onRightBtnRelease(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::processMoveMouseNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
|
inherited |
get menu for tooltips menu
Definition at line 202 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myShowToolTipsMenu.
Referenced by GNEPythonToolDialog::onCmdShowToolTipsMenu().
| GNEStopFrame * GNEViewParent::getStopFrame | ( | ) | const |
get frame for DEMAND_STOP
Definition at line 315 of file GNEViewParent.cpp.
References myDemandFrames, and GNEViewParent::DemandFrames::stopFrame.
Referenced by GNEStop::drawIndex(), GNEStop::getColor(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::updateControls(), and GNEViewNet::updateDemandModeSpecificControls().
| GNETAZFrame * GNEViewParent::getTAZFrame | ( | ) | const |
get frame for NETWORK_TAZ
Definition at line 249 of file GNEViewParent.cpp.
References myNetworkFrames, and GNEViewParent::NetworkFrames::TAZFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::drawTemporalDrawingShape(), GNEViewNet::hotkeyEnter(), GNEApplicationWindow::onCmdAbort(), GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEApplicationWindow::onUpdSaveAdditionalElements(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::processLeftButtonReleaseNetwork(), GNEViewNet::processMoveMouseNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
| GNETAZRelDataFrame * GNEViewParent::getTAZRelDataFrame | ( | ) | const |
get frame for DATA_TAZRELDATA
Definition at line 357 of file GNEViewParent.cpp.
References myDataFrames, and GNEViewParent::DataFrames::TAZRelDataFrame.
Referenced by GNEViewNet::abortOperation(), GNETAZRelData::drawTAZRel(), GNEViewNet::hotkeyEnter(), GNETAZRelData::isGenericDataVisible(), GNEViewNet::processLeftButtonPressData(), and GNEViewNet::updateDataModeSpecificControls().
| GNETLSEditorFrame * GNEViewParent::getTLSEditorFrame | ( | ) | const |
get frame for NETWORK_TLS
Definition at line 231 of file GNEViewParent.cpp.
References myNetworkFrames, and GNEViewParent::NetworkFrames::TLSEditorFrame.
Referenced by GNEViewNet::abortOperation(), GNEInductionLoopDetector::checkDrawRelatedContour(), GNEViewNet::drawTemporalE1TLSLines(), GNEViewNet::drawTemporalJunctionTLSLines(), GNELane::getPopUpMenu(), GNEViewNet::hotkeyEnter(), GNEApplicationWindow::loadTrafficLights(), GNEViewNet::onCmdAddJoinTLS(), GNEViewNet::onCmdAddTLS(), GNELane::onDefault(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::selectingDetectorsTLSMode(), GNEViewNet::selectingJunctionsTLSMode(), and GNEViewNet::updateNetworkModeSpecificControls().
| GNETypeDistributionFrame * GNEViewParent::getTypeDistributionFrame | ( | ) | const |
get frame for DEMAND_TYPEDISTRIBUTION
Definition at line 309 of file GNEViewParent.cpp.
References myDemandFrames, and GNEViewParent::DemandFrames::typeDistributionFrame.
Referenced by GNEViewNet::updateControls(), and GNEViewNet::updateDemandModeSpecificControls().
| GNETypeFrame * GNEViewParent::getTypeFrame | ( | ) | const |
get frame for DEMAND_TYPE
Definition at line 303 of file GNEViewParent.cpp.
References myDemandFrames, and GNEViewParent::DemandFrames::typeFrame.
Referenced by GNEVehicle::checkDrawRelatedContour(), GNEChange_DemandElement::redo(), GNEChange_DemandElement::undo(), GNEViewNet::updateControls(), and GNEViewNet::updateDemandModeSpecificControls().
| GNEVehicleFrame * GNEViewParent::getVehicleFrame | ( | ) | const |
get frame for DEMAND_VEHICLE
Definition at line 297 of file GNEViewParent.cpp.
References myDemandFrames, and GNEViewParent::DemandFrames::vehicleFrame.
Referenced by GNEViewNet::abortOperation(), GNERoute::checkCreatingVehicleOverRoute(), GNEDemandElement::checkDrawOverContour(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), GNEViewNet::hotkeyEnter(), GNEApplicationWindow::onCmdToggleTimeFormat(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::updateControls(), and GNEViewNet::updateDemandModeSpecificControls().
|
inherited |
return GUISUMOAbstractView
Definition at line 104 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView.
Referenced by GUIMainWindow::getActiveView(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GUIDialog_ChooserAbstract::onCmdAddListSelection(), GUIDialog_ChooserAbstract::onCmdCenter(), GUIDialog_ChooserAbstract::onCmdClearListSelection(), GUIApplicationWindow::onCmdEditChosen(), GUIApplicationWindow::onCmdOpenEdgeData(), GUIApplicationWindow::onCmdOpenShapes(), GUIApplicationWindow::onCmdShowStats(), GUIApplicationWindow::onCmdToggleDrawJunctionShape(), GUIApplicationWindow::onCmdToggleSecondaryShape(), GUIDialog_ChooserAbstract::onCmdToggleSelection(), GUIDialog_ChooserAbstract::onCmdTrack(), and GUIApplicationWindow::openNewView().
| GNEWireFrame * GNEViewParent::getWireFrame | ( | ) | const |
get frame for NETWORK_WIRE
Definition at line 267 of file GNEViewParent.cpp.
References myNetworkFrames, and GNEViewParent::NetworkFrames::wireFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
| void GNEViewParent::hideAllFrames | ( | ) |
hide all frames
Definition at line 176 of file GNEViewParent.cpp.
References GNEViewParent::CommonFrames::hideCommonFrames(), GNEViewParent::DataFrames::hideDataFrames(), GNEViewParent::DemandFrames::hideDemandFrames(), GNEViewParent::NetworkFrames::hideNetworkFrames(), myCommonFrames, myDataFrames, myDemandFrames, and myNetworkFrames.
Referenced by GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
| void GNEViewParent::hideFramesArea | ( | ) |
hide frames area if all GNEFrames are hidden
Definition at line 383 of file GNEViewParent.cpp.
References GNEViewParent::CommonFrames::isCommonFrameShown(), GNEViewParent::DataFrames::isDataFrameShown(), GNEViewParent::DemandFrames::isDemandFrameShown(), GNEViewParent::NetworkFrames::isNetworkFrameShown(), myCommonFrames, myDataFrames, myDemandFrames, myFramesArea, and myNetworkFrames.
Referenced by GNEFrame::hide().
|
virtualinherited |
true if the object is selected (may include extra logic besides calling gSelected)
Reimplemented in GUISUMOViewParent.
Definition at line 279 of file GUIGlChildWindow.cpp.
References GUIGlObject::getGlID(), GUIGlObject::getType(), gSelected, and GUISelectedStorage::isSelected().
Referenced by GUIDialog_ChooserAbstract::refreshList().
|
inherited |
Definition at line 264 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::setColorScheme().
Referenced by FXDEFMAP().
| long GNEViewParent::onCmdClose | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user hits the close button (x)
Definition at line 503 of file GNEViewParent.cpp.
References MID_HOTKEY_CTRL_W_CLOSESIMULATION, and GUIGlChildWindow::myGUIMainWindowParent.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 216 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::showViewportEditor().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 223 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::showViewschemeEditor().
Referenced by FXDEFMAP().
| long GNEViewParent::onCmdLocate | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | |||
| ) |
locator-callback
Definition at line 510 of file GNEViewParent.cpp.
References GNEViewParent::ACChoosers::ACChooserAdditional, GNEViewParent::ACChoosers::ACChooserContainers, GNEViewParent::ACChoosers::ACChooserEdges, GNEViewParent::ACChoosers::ACChooserJunction, GNEViewParent::ACChoosers::ACChooserPersons, GNEViewParent::ACChoosers::ACChooserPOI, GNEViewParent::ACChoosers::ACChooserPolygon, GNEViewParent::ACChoosers::ACChooserRoutes, GNEViewParent::ACChoosers::ACChooserStops, GNEViewParent::ACChoosers::ACChooserTLS, GNEViewParent::ACChoosers::ACChooserVehicles, GNEViewParent::ACChoosers::ACChooserWalkingAreas, NamespaceIDs::containers, GNENetHelper::AttributeCarriers::getAdditionals(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getDemandElements(), GNENetHelper::AttributeCarriers::getEdges(), GUIIconSubSys::getIcon(), GNENetHelper::AttributeCarriers::getJunctions(), GNEViewNet::getNet(), GNENet::getTagPropertiesDatabase(), GNETagPropertiesDatabase::getTagProperty(), GNENetHelper::AttributeCarriers::getWalkingAreas(), LOCATEJUNCTION, MID_HOTKEY_SHIFT_A_LOCATEADDITIONAL, MID_HOTKEY_SHIFT_C_LOCATECONTAINER, MID_HOTKEY_SHIFT_E_LOCATEEDGE, MID_HOTKEY_SHIFT_J_LOCATEJUNCTION, MID_HOTKEY_SHIFT_L_LOCATEPOLY, MID_HOTKEY_SHIFT_O_LOCATEPOI, MID_HOTKEY_SHIFT_P_LOCATEPERSON, MID_HOTKEY_SHIFT_R_LOCATEROUTE, MID_HOTKEY_SHIFT_S_LOCATESTOP, MID_HOTKEY_SHIFT_T_LOCATETLS, MID_HOTKEY_SHIFT_V_LOCATEVEHICLE, MID_HOTKEY_SHIFT_W_LOCATEWALKINGAREA, myACChoosers, GUIGlChildWindow::myLocatorButton, GUIGlChildWindow::myLocatorPopup, GUIGlChildWindow::myView, NamespaceIDs::persons, NamespaceIDs::POIs, NamespaceIDs::polygons, NamespaceIDs::stops, SUMO_TAG_ROUTE, TL, and NamespaceIDs::vehicles.
Referenced by FXDEFMAP(), and GNEApplicationWindow::onCmdLocate().
| long GNEViewParent::onCmdMakeSnapshot | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 473 of file GNEViewParent.cpp.
References CAMERA, gCurrentFolder, GUIIconSubSys::getIcon(), SUMOXMLDefinitions::ImageFileExtensions, GUISUMOAbstractView::makeSnapshot(), myGNEAppWindows, GUIGlChildWindow::myView, TL, MFXUtils::userPermitsOverwritingWhenFileExists(), and WRITE_MESSAGE.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 208 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::recenterView().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 241 of file GUIGlChildWindow.cpp.
References MFXCheckableButton::amChecked(), MFXStaticToolTip::enableStaticToolTip(), GUIMainWindow::getStaticTooltipMenu(), GUIGlChildWindow::myGUIMainWindowParent, GUIGlChildWindow::myShowToolTipsMenu, and MFXCheckableButton::setChecked().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 230 of file GUIGlChildWindow.cpp.
References MFXCheckableButton::amChecked(), MFXStaticToolTip::enableStaticToolTip(), GUIMainWindow::getStaticTooltipView(), GUIGlChildWindow::myGUIMainWindowParent, GUIGlChildWindow::myShowToolTipsView, and MFXCheckableButton::setChecked().
Referenced by FXDEFMAP().
| long GNEViewParent::onCmdUpdateFrameAreaWidth | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user change the splitter between FrameArea and ViewNet.
Definition at line 670 of file GNEViewParent.cpp.
References myCommonFrames, myDataFrames, myDemandFrames, myFramesArea, myNetworkFrames, GNEViewParent::CommonFrames::setCommonFramesWidth(), GNEViewParent::DataFrames::setDataFramesWidth(), GNEViewParent::DemandFrames::setDemandFramesWidth(), and GNEViewParent::NetworkFrames::setNetworkFramesWidth().
Referenced by FXDEFMAP(), and setFrameAreaWidth().
|
inherited |
Definition at line 254 of file GUIGlChildWindow.cpp.
References MFXCheckableButton::amChecked(), GUIGlChildWindow::myView, GUIGlChildWindow::myZoomStyle, and MFXCheckableButton::setChecked().
Referenced by FXDEFMAP().
| long GNEViewParent::onKeyPress | ( | FXObject * | o, |
| FXSelector | sel, | ||
| void * | data | ||
| ) |
Called when user press a key.
Definition at line 656 of file GNEViewParent.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::onKeyPress().
Referenced by GNEApplicationWindow::onKeyPress().
| long GNEViewParent::onKeyRelease | ( | FXObject * | o, |
| FXSelector | sel, | ||
| void * | data | ||
| ) |
Called when user releases a key.
Definition at line 663 of file GNEViewParent.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::onKeyRelease().
Referenced by GNEApplicationWindow::onKeyRelease().
| void GNEViewParent::setFrameAreaWidth | ( | const int | frameAreaWith | ) |
set frame area width
Definition at line 466 of file GNEViewParent.cpp.
References myFramesArea, and onCmdUpdateFrameAreaWidth().
Referenced by MFXGroupBoxModule::onCmdExtendButton(), and MFXGroupBoxModule::onCmdResetButton().
|
inherited |
Centers the view onto the given artifact.
| [in] | id | The id of the object to center the view on |
Definition at line 271 of file GUIGlChildWindow.cpp.
References GUISUMOAbstractView::centerTo(), and GUIGlChildWindow::myView.
Referenced by GUIDialog_ChooserAbstract::onCmdCenter(), GUIDialog_ChooserAbstract::onCmdText(), GUIDialog_ChooserAbstract::onCmdTrack(), and GUIMessageWindow::setCursorPos().
| void GNEViewParent::showFramesArea | ( | ) |
show frames area if at least a GNEFrame is showed
Definition at line 369 of file GNEViewParent.cpp.
References GNEViewParent::CommonFrames::isCommonFrameShown(), GNEViewParent::DataFrames::isDataFrameShown(), GNEViewParent::DemandFrames::isDemandFrameShown(), GNEViewParent::NetworkFrames::isNetworkFrameShown(), myCommonFrames, myDataFrames, myDemandFrames, myFramesArea, and myNetworkFrames.
Referenced by GNEFrame::show().
| void GNEViewParent::updateUndoRedoButtons | ( | ) |
update toolbar undo/redo buttons (called when user press Ctrl+Z/Y)
Definition at line 447 of file GNEViewParent.cpp.
References GNEApplicationWindow::getUndoList(), myGNEAppWindows, myRedoButton, myUndoButton, GNEUndoList::onUpdRedo(), and GNEUndoList::onUpdUndo().
Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().
|
private |
struct for ACChoosers
Definition at line 523 of file GNEViewParent.h.
Referenced by eraseACChooserDialog(), and onCmdLocate().
|
protectedinherited |
The contents frame.
Definition at line 132 of file GUIGlChildWindow.h.
Referenced by GUISUMOViewParent::init().
|
protectedinherited |
The coloring schemes.
Definition at line 135 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildColoringToolBar(), and GUIGlChildWindow::getColoringSchemesCombo().
|
private |
struct for common frames
Definition at line 511 of file GNEViewParent.h.
Referenced by getCurrentShownFrame(), getDeleteFrame(), getInspectorFrame(), getMoveFrame(), getSelectorFrame(), hideAllFrames(), hideFramesArea(), onCmdUpdateFrameAreaWidth(), and showFramesArea().
|
private |
compute Path manager button
Definition at line 505 of file GNEViewParent.h.
|
private |
struct for data frames
Definition at line 520 of file GNEViewParent.h.
Referenced by getCurrentShownFrame(), getEdgeDataFrame(), getEdgeRelDataFrame(), getMeanDataFrame(), getTAZRelDataFrame(), hideAllFrames(), hideFramesArea(), onCmdUpdateFrameAreaWidth(), and showFramesArea().
|
private |
struct for demand frames
Definition at line 517 of file GNEViewParent.h.
Referenced by getContainerFrame(), getContainerPlanFrame(), getCurrentShownFrame(), getPersonFrame(), getPersonPlanFrame(), getRouteDistributionFrame(), getRouteFrame(), getStopFrame(), getTypeDistributionFrame(), getTypeFrame(), getVehicleFrame(), hideAllFrames(), hideFramesArea(), onCmdUpdateFrameAreaWidth(), and showFramesArea().
|
private |
frame to hold GNEFrames
Definition at line 496 of file GNEViewParent.h.
Referenced by getFrameAreaWidth(), getFramesArea(), hideFramesArea(), onCmdUpdateFrameAreaWidth(), setFrameAreaWidth(), and showFramesArea().
|
private |
Splitter to divide ViewNet und GNEFrames.
Definition at line 508 of file GNEViewParent.h.
|
private |
pointer to GNEApplicationWindow
Definition at line 490 of file GNEViewParent.h.
Referenced by getGNEAppWindows(), onCmdMakeSnapshot(), updateUndoRedoButtons(), and ~GNEViewParent().
|
protectedinherited |
The grip navigation tool bar.
Definition at line 108 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildColoringToolBar(), GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::buildScreenshotToolBar(), GUISUMOViewParent::buildSpeedControlToolbar(), GUIGlChildWindow::create(), and GUIGlChildWindow::getNavigationToolBar().
|
protectedinherited |
FOX needs this.
The parent window
Definition at line 105 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildColoringToolBar(), GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::buildScreenshotToolBar(), getGUIMainWindow(), GUIGlChildWindow::getGUIMainWindowParent(), GUISUMOViewParent::getObjectIDs(), GUISUMOViewParent::init(), onCmdClose(), GUIGlChildWindow::onCmdShowToolTipsMenu(), GUIGlChildWindow::onCmdShowToolTipsView(), ~GNEViewParent(), and GUISUMOViewParent::~GUISUMOViewParent().
|
protectedinherited |
The locator button.
Definition at line 123 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildNavigationToolBar(), GUISUMOViewParent::onCmdLocate(), and onCmdLocate().
|
protectedinherited |
The locator menu.
Definition at line 120 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::create(), GUIGlChildWindow::getLocatorPopup(), GUISUMOViewParent::onCmdLocate(), onCmdLocate(), and GUIGlChildWindow::~GUIGlChildWindow().
|
private |
struct for network frames
Definition at line 514 of file GNEViewParent.h.
Referenced by getAdditionalFrame(), getConnectorFrame(), getCreateEdgeFrame(), getCrossingFrame(), getCurrentShownFrame(), getDecalFrame(), getProhibitionFrame(), getShapeFrame(), getTAZFrame(), getTLSEditorFrame(), getWireFrame(), hideAllFrames(), hideFramesArea(), onCmdUpdateFrameAreaWidth(), and showFramesArea().
|
private |
toolbar redo button
Definition at line 502 of file GNEViewParent.h.
Referenced by updateUndoRedoButtons().
|
protectedinherited |
menu for tooltips menu
Definition at line 129 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::getShowToolTipsMenu(), and GUIGlChildWindow::onCmdShowToolTipsMenu().
|
protectedinherited |
menu for tooltips view
Definition at line 126 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildNavigationToolBar(), and GUIGlChildWindow::onCmdShowToolTipsView().
|
protectedinherited |
The static navigation tool bar.
Definition at line 111 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildColoringToolBar(), GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::buildScreenshotToolBar(), GUISUMOViewParent::buildSpeedControlToolbar(), GUIGlChildWindow::create(), GUIGlChildWindow::getNavigationToolBar(), GUISUMOViewParent::init(), GUISUMOViewParent::setToolBarVisibility(), and GUIGlChildWindow::~GUIGlChildWindow().
|
private |
toolbar undo button
Definition at line 499 of file GNEViewParent.h.
Referenced by updateUndoRedoButtons().
|
protectedinherited |
The view.
Definition at line 114 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::create(), GUIGlChildWindow::getBuildGLCanvas(), GUIGlChildWindow::getView(), GUISUMOViewParent::init(), GUIGlChildWindow::onCmdChangeColorScheme(), GUIGlChildWindow::onCmdEditViewport(), GUIGlChildWindow::onCmdEditViewScheme(), onCmdLocate(), GUISUMOViewParent::onCmdMakeSnapshot(), onCmdMakeSnapshot(), GUIGlChildWindow::onCmdRecenterView(), GUISUMOViewParent::onCmdSpeedFactor(), GUIGlChildWindow::onCmdZoomStyle(), GUISUMOViewParent::onKeyPress(), onKeyPress(), GUISUMOViewParent::onKeyRelease(), onKeyRelease(), GUISUMOViewParent::onSimStep(), GUISUMOViewParent::onUpdSpeedFactor(), and GUIGlChildWindow::setView().
|
private |
frame to hold myView and myAttributePanel
Definition at line 493 of file GNEViewParent.h.
|
protectedinherited |
Zoom but.
Definition at line 117 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildNavigationToolBar(), and GUIGlChildWindow::onCmdZoomStyle().