![]() |
Eclipse SUMO - Simulation of Urban MObility
|
class used to group all variables related with objects under cursor after a click over view More...
#include <GNEViewNetHelper.h>
Data Structures | |
| class | ViewObjectsContainer |
| objects container More... | |
Public Member Functions | |
| void | fillSumoBaseObject (CommonXMLStructure::SumoBaseObject *baseObjet) const |
| fill the given SUMO base object with the current single objects | |
| void | filterAdditionals (const bool includeStoppigPlaces, const bool includeTAZs) |
| filter (remove) additionals | |
| void | filterAllExcept (GUIGlObjectType exception) |
| filter all elements except the given GLO type | |
| void | filterBySuperMode () |
| filter by supermode | |
| void | filterConnections () |
| filter (remove) connections | |
| void | filterCrossings () |
| filter (remove) crossings | |
| void | filterDataElements () |
| filter (remove) datga elements | |
| void | filterDemandElements (const bool includeRoutes) |
| filter (remove) demand elements | |
| void | filterEdges () |
| filter (remove) edges | |
| void | filterJunctions () |
| filter (remove) junctions | |
| void | filterLanes () |
| filter (remove) lanes | |
| void | filterLockedElements (const std::vector< GUIGlObjectType > ignoreFilter={}) |
| filter locked elements (except the ignoreFilter) | |
| void | filterNetworkElements () |
| filter (remove) network elements | |
| void | filterShapes () |
| filter (remove) polys and POIs | |
| void | filterWalkingAreas () |
| filter (remove) walkingAreas | |
| GNEAdditional * | getAdditionalFront () const |
| get front additional element or a pointer to nullptr | |
| const std::vector< GNEAdditional * > & | getAdditionals () const |
| get vector with additionals | |
| GNEAttributeCarrier * | getAttributeCarrierFront () const |
| get front attribute carrier or a pointer to nullptr | |
| const std::vector< GNEAttributeCarrier * > & | getAttributeCarriers () const |
| get vector with ACs | |
| GNEConnection * | getConnectionFront () const |
| get front connection or a pointer to nullptr | |
| GNECrossing * | getCrossingFront () const |
| get front crossing or a pointer to nullptr | |
| GNEDemandElement * | getDemandElementFront () const |
| get front demand element or a pointer to nullptr | |
| const std::vector< GNEDemandElement * > & | getDemandElements () const |
| get vector with Demand Elements | |
| GNEEdgeData * | getEdgeDataElementFront () const |
| get edge data element or a pointer to nullptr | |
| GNEEdge * | getEdgeFront () const |
| get front edge or a pointer to nullptr | |
| GNEEdgeRelData * | getEdgeRelDataElementFront () const |
| get edge rel data element or a pointer to nullptr | |
| const std::vector< GNEEdge * > & | getEdges () const |
| get vector with edges | |
| GNEGenericData * | getGenericDataElementFront () const |
| get generic data element or a pointer to nullptr | |
| const std::vector< GUIGlObject * > & | getGLObjects () const |
| get vector with GL objects | |
| const GUIGlObject * | getGUIGlObjectFront () const |
| get front GUIGLObject or a pointer to nullptr | |
| GNEInternalLane * | getInternalLaneFront () const |
| get front internal lane or a pointer to nullptr | |
| GNEJunction * | getJunctionFront () const |
| get front junction or a pointer to nullptr | |
| const std::vector< GNEJunction * > & | getJunctions () const |
| get vector with junctions | |
| GNELane * | getLaneFront () const |
| get front lane or a pointer to nullptr | |
| GNELane * | getLaneFrontNonLocked () const |
| get front lane or a pointer to nullptr checking if is locked | |
| const std::vector< GNELane * > & | getLanes () const |
| get lanes | |
| const std::vector< const GNEJunction * > & | getMergingJunctions () const |
| get merging junctions | |
| GNENetworkElement * | getNetworkElementFront () const |
| get front network element or a pointer to nullptr | |
| GNEPOI * | getPOIFront () const |
| get front POI or a pointer to nullptr | |
| GNEPoly * | getPolyFront () const |
| get front Poly or a pointer to nullptr | |
| GNETAZ * | getTAZFront () const |
| get front TAZ or a pointer to nullptr | |
| GNETAZRelData * | getTAZRelDataElementFront () const |
| get TAZ rel data element or a pointer to nullptr | |
| const std::vector< GNETAZ * > & | getTAZs () const |
| get vector with TAZs | |
| GNEWalkingArea * | getWalkingAreaFront () const |
| get front walkingArea or a pointer to nullptr | |
| void | updateMergingJunctions () |
| update merging junctions | |
| void | updateObjects () |
| update objects (using gViewObjectsHandler) | |
| ViewObjectsSelector (GNEViewNet *viewNet) | |
| constructor | |
Protected Attributes | |
| std::vector< const GNEJunction * > | myMergingJunctions |
| merging junctions | |
| const GNEViewNet * | myViewNet |
| pointer to viewNet | |
| ViewObjectsContainer | myViewObjects |
| objects container with selected objects | |
Private Member Functions | |
| ViewObjectsSelector & | operator= (const ViewObjectsSelector &)=delete |
| Invalidated assignment operator. | |
| void | processGUIGlObjects (const GUIViewObjectsHandler::GLObjectsSortedContainer &objectsContainer) |
| process GL objects | |
| void | updateAdditionalElements (ViewObjectsContainer &container, const GUIGlObject *glObject) |
| update additional elements | |
| void | updateDemandElements (ViewObjectsContainer &container, const GUIGlObject *glObject) |
| update demand elements | |
| void | updateGenericDataElements (ViewObjectsContainer &container, const GUIGlObject *glObject) |
| update generic data elements | |
| void | updateNetworkElements (ViewObjectsContainer &container, const GUIGlObject *glObject) |
| update network elements | |
| void | updateShapeElements (ViewObjectsContainer &container, const GUIGlObject *glObject) |
| update shape elements | |
| void | updateTAZElements (ViewObjectsContainer &container, const GUIGlObject *glObject) |
| update TAZ elements | |
| ViewObjectsSelector () | |
| default constructor | |
| ViewObjectsSelector (const ViewObjectsSelector &)=delete | |
| Invalidated copy constructor. | |
class used to group all variables related with objects under cursor after a click over view
Definition at line 339 of file GNEViewNetHelper.h.
| GNEViewNetHelper::ViewObjectsSelector::ViewObjectsSelector | ( | GNEViewNet * | viewNet | ) |
constructor
Definition at line 371 of file GNEViewNetHelper.cpp.
|
private |
default constructor
Definition at line 1426 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
| void GNEViewNetHelper::ViewObjectsSelector::fillSumoBaseObject | ( | CommonXMLStructure::SumoBaseObject * | baseObjet | ) | const |
fill the given SUMO base object with the current single objects
Definition at line 393 of file GNEViewNetHelper.cpp.
References CommonXMLStructure::SumoBaseObject::addParentID(), SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, and SUMO_TAG_WALKINGAREA.
Referenced by GNEAdditionalFrame::initBaseAdditionalObject().
| void GNEViewNetHelper::ViewObjectsSelector::filterAdditionals | ( | const bool | includeStoppigPlaces, |
| const bool | includeTAZs | ||
| ) |
filter (remove) additionals
Definition at line 537 of file GNEViewNetHelper.cpp.
References GLO_STOPPING_PLACE, GLO_STOPPING_PLACE_LAST, and GLO_TAZ.
Referenced by GNEViewNet::processLeftButtonPressDemand().
| void GNEViewNetHelper::ViewObjectsSelector::filterAllExcept | ( | GUIGlObjectType | exception | ) |
filter all elements except the given GLO type
Definition at line 428 of file GNEViewNetHelper.cpp.
Referenced by GNEOverlappedInspection::showOverlappedInspection().
| void GNEViewNetHelper::ViewObjectsSelector::filterBySuperMode | ( | ) |
filter by supermode
Definition at line 441 of file GNEViewNetHelper.cpp.
Referenced by GNEOverlappedInspection::showOverlappedInspection().
| void GNEViewNetHelper::ViewObjectsSelector::filterConnections | ( | ) |
filter (remove) connections
Definition at line 490 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::processLeftButtonPressNetwork().
| void GNEViewNetHelper::ViewObjectsSelector::filterCrossings | ( | ) |
filter (remove) crossings
Definition at line 501 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::processLeftButtonPressNetwork().
| void GNEViewNetHelper::ViewObjectsSelector::filterDataElements | ( | ) |
filter (remove) datga elements
Definition at line 580 of file GNEViewNetHelper.cpp.
| void GNEViewNetHelper::ViewObjectsSelector::filterDemandElements | ( | const bool | includeRoutes | ) |
filter (remove) demand elements
Definition at line 565 of file GNEViewNetHelper.cpp.
References GLO_ROUTE.
Referenced by GNEViewNet::processLeftButtonPressDemand().
| void GNEViewNetHelper::ViewObjectsSelector::filterEdges | ( | ) |
filter (remove) edges
Definition at line 468 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::processLeftButtonPressNetwork(), and GNEOverlappedInspection::showOverlappedInspection().
| void GNEViewNetHelper::ViewObjectsSelector::filterJunctions | ( | ) |
filter (remove) junctions
Definition at line 457 of file GNEViewNetHelper.cpp.
| void GNEViewNetHelper::ViewObjectsSelector::filterLanes | ( | ) |
filter (remove) lanes
Definition at line 479 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::processLeftButtonPressNetwork().
| void GNEViewNetHelper::ViewObjectsSelector::filterLockedElements | ( | const std::vector< GUIGlObjectType > | ignoreFilter = {} | ) |
filter locked elements (except the ignoreFilter)
Definition at line 598 of file GNEViewNetHelper.cpp.
References GUIGlObject::isGLObjectLocked().
Referenced by GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), and GNEViewNet::processLeftButtonPressNetwork().
| void GNEViewNetHelper::ViewObjectsSelector::filterNetworkElements | ( | ) |
filter (remove) network elements
Definition at line 554 of file GNEViewNetHelper.cpp.
| void GNEViewNetHelper::ViewObjectsSelector::filterShapes | ( | ) |
filter (remove) polys and POIs
Definition at line 523 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::processLeftButtonPressDemand().
| void GNEViewNetHelper::ViewObjectsSelector::filterWalkingAreas | ( | ) |
filter (remove) walkingAreas
Definition at line 512 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::processLeftButtonPressNetwork().
| GNEAdditional * GNEViewNetHelper::ViewObjectsSelector::getAdditionalFront | ( | ) | const |
get front additional element or a pointer to nullptr
Definition at line 653 of file GNEViewNetHelper.cpp.
Referenced by GNEContainerPlanFrame::addContainerPlanElement(), GNEPersonPlanFrame::addPersonPlanElement(), GNEStopFrame::addStop(), GNEAdditional::checkDrawDeleteContourSmall(), GNEWireFrame::createBaseWireObject(), and GNETLSEditorFrame::editTLS().
| const std::vector< GNEAdditional * > & GNEViewNetHelper::ViewObjectsSelector::getAdditionals | ( | ) | const |
get vector with additionals
Definition at line 866 of file GNEViewNetHelper.cpp.
Referenced by GNEContainerFrame::addContainer(), and GNEPersonFrame::addPerson().
| GNEAttributeCarrier * GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront | ( | ) | const |
get front attribute carrier or a pointer to nullptr
Definition at line 633 of file GNEViewNetHelper.cpp.
Referenced by GNEAdditionalFrame::addAdditional(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEAdditional::checkDrawDeleteContourSmall(), GNEDemandElement::checkDrawDeleteContourSmall(), GNEEdge::checkDrawDeleteContourSmall(), GNEInspectorFrame::inspectClickedElements(), GNEViewNet::onCmdAddSelected(), GNEViewNet::onCmdRemoveSelected(), GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNESelectorFrame::selectAttributeCarrier(), and GNEOverlappedInspection::showOverlappedInspection().
| const std::vector< GNEAttributeCarrier * > & GNEViewNetHelper::ViewObjectsSelector::getAttributeCarriers | ( | ) | const |
get vector with ACs
Definition at line 842 of file GNEViewNetHelper.cpp.
Referenced by GNECrossingFrame::addCrossing(), GNEViewNet::onCmdSelectPolygonElements(), GNEDeleteFrame::removeGeometryPoint(), and GNEOverlappedInspection::showOverlappedInspection().
| GNEConnection * GNEViewNetHelper::ViewObjectsSelector::getConnectionFront | ( | ) | const |
get front connection or a pointer to nullptr
Definition at line 756 of file GNEViewNetHelper.cpp.
Referenced by GNEProhibitionFrame::handleProhibitionClick(), and GNEViewNet::processLeftButtonPressNetwork().
| GNECrossing * GNEViewNetHelper::ViewObjectsSelector::getCrossingFront | ( | ) | const |
get front crossing or a pointer to nullptr
Definition at line 736 of file GNEViewNetHelper.cpp.
| GNEDemandElement * GNEViewNetHelper::ViewObjectsSelector::getDemandElementFront | ( | ) | const |
get front demand element or a pointer to nullptr
Definition at line 663 of file GNEViewNetHelper.cpp.
Referenced by GNEContainerPlanFrame::addContainerPlanElement(), GNEPersonPlanFrame::addPersonPlanElement(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), and GNEDemandElement::checkDrawDeleteContourSmall().
| const std::vector< GNEDemandElement * > & GNEViewNetHelper::ViewObjectsSelector::getDemandElements | ( | ) | const |
get vector with Demand Elements
Definition at line 872 of file GNEViewNetHelper.cpp.
Referenced by GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNEPersonFrame::addPerson(), and GNEPersonPlanFrame::addPersonPlanElement().
| GNEEdgeData * GNEViewNetHelper::ViewObjectsSelector::getEdgeDataElementFront | ( | ) | const |
get edge data element or a pointer to nullptr
Definition at line 806 of file GNEViewNetHelper.cpp.
| GNEEdge * GNEViewNetHelper::ViewObjectsSelector::getEdgeFront | ( | ) | const |
get front edge or a pointer to nullptr
Definition at line 693 of file GNEViewNetHelper.cpp.
Referenced by GNECrossingFrame::addCrossing(), GNEEdgeDataFrame::addEdgeData(), GNEEdgeRelDataFrame::addEdgeRelationData(), GNEVehicleFrame::addVehicle(), GNEEdge::checkDrawOverContour(), GNEAdditionalFrame::initBaseAdditionalObject(), GNEViewNet::onCmdAddEdgeSelected(), GNEViewNet::onCmdRemoveEdgeSelected(), GNETAZFrame::processClick(), GNEViewNet::processLeftButtonPressNetwork(), and GNEDeleteFrame::removeGeometryPoint().
| GNEEdgeRelData * GNEViewNetHelper::ViewObjectsSelector::getEdgeRelDataElementFront | ( | ) | const |
get edge rel data element or a pointer to nullptr
Definition at line 816 of file GNEViewNetHelper.cpp.
| const std::vector< GNEEdge * > & GNEViewNetHelper::ViewObjectsSelector::getEdges | ( | ) | const |
get vector with edges
Definition at line 854 of file GNEViewNetHelper.cpp.
Referenced by GNETAZFrame::shapeDrawed().
| GNEGenericData * GNEViewNetHelper::ViewObjectsSelector::getGenericDataElementFront | ( | ) | const |
get generic data element or a pointer to nullptr
Definition at line 673 of file GNEViewNetHelper.cpp.
| const std::vector< GUIGlObject * > & GNEViewNetHelper::ViewObjectsSelector::getGLObjects | ( | ) | const |
get vector with GL objects
Definition at line 836 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::checkOverLockedElement(), GNEViewNet::openObjectDialogAtCursor(), GNEDeleteFrame::removeAttributeCarrier(), and GNESelectorFrame::selectAttributeCarrier().
| const GUIGlObject * GNEViewNetHelper::ViewObjectsSelector::getGUIGlObjectFront | ( | ) | const |
get front GUIGLObject or a pointer to nullptr
Definition at line 623 of file GNEViewNetHelper.cpp.
Referenced by GNEEdge::checkDrawDeleteContour(), GNEAccess::checkDrawMoveContour(), GNECalibrator::checkDrawMoveContour(), GNEDetector::checkDrawMoveContour(), GNEMultiEntryExitDetector::checkDrawMoveContour(), GNEParkingSpace::checkDrawMoveContour(), GNEPOI::checkDrawMoveContour(), GNEPoly::checkDrawMoveContour(), GNERerouter::checkDrawMoveContour(), GNERerouterSymbol::checkDrawMoveContour(), GNEStoppingPlace::checkDrawMoveContour(), GNETAZ::checkDrawMoveContour(), GNETractionSubstation::checkDrawMoveContour(), GNEVariableSpeedSign::checkDrawMoveContour(), GNEDemandElement::checkDrawMoveContour(), GNEConnection::checkDrawMoveContour(), GNECrossing::checkDrawMoveContour(), GNEEdge::checkDrawMoveContour(), GNEJunction::checkDrawMoveContour(), GNEAdditional::checkDrawOverContour(), GNEDemandElement::checkDrawOverContour(), GNEInternalLane::checkDrawOverContour(), GNEEdge::checkDrawSelectContour(), GNEViewNet::checkOverLockedElement(), and GNEViewNet::getToolTipID().
| GNEInternalLane * GNEViewNetHelper::ViewObjectsSelector::getInternalLaneFront | ( | ) | const |
get front internal lane or a pointer to nullptr
Definition at line 766 of file GNEViewNetHelper.cpp.
| GNEJunction * GNEViewNetHelper::ViewObjectsSelector::getJunctionFront | ( | ) | const |
get front junction or a pointer to nullptr
Definition at line 683 of file GNEViewNetHelper.cpp.
Referenced by GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNECrossingFrame::addCrossing(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEVehicleFrame::addVehicle(), GNEEdge::checkDrawDeleteContourSmall(), GNEJunction::checkDrawFromContour(), GNEJunction::checkDrawToContour(), GNETLSEditorFrame::editTLS(), and GNECreateEdgeFrame::processClick().
| const std::vector< GNEJunction * > & GNEViewNetHelper::ViewObjectsSelector::getJunctions | ( | ) | const |
get vector with junctions
Definition at line 848 of file GNEViewNetHelper.cpp.
Referenced by GNEContainerFrame::addContainer(), GNEPersonFrame::addPerson(), GNETLSEditorFrame::editTLS(), and GNEJunction::setAttribute().
| GNELane * GNEViewNetHelper::ViewObjectsSelector::getLaneFront | ( | ) | const |
get front lane or a pointer to nullptr
Definition at line 703 of file GNEViewNetHelper.cpp.
Referenced by GNEAdditionalFrame::addAdditional(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEStopFrame::addStop(), GNEWireFrame::addWire(), GNELane::checkDrawOverContour(), GNEAdditionalFrame::initBaseAdditionalObject(), GNEViewNet::onCmdAttachPOI(), GNEShapeFrame::processClickPOILanes(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonReleaseNetwork(), and GNEOverlappedInspection::showOverlappedInspection().
| GNELane * GNEViewNetHelper::ViewObjectsSelector::getLaneFrontNonLocked | ( | ) | const |
get front lane or a pointer to nullptr checking if is locked
Definition at line 713 of file GNEViewNetHelper.cpp.
Referenced by GNEConnectorFrame::handleLaneClick(), and GNEViewNet::processLeftButtonPressNetwork().
| const std::vector< GNELane * > & GNEViewNetHelper::ViewObjectsSelector::getLanes | ( | ) | const |
get lanes
Definition at line 730 of file GNEViewNetHelper.cpp.
Referenced by GNEContainerFrame::addContainer(), GNEPersonFrame::addPerson(), GNEConnectorFrame::handleLaneClick(), and GNEViewNet::onCmdAttachPOI().
| const std::vector< const GNEJunction * > & GNEViewNetHelper::ViewObjectsSelector::getMergingJunctions | ( | ) | const |
get merging junctions
Definition at line 878 of file GNEViewNetHelper.cpp.
Referenced by GNEJunction::setAttribute().
| GNENetworkElement * GNEViewNetHelper::ViewObjectsSelector::getNetworkElementFront | ( | ) | const |
get front network element or a pointer to nullptr
Definition at line 643 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::processLeftButtonPressNetwork().
| GNEPOI * GNEViewNetHelper::ViewObjectsSelector::getPOIFront | ( | ) | const |
get front POI or a pointer to nullptr
Definition at line 776 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::processLeftButtonPressNetwork().
| GNEPoly * GNEViewNetHelper::ViewObjectsSelector::getPolyFront | ( | ) | const |
get front Poly or a pointer to nullptr
Definition at line 786 of file GNEViewNetHelper.cpp.
Referenced by GNEDeleteFrame::removeGeometryPoint().
| GNETAZ * GNEViewNetHelper::ViewObjectsSelector::getTAZFront | ( | ) | const |
get front TAZ or a pointer to nullptr
Definition at line 796 of file GNEViewNetHelper.cpp.
Referenced by GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEVehicleFrame::addVehicle(), GNETAZFrame::processClick(), GNEDeleteFrame::removeGeometryPoint(), and GNETAZRelDataFrame::setTAZ().
| GNETAZRelData * GNEViewNetHelper::ViewObjectsSelector::getTAZRelDataElementFront | ( | ) | const |
get TAZ rel data element or a pointer to nullptr
Definition at line 826 of file GNEViewNetHelper.cpp.
| const std::vector< GNETAZ * > & GNEViewNetHelper::ViewObjectsSelector::getTAZs | ( | ) | const |
get vector with TAZs
Definition at line 860 of file GNEViewNetHelper.cpp.
Referenced by GNEContainerFrame::addContainer(), and GNEPersonFrame::addPerson().
| GNEWalkingArea * GNEViewNetHelper::ViewObjectsSelector::getWalkingAreaFront | ( | ) | const |
get front walkingArea or a pointer to nullptr
Definition at line 746 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated assignment operator.
|
private |
process GL objects
Definition at line 1410 of file GNEViewNetHelper.cpp.
|
private |
update additional elements
Definition at line 1254 of file GNEViewNetHelper.cpp.
References GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::additionals, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::attributeCarriers, and GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::GUIGlObjects.
|
private |
update demand elements
Definition at line 1322 of file GNEViewNetHelper.cpp.
References GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::attributeCarriers, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::demandElements, GNENet::getAttributeCarriers(), GNEAttributeCarrier::getNet(), GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::GUIGlObjects, GNEAttributeCarrier::isMarkedForDrawingFront(), and GNENetHelper::AttributeCarriers::retrieveDemandElement().
|
private |
update generic data elements
Definition at line 1343 of file GNEViewNetHelper.cpp.
References GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::attributeCarriers, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::edgeDatas, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::edgeRelDatas, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::genericDatas, GUIGlObject::getType(), GLO_EDGEDATA, GLO_EDGERELDATA, GLO_TAZRELDATA, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::GUIGlObjects, and GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::TAZRelDatas.
| void GNEViewNetHelper::ViewObjectsSelector::updateMergingJunctions | ( | ) |
update merging junctions
Definition at line 387 of file GNEViewNetHelper.cpp.
References GUIViewObjectsHandler::getMergingJunctions(), and gViewObjectsHandler.
Referenced by GNEViewNet::doPaintGL().
|
private |
update network elements
Definition at line 1113 of file GNEViewNetHelper.cpp.
References GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::attributeCarriers, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::connections, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::crossings, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::edges, GNENet::getAttributeCarriers(), GUIGlObject::getMicrosimID(), GNEAttributeCarrier::getNet(), GUIGlObject::getType(), GLO_CONNECTION, GLO_CROSSING, GLO_EDGE, GLO_JUNCTION, GLO_LANE, GLO_TLLOGIC, GLO_WALKINGAREA, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::GUIGlObjects, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::internalLanes, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::junctions, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::lanes, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::networkElements, GNENetHelper::AttributeCarriers::retrieveJunction(), and GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::walkingAreas.
| void GNEViewNetHelper::ViewObjectsSelector::updateObjects | ( | ) |
update objects (using gViewObjectsHandler)
Definition at line 377 of file GNEViewNetHelper.cpp.
References GUIViewObjectsHandler::getNumberOfSelectedObjects(), GUIViewObjectsHandler::getSelectedObjects(), and gViewObjectsHandler.
Referenced by GNEViewNet::updateObjectsInPosition(), and GNEViewNet::updateObjectsInShape().
|
private |
update shape elements
Definition at line 1275 of file GNEViewNetHelper.cpp.
References GUIGlObject::getType(), GLO_JPS_OBSTACLE, GLO_JPS_WALKABLEAREA, GLO_POI, GLO_POLYGON, GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::POIs, and GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::polys.
|
private |
update TAZ elements
Definition at line 1304 of file GNEViewNetHelper.cpp.
References GUIGlObject::getType(), GLO_TAZ, TAZ, and GNEViewNetHelper::ViewObjectsSelector::ViewObjectsContainer::TAZs.
|
protected |
merging junctions
Definition at line 572 of file GNEViewNetHelper.h.
|
protected |
pointer to viewNet
Definition at line 566 of file GNEViewNetHelper.h.
|
protected |
objects container with selected objects
Definition at line 569 of file GNEViewNetHelper.h.