Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEShapeFrame.h>
Data Structures | |
class | GEOPOICreator |
Public Member Functions | |
void | focusUpperElement () |
focus upper element of frame | |
virtual void | frameWidthUpdated () |
function called after setting new width in current frame (can be reimplemented in frame children) | |
FXVerticalFrame * | getContentFrame () const |
get vertical frame that holds all widgets of frame | |
GNEDrawingShape * | getDrawingShapeModule () const |
get drawing mode editor | |
FXFont * | getFrameHeaderFont () const |
get font of the header's frame | |
FXLabel * | getFrameHeaderLabel () const |
get the label for the frame's header | |
int | getScrollBarWidth () const |
get scrollBar width (zero if is hidden) | |
GNEViewNet * | getViewNet () const |
get view net | |
GNEShapeFrame (GNEViewParent *viewParent, GNEViewNet *viewNet) | |
Constructor. | |
virtual void | hide () |
hide Frame | |
void | openHelpAttributesDialog (const GNEAttributeCarrier *AC) const |
Open help attributes dialog. | |
bool | processClick (const Position &clickedPosition, const GNEViewNetHelper::ViewObjectsSelector &viewObjects, bool &updateTemporalShape) |
process click over Viewnet | |
void | setFrameWidth (const int newWidth) |
set width of GNEFrame | |
void | show () |
show Frame | |
virtual void | updateFrameAfterUndoRedo () |
function called after undo/redo in the current frame (can be reimplemented in frame children) | |
~GNEShapeFrame () | |
Destructor. | |
functions called by moduls that can be reimplemented in frame children (note: reimplement as protected, just for safety) | |
virtual void | demandElementSelected () |
selected demand element in DemandElementSelector | |
virtual void | attributeUpdated (SumoXMLAttr attribute) |
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/... | |
virtual void | attributesEditorExtendedDialogOpened () |
open GNEAttributesCreator extended dialog | |
virtual void | selectedOverlappedElement (GNEAttributeCarrier *AC) |
open GNEAttributesCreator extended dialog | |
virtual bool | createPath (const bool useLastRoute) |
create path between two elements | |
Static Public Member Functions | |
static std::string | getIdsSelected (const FXList *list) |
get list of selecte id's in string format | |
Protected Member Functions | |
void | addShape () |
add shape (using base shape) | |
void | createBaseShapeObject (const SumoXMLTag shapeTag) |
const std::vector< std::string > & | getPredefinedTagsMML () const |
get predefinedTagsMML | |
bool | processClickPOI (SumoXMLTag POITag, const Position &clickedPosition, const GNEViewNetHelper::ViewObjectsSelector &viewObjects) |
process click for POIs over view | |
bool | processClickPOIGeo (const Position &clickedPosition, const GNEViewNetHelper::ViewObjectsSelector &viewObjects) |
process click for POIGeo | |
bool | processClickPOILanes (const GNEViewNetHelper::ViewObjectsSelector &viewObjects) |
process click for POILanes | |
bool | processClickPolygons (const Position &clickedPosition, bool &updateTemporalShape) |
process click for Polygons | |
bool | shapeDrawed () |
build a shaped element using the drawed shape return true if was successfully created | |
void | tagSelected () |
Tag selected in GNETagSelector. | |
Static Protected Member Functions | |
static FXLabel * | buildRainbow (FXComposite *parent) |
build rainbow in frame modul | |
Protected Attributes | |
CommonXMLStructure::SumoBaseObject * | myBaseShape |
SumoBaseObject used for create shape. | |
FXVerticalFrame * | myContentFrame = nullptr |
Vertical frame that holds all widgets of frame. | |
FXHorizontalFrame * | myHeaderFrame = nullptr |
fame for header elements | |
FXHorizontalFrame * | myHeaderLeftFrame = nullptr |
fame for left header elements | |
FXHorizontalFrame * | myHeaderRightFrame = nullptr |
fame for right header elements | |
GNEViewNet * | myViewNet = nullptr |
FOX need this. | |
Private Attributes | |
GNEDrawingShape * | myDrawingShape |
Drawing shape. | |
FXLabel * | myFrameHeaderLabel = nullptr |
the label for the frame's header | |
GEOPOICreator * | myGEOPOICreator |
GEOPOICreator. | |
GNENeteditAttributes * | myNeteditAttributes |
Netedit parameter. | |
std::vector< std::string > | myPredefinedTagsMML |
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached) | |
FXScrollWindow * | myScrollWindowsContents = nullptr |
scroll windows that holds the content frame | |
GNEAttributesCreator * | myShapeAttributes |
shape internal attributes | |
GNETagSelector * | myShapeTagSelector |
shape tag selector | |
Static Private Attributes | |
static FXFont * | myFrameHeaderFont = nullptr |
static Font for the Header (it's common for all headers, then create only one time) | |
The Widget for setting internal attributes of shape elements
Definition at line 37 of file GNEShapeFrame.h.
GNEShapeFrame::GNEShapeFrame | ( | GNEViewParent * | viewParent, |
GNEViewNet * | viewNet | ||
) |
Constructor.
viewParent GNEViewParent in which this GNEFrame is placed
viewNet viewNet that uses this GNEFrame
create GEOPOICreator
Definition at line 228 of file GNEShapeFrame.cpp.
References myDrawingShape, myGEOPOICreator, myNeteditAttributes, myShapeAttributes, myShapeTagSelector, GNETagProperties::SHAPE, and SUMO_TAG_POLY.
GNEShapeFrame::~GNEShapeFrame | ( | ) |
|
protected |
add shape (using base shape)
Definition at line 404 of file GNEShapeFrame.cpp.
References GNEViewParent::getGNEAppWindows(), GNEViewNet::getNet(), GNEViewNet::getViewParent(), GNEApplicationWindow::isUndoRedoAllowed(), myBaseShape, GNEFrame::myViewNet, and AdditionalHandler::parseSumoBaseObject().
Referenced by processClickPOI(), processClickPOIGeo(), processClickPOILanes(), and shapeDrawed().
|
virtualinherited |
open GNEAttributesCreator extended dialog
Reimplemented in GNETypeFrame.
Definition at line 292 of file GNEFrame.cpp.
|
virtualinherited |
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/...
Reimplemented in GNEInspectorFrame, GNEMeanDataFrame, GNERouteDistributionFrame, GNETypeDistributionFrame, and GNETypeFrame.
Definition at line 286 of file GNEFrame.cpp.
|
staticprotectedinherited |
build rainbow in frame modul
Definition at line 317 of file GNEFrame.cpp.
References MFXUtils::getFXColor(), GNEViewNetHelper::getRainbowScaledColors(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabel, GUIDesignLabelThick, and TL.
Referenced by GNEGenericDataFrame::AttributeSelector::AttributeSelector(), and GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic().
|
protected |
Definition at line 318 of file GNEShapeFrame.cpp.
References myBaseShape, and CommonXMLStructure::SumoBaseObject::setTag().
Referenced by processClickPOI(), processClickPOIGeo(), processClickPOILanes(), and shapeDrawed().
|
virtualinherited |
create path between two elements
Reimplemented in GNEEdgeRelDataFrame, GNEGenericDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNEAdditionalFrame, and GNEWireFrame.
Definition at line 304 of file GNEFrame.cpp.
Referenced by GNEPlanCreator::addRoute(), GNEPlanCreator::addSingleEdge(), GNEPlanCreator::addSingleStoppingPlace(), GNEPathCreator::createPath(), GNEConsecutiveSelector::onCmdCreatePath(), GNEPlanCreator::onCmdCreatePath(), and GNEPlanCreator::onCmdUseLastRoute().
|
virtualinherited |
selected demand element in DemandElementSelector
Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, and GNEVehicleFrame.
Definition at line 273 of file GNEFrame.cpp.
Referenced by GNEDemandElementSelector::onCmdSelectDemandElement(), and GNEDemandElementSelector::setDemandElement().
|
inherited |
focus upper element of frame
Definition at line 109 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEViewNet::hotkeyFocusFrame(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
virtualinherited |
function called after setting new width in current frame (can be reimplemented in frame children)
Reimplemented in GNETLSEditorFrame.
Definition at line 258 of file GNEFrame.cpp.
Referenced by GNEFrame::setFrameWidth().
|
inherited |
get vertical frame that holds all widgets of frame
Definition at line 156 of file GNEFrame.cpp.
References GNEFrame::myContentFrame.
GNEDrawingShape * GNEShapeFrame::getDrawingShapeModule | ( | ) | const |
get drawing mode editor
Definition at line 312 of file GNEShapeFrame.cpp.
References myDrawingShape.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::drawTemporalDrawingShape(), GNEViewNet::hotkeyEnter(), GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEViewNet::onRightBtnPress(), GNEViewNet::onRightBtnRelease(), and GNEViewNet::processMoveMouseNetwork().
|
inherited |
get font of the header's frame
Definition at line 168 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderFont.
|
inherited |
get the label for the frame's header
Definition at line 162 of file GNEFrame.cpp.
References GNEFrame::myFrameHeaderLabel.
Referenced by GNEInspectorFrame::refreshInspection().
|
static |
get list of selecte id's in string format
Definition at line 296 of file GNEShapeFrame.cpp.
|
protectedinherited |
get predefinedTagsMML
Definition at line 311 of file GNEFrame.cpp.
References GNEFrame::myPredefinedTagsMML.
Referenced by GNEContainerFrame::buildContainer(), GNEPersonFrame::buildPerson(), GNEVehicleFrame::buildVehicleOverRoute(), and GNEVehicleFrame::createPath().
|
inherited |
get scrollBar width (zero if is hidden)
Definition at line 174 of file GNEFrame.cpp.
References GNEFrame::myScrollWindowsContents.
Referenced by MFXGroupBoxModule::onCmdExtendButton(), and GNETLSTable::recalcTableWidth().
|
inherited |
get view net
Definition at line 150 of file GNEFrame.cpp.
References GNEFrame::myViewNet.
Referenced by GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPlanCreator::abortPathCreation(), GNEPathCreator::addEdge(), GNEPlanCreator::addFromToStoppingPlace(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), GNEPlanCreator::addSingleEdge(), GNEPathCreator::addTAZ(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNETypeFrame::attributesEditorExtendedDialogOpened(), GNETLSTable::Cell::Cell(), GNEPathCreator::clearEdgeColors(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNENetworkSelector::clearSelection(), GNETLSTable::Column::Column(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEInternalLane::drawGL(), GNENeteditAttributes::drawLaneReference(), GNEPlanCreator::drawTemporalRoute(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEAttributesCreatorRow::generateID(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEInternalLane::getPopUpMenu(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEAttributesCreatorRow::isValidID(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEMultipleParametersDialog::onCmdAccept(), GNEElementTree::onCmdCenterItem(), GNEElementTree::onCmdDeleteItem(), GNEFrameAttributeModules::ParametersEditor::onCmdEditParameters(), MFXGroupBoxModule::onCmdExtendButton(), GNEElementTree::onCmdInspectItem(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEAttributesCreatorRow::onCmdOpenAllowDialog(), GNEMatchGenericDataAttribute::onCmdProcessString(), GNEMultipleParametersDialog::onCmdReset(), MFXGroupBoxModule::onCmdResetButton(), GNEMatchGenericDataAttribute::onCmdSelectAttribute(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNEElementSet::onCmdSelectElementSet(), GNEMatchGenericDataAttribute::onCmdSelectTag(), GNEMatchGenericDataAttribute::onCmdSetFromTAZ(), GNEMatchGenericDataAttribute::onCmdSetToTAZ(), GNENetworkSelector::onCmdUseSelectedElements(), MFXGroupBoxModule::onUpdResetButton(), GNEPathCreator::onUpdUseLastRoute(), GNEPlanCreator::onUpdUseLastRoute(), GNETLSTable::recalcTableWidth(), GNEPlanCreator::recalculatePath(), GNEDemandElementSelector::refreshDemandElementSelector(), GNEAttributesCreator::refreshRows(), GNESelectorParent::refreshSelectorParentModule(), GNEConsecutiveSelector::removeLastElement(), GNEPathCreator::removeLastElement(), GNETLSTable::Row::Row(), GNEProhibitionFrame::Selection::Selection(), GNETagSelector::setCurrentTagType(), GNEDrawingShape::setDeleteLastCreatedPoint(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNETypeFrame::show(), GNEElementTree::showAttributeCarrierParents(), GNEDemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNEOverlappedInspection::showOverlappedInspection(), GNEAttributesCreator::showWarningMessage(), GNETAZFrame::TAZParameters::TAZParameters(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNENetworkSelector::toggleSelectedElement(), GNEPathCreator::updateEdgeColors(), GNEPathCreator::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), and GNEMatchGenericDataAttribute::updateTAZComboBox().
|
virtualinherited |
hide Frame
Reimplemented in GNEDeleteFrame, GNEInspectorFrame, GNEMoveFrame, GNESelectorFrame, GNEGenericDataFrame, GNEMeanDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNECreateEdgeFrame, GNECrossingFrame, GNEProhibitionFrame, and GNETAZFrame.
Definition at line 124 of file GNEFrame.cpp.
References GNEViewNet::getViewParent(), GNEViewParent::hideFramesArea(), and GNEFrame::myViewNet.
Referenced by GNEDeleteFrame::hide(), GNEInspectorFrame::hide(), GNEMoveFrame::hide(), GNESelectorFrame::hide(), GNEGenericDataFrame::hide(), GNEMeanDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNECreateEdgeFrame::hide(), GNECrossingFrame::hide(), GNEProhibitionFrame::hide(), GNETAZFrame::hide(), GNEAdditionalFrame::E2MultilaneLegendModule::hideE2MultilaneLegend(), GNEShapeFrame::GEOPOICreator::hideGEOPOICreatorModule(), GNEStopFrame::HelpCreation::hideHelpCreation(), GNEAdditionalFrame::HelpCreationModule::hideHelpCreationModule(), GNETLSEditorFrame::TLSAttributes::hideTLSAttributes(), GNETLSEditorFrame::TLSDefinition::hideTLSDefinition(), GNETLSEditorFrame::TLSFile::hideTLSFile(), GNETLSEditorFrame::TLSPhases::hideTLSPhases(), GNETypeFrame::TypeEditor::hideTypeEditorModule(), and GNEAdditionalFrame::HelpCreationModule::showHelpCreationModule().
|
inherited |
Open help attributes dialog.
Definition at line 184 of file GNEFrame.cpp.
References ACCEPT, GUIDesigns::buildFXButton(), GUIIconSubSys::getIcon(), GNETagProperties::getNumberOfAttributes(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::getTagStr(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBoxResizable, GUIDesignHorizontalSeparator, GUIDesignTableNotEditable, MAX2(), MID_TABLE, MODEINSPECT, GNEFrame::myScrollWindowsContents, TL, TLF, toString(), and WRITE_DEBUG.
Referenced by GNEFrameAttributeModules::AttributesEditor::onCmdAttributesEditorHelp(), and GNEAttributesCreator::onCmdHelp().
bool GNEShapeFrame::processClick | ( | const Position & | clickedPosition, |
const GNEViewNetHelper::ViewObjectsSelector & | viewObjects, | ||
bool & | updateTemporalShape | ||
) |
process click over Viewnet
[in] | clickedPosition | clicked position over ViewNet |
[in] | viewObjects | objects under cursor after click over view |
Definition at line 267 of file GNEShapeFrame.cpp.
References GNETagSelector::getCurrentTemplateAC(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNE_TAG_POIGEO, GNE_TAG_POILANE, myShapeTagSelector, GNEFrame::myViewNet, processClickPOI(), processClickPOIGeo(), processClickPOILanes(), processClickPolygons(), GNEViewNet::setStatusBarText(), SUMO_TAG_POI, SUMO_TAG_POLY, and TL.
Referenced by GNEViewNet::processLeftButtonPressNetwork().
|
protected |
process click for POIs over view
Definition at line 431 of file GNEShapeFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), addShape(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEAttributesCreator::areValuesValid(), createBaseShapeObject(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNENet::getAttributeCarriers(), GNEAttributesCreator::getAttributesAndValues(), GNEViewNetHelper::ViewObjectsSelector::getLaneFront(), GNEViewNet::getNet(), GNENeteditAttributes::getNeteditAttributesAndValues(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), myBaseShape, myNeteditAttributes, myShapeAttributes, GNEFrame::myViewNet, GNEAttributesCreator::refreshAttributesCreator(), GNEAttributesCreator::showWarningMessage(), SUMO_ATTR_GEO, SUMO_ATTR_ID, SUMO_ATTR_X, SUMO_ATTR_Y, Position::x(), and Position::y().
Referenced by processClick().
|
protected |
process click for POIGeo
Definition at line 462 of file GNEShapeFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), addShape(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEAttributesCreator::areValuesValid(), GeoConvHelper::cartesian2geo(), createBaseShapeObject(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNENet::getAttributeCarriers(), GNEAttributesCreator::getAttributesAndValues(), GeoConvHelper::getFinal(), GNEViewNetHelper::ViewObjectsSelector::getLaneFront(), GNEViewNet::getNet(), GNENeteditAttributes::getNeteditAttributesAndValues(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), myBaseShape, myNeteditAttributes, myShapeAttributes, GNEFrame::myViewNet, GNEAttributesCreator::refreshAttributesCreator(), GNEAttributesCreator::showWarningMessage(), SUMO_ATTR_GEO, SUMO_ATTR_ID, SUMO_ATTR_LAT, SUMO_ATTR_LON, SUMO_TAG_POI, Position::x(), and Position::y().
Referenced by processClick().
|
protected |
process click for POILanes
Definition at line 496 of file GNEShapeFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), addShape(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEAttributesCreator::areValuesValid(), createBaseShapeObject(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNENet::getAttributeCarriers(), GNEAttributesCreator::getAttributesAndValues(), GNEAttributeCarrier::getID(), GNEViewNetHelper::ViewObjectsSelector::getLaneFront(), GNELane::getLaneShape(), GNELane::getLengthGeometryFactor(), GNEViewNet::getNet(), GNENeteditAttributes::getNeteditAttributesAndValues(), GUISUMOAbstractView::getPositionInformation(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), myBaseShape, myNeteditAttributes, myShapeAttributes, GNEFrame::myViewNet, PositionVector::nearest_offset_to_point2D(), GNEAttributesCreator::refreshAttributesCreator(), GNEAttributesCreator::showWarningMessage(), GUISUMOAbstractView::snapToActiveGrid(), SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_TAG_POI, TL, and WRITE_WARNING.
Referenced by processClick().
|
protected |
process click for Polygons
Definition at line 413 of file GNEShapeFrame.cpp.
References GNEDrawingShape::addNewPoint(), GNEDrawingShape::getDeleteLastCreatedPoint(), GNEDrawingShape::isDrawing(), myDrawingShape, and GNEDrawingShape::removeLastPoint().
Referenced by processClick().
|
virtualinherited |
open GNEAttributesCreator extended dialog
Reimplemented in GNEInspectorFrame, and GNETLSEditorFrame.
Definition at line 298 of file GNEFrame.cpp.
Referenced by GNEOverlappedInspection::onCmdListItemSelected(), GNEOverlappedInspection::onCmdNextElement(), and GNEOverlappedInspection::onCmdPreviousElement().
|
inherited |
set width of GNEFrame
Definition at line 133 of file GNEFrame.cpp.
References GNEFrame::frameWidthUpdated(), GUIDesignFrameAreaMargin, GNEFrame::myContentFrame, and GNEFrame::myScrollWindowsContents.
Referenced by GNEInspectorFrame::refreshInspection().
|
protectedvirtual |
build a shaped element using the drawed shape return true if was successfully created
Reimplemented from GNEFrame.
Definition at line 332 of file GNEShapeFrame.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addPositionVectorAttribute(), addShape(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEAttributesCreator::areValuesValid(), PositionVector::closePolygon(), createBaseShapeObject(), GNENetHelper::AttributeCarriers::generateAdditionalID(), GNENet::getAttributeCarriers(), GNEAttributesCreator::getAttributesAndValues(), CommonXMLStructure::SumoBaseObject::getBoolAttribute(), GNETagSelector::getCurrentTemplateAC(), GNEViewNet::getNet(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEDrawingShape::getTemporalShape(), GNE_ATTR_CLOSE_SHAPE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, CommonXMLStructure::SumoBaseObject::hasBoolAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), myBaseShape, myDrawingShape, myNeteditAttributes, myShapeAttributes, myShapeTagSelector, GNEFrame::myViewNet, GNEAttributesCreator::refreshAttributesCreator(), GNEAttributesCreator::showWarningMessage(), SUMO_ATTR_GEO, SUMO_ATTR_ID, SUMO_ATTR_SHAPE, TL, and WRITE_WARNING.
|
virtual |
show Frame
Reimplemented from GNEFrame.
Definition at line 258 of file GNEShapeFrame.cpp.
References myShapeTagSelector, GNETagSelector::refreshTagSelector(), and GNEFrame::show().
Referenced by GNEShapeFrame::GEOPOICreator::showGEOPOICreatorModule(), and GNEViewNet::updateNetworkModeSpecificControls().
|
protectedvirtual |
Tag selected in GNETagSelector.
Reimplemented from GNEFrame.
Definition at line 373 of file GNEShapeFrame.cpp.
References GNETagSelector::getCurrentTemplateAC(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNE_TAG_POIGEO, GNEAttributesCreator::hideAttributesCreatorModule(), GNEDrawingShape::hideDrawingShape(), GNEShapeFrame::GEOPOICreator::hideGEOPOICreatorModule(), GNENeteditAttributes::hideNeteditAttributesModule(), myDrawingShape, myGEOPOICreator, myNeteditAttributes, myShapeAttributes, myShapeTagSelector, GNEAttributesCreator::showAttributesCreatorModule(), GNEDrawingShape::showDrawingShape(), GNEShapeFrame::GEOPOICreator::showGEOPOICreatorModule(), GNENeteditAttributes::showNeteditAttributesModule(), and SUMO_TAG_POLY.
|
virtualinherited |
function called after undo/redo in the current frame (can be reimplemented in frame children)
Reimplemented in GNEInspectorFrame, GNESelectorFrame, GNEGenericDataFrame, and GNEMeanDataFrame.
Definition at line 252 of file GNEFrame.cpp.
Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().
|
protected |
SumoBaseObject used for create shape.
Definition at line 127 of file GNEShapeFrame.h.
Referenced by addShape(), createBaseShapeObject(), processClickPOI(), processClickPOIGeo(), processClickPOILanes(), shapeDrawed(), and ~GNEShapeFrame().
|
protectedinherited |
Vertical frame that holds all widgets of frame.
Definition at line 120 of file GNEFrame.h.
Referenced by GNESelectorFrame::getContentFrame(), GNEFrame::getContentFrame(), GNEFrame::GNEFrame(), and GNEFrame::setFrameWidth().
|
private |
Drawing shape.
Definition at line 167 of file GNEShapeFrame.h.
Referenced by getDrawingShapeModule(), GNEShapeFrame(), processClickPolygons(), shapeDrawed(), and tagSelected().
|
staticprivateinherited |
static Font for the Header (it's common for all headers, then create only one time)
Definition at line 142 of file GNEFrame.h.
Referenced by GNEFrame::getFrameHeaderFont(), GNEFrame::GNEFrame(), and GNEFrame::~GNEFrame().
|
privateinherited |
the label for the frame's header
Definition at line 145 of file GNEFrame.h.
Referenced by GNEFrame::focusUpperElement(), GNEFrame::getFrameHeaderLabel(), and GNEFrame::GNEFrame().
|
private |
Definition at line 170 of file GNEShapeFrame.h.
Referenced by GNEShapeFrame(), and tagSelected().
|
protectedinherited |
fame for header elements
Definition at line 123 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
protectedinherited |
fame for left header elements
Definition at line 126 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame::GNEInspectorFrame(), GNEInspectorFrame::inspectChild(), GNEInspectorFrame::inspectFromDeleteFrame(), and GNEInspectorFrame::refreshInspection().
|
protectedinherited |
fame for right header elements
Definition at line 129 of file GNEFrame.h.
Referenced by GNEFrame::GNEFrame().
|
private |
Netedit parameter.
Definition at line 164 of file GNEShapeFrame.h.
Referenced by GNEShapeFrame(), processClickPOI(), processClickPOIGeo(), processClickPOILanes(), shapeDrawed(), and tagSelected().
|
privateinherited |
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)
Definition at line 148 of file GNEFrame.h.
Referenced by GNEFrame::getPredefinedTagsMML(), and GNEFrame::GNEFrame().
|
privateinherited |
scroll windows that holds the content frame
Definition at line 139 of file GNEFrame.h.
Referenced by GNEFrame::getScrollBarWidth(), GNEFrame::GNEFrame(), GNEFrame::openHelpAttributesDialog(), and GNEFrame::setFrameWidth().
|
private |
shape internal attributes
Definition at line 161 of file GNEShapeFrame.h.
Referenced by GNEShapeFrame(), processClickPOI(), processClickPOIGeo(), processClickPOILanes(), shapeDrawed(), and tagSelected().
|
private |
shape tag selector
Definition at line 158 of file GNEShapeFrame.h.
Referenced by GNEShapeFrame(), processClick(), shapeDrawed(), show(), and tagSelected().
|
protectedinherited |
FOX need this.
View Net
Definition at line 117 of file GNEFrame.h.
Referenced by GNEAdditionalFrame::addAdditional(), GNECreateEdgeFrame::addBikelane(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNECrossingFrame::addCrossing(), GNEEdgeDataFrame::addEdgeData(), GNERouteFrame::addEdgeRoute(), GNETAZFrame::addOrRemoveTAZMember(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), addShape(), GNECreateEdgeFrame::addSidewalk(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), GNEAdditionalFrame::createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNECreateEdgeFrame::disablePedestrians(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNETLSEditorFrame::editTLS(), GNESelectorFrame::getMatches(), GNEFrame::getViewNet(), GNETypeFrame::GNETypeFrame(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::hide(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectMultisection(), GNEInspectorFrame::inspectSingleElement(), GNEProhibitionFrame::Legend::Legend(), GNEInspectorFrame::onCmdGoBack(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNETLSEditorFrame::parseTLSPrograms(), processClick(), GNECreateEdgeFrame::processClick(), processClickPOI(), processClickPOIGeo(), processClickPOILanes(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEInspectorFrame::refreshInspection(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEDeleteFrame::selectedACsToDelete(), GNEInspectorFrame::selectedOverlappedElement(), shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEFrame::show(), GNEAdditionalFrame::show(), GNEStopFrame::tagSelected(), and GNEAdditionalFrame::tagSelected().