SUMO - Simulation of Urban MObility
GNETAZFrame Class Reference

#include <GNETAZFrame.h>

Inheritance diagram for GNETAZFrame:
Inheritance graph
Collaboration diagram for GNETAZFrame:
Collaboration graph

Data Structures

class  TAZChildDefaultParameters
 
class  TAZCommonStatistics
 
class  TAZCurrent
 
class  TAZEdgesGraphic
 
class  TAZParameters
 
class  TAZSaveChanges
 
class  TAZSelectionStatistics
 

Public Member Functions

void focusUpperElement ()
 focus upper element of frame More...
 
DrawingShapegetDrawingShapeModul () const
 get drawing mode modul More...
 
FXFont * getFrameHeaderFont () const
 get font of the header's frame More...
 
FXLabel * getFrameHeaderLabel () const
 get the label for the frame's header More...
 
TAZCurrentgetTAZCurrentModul () const
 get Current TAZ modul More...
 
TAZSaveChangesgetTAZSaveChangesModul () const
 get TAZ Save Changes modul More...
 
TAZSelectionStatisticsgetTAZSelectionStatisticsModul () const
 get TAZ Selection Statistics modul More...
 
GNEViewNetgetViewNet () const
 get view net More...
 
 GNETAZFrame (FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
 Constructor. More...
 
void hide ()
 hide TAZ frame More...
 
bool processClick (const Position &clickedPosition, const GNEViewNet::ObjectsUnderCursor &objectsUnderCursor)
 process click over Viewnet More...
 
void processEdgeSelection (const std::vector< GNEEdge *> &edges)
 process selection of edges in view net More...
 
void setFrameWidth (int newWidth)
 set width of GNEFrame More...
 
virtual void show ()
 show Frame More...
 
 ~GNETAZFrame ()
 Destructor. More...
 

Protected Member Functions

bool addOrRemoveTAZMember (GNEEdge *edge)
 add or remove a TAZSource and a TAZSink, or remove it if edge is in the list of TAZ Childs More...
 
bool buildShape ()
 build a shaped element using the drawed shape return true if was sucesfully created More...
 
virtual void disableModuls ()
 disable moduls if element selected in itemSelector isn't valid (can be reimplemented in frame childs) More...
 
void dropTAZMembers ()
 drop all TAZSources and TAZ Sinks of current TAZ More...
 
virtual void enableModuls (const GNEAttributeCarrier::TagProperties &tagProperties)
 enable moduls depending of item selected in ItemSelector (can be reimplemented in frame childs) More...
 
const RGBColorgetEdgeCandidateColor () const
 get edge candidate color More...
 
const RGBColorgetEdgeCandidateSelectedColor () const
 get selected color More...
 
void openHelpAttributesDialog (const GNEAttributeCarrier::TagProperties &tagProperties) const
 Open help attributes dialog. More...
 

Protected Attributes

FXVerticalFrame * myContentFrame
 Vertical frame that holds all widgets of frame. More...
 
FXHorizontalFrame * myHeaderFrame
 fame for header elements More...
 
FXHorizontalFrame * myHeaderLeftFrame
 fame for left header elements More...
 
FXHorizontalFrame * myHeaderRightFrame
 fame for right header elements More...
 
GNEViewNetmyViewNet
 View Net for changes. More...
 

Private Attributes

DrawingShapemyDrawingShape
 Drawing shape. More...
 
NeteditAttributes * myNeteditAttributes
 Netedit parameter. More...
 
TAZChildDefaultParametersmyTAZChildDefaultParameters
 TAZ child defaults parameters. More...
 
TAZCommonStatisticsmyTAZCommonStatistics
 TAZ Edges common parameters. More...
 
TAZCurrentmyTAZCurrent
 current TAZ More...
 
TAZEdgesGraphicmyTAZEdgesGraphic
 TAZ Edges Graphic. More...
 
TAZParametersmyTAZParameters
 TAZ parameters. More...
 
TAZSaveChangesmyTAZSaveChanges
 save TAZ Edges More...
 
TAZSelectionStatisticsmyTAZSelectionStatistics
 TAZ Edges selection parameters. More...
 

Detailed Description

The Widget for setting internal attributes of TAZ elements

Definition at line 34 of file GNETAZFrame.h.

Constructor & Destructor Documentation

◆ GNETAZFrame()

GNETAZFrame::GNETAZFrame ( FXHorizontalFrame *  horizontalFrameParent,
GNEViewNet viewNet 
)

Constructor.

parent FXHorizontalFrame in which this GNEFrame is placed viewNet viewNet that uses this GNEFrame

create Netedit parameter

Definition at line 1319 of file GNETAZFrame.cpp.

References myDrawingShape, myNeteditAttributes, myTAZChildDefaultParameters, myTAZCommonStatistics, myTAZCurrent, myTAZEdgesGraphic, myTAZParameters, myTAZSaveChanges, myTAZSelectionStatistics, and GNETAZFrame::TAZCurrent::setTAZ().

◆ ~GNETAZFrame()

GNETAZFrame::~GNETAZFrame ( )

Destructor.

Definition at line 1354 of file GNETAZFrame.cpp.

Member Function Documentation

◆ addOrRemoveTAZMember()

◆ buildShape()

◆ disableModuls()

void GNEFrame::disableModuls ( )
protectedvirtualinherited

disable moduls if element selected in itemSelector isn't valid (can be reimplemented in frame childs)

Reimplemented in GNEAdditionalFrame, and GNEPolygonFrame.

Definition at line 1751 of file GNEFrame.cpp.

Referenced by GNEFrame::GNEFrame(), GNEFrame::ItemSelector::onCmdSelectItem(), and GNEFrame::ItemSelector::setCurrentTypeTag().

◆ dropTAZMembers()

◆ enableModuls()

void GNEFrame::enableModuls ( const GNEAttributeCarrier::TagProperties tagProperties)
protectedvirtualinherited

enable moduls depending of item selected in ItemSelector (can be reimplemented in frame childs)

Reimplemented in GNEAdditionalFrame, and GNEPolygonFrame.

Definition at line 1745 of file GNEFrame.cpp.

Referenced by GNEFrame::GNEFrame(), GNEFrame::ItemSelector::onCmdSelectItem(), and GNEFrame::ItemSelector::setCurrentTypeTag().

◆ focusUpperElement()

void GNEFrame::focusUpperElement ( )
inherited

◆ getDrawingShapeModul()

GNETAZFrame::DrawingShape * GNETAZFrame::getDrawingShapeModul ( ) const

◆ getEdgeCandidateColor()

const RGBColor & GNEFrame::getEdgeCandidateColor ( ) const
protectedinherited

◆ getEdgeCandidateSelectedColor()

const RGBColor & GNEFrame::getEdgeCandidateSelectedColor ( ) const
protectedinherited

◆ getFrameHeaderFont()

FXFont * GNEFrame::getFrameHeaderFont ( ) const
inherited

get font of the header's frame

Definition at line 1732 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderFont.

◆ getFrameHeaderLabel()

FXLabel * GNEFrame::getFrameHeaderLabel ( ) const
inherited

get the label for the frame's header

Definition at line 1726 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by GNEProhibitionFrame::GNEProhibitionFrame(), and GNEInspectorFrame::inspectMultisection().

◆ getTAZCurrentModul()

◆ getTAZSaveChangesModul()

GNETAZFrame::TAZSaveChanges * GNETAZFrame::getTAZSaveChangesModul ( ) const

get TAZ Save Changes modul

Definition at line 1470 of file GNETAZFrame.cpp.

References myTAZSaveChanges.

Referenced by GNEViewNet::hotkeyEnter().

◆ getTAZSelectionStatisticsModul()

GNETAZFrame::TAZSelectionStatistics * GNETAZFrame::getTAZSelectionStatisticsModul ( ) const

get TAZ Selection Statistics modul

Definition at line 1464 of file GNETAZFrame.cpp.

References myTAZSelectionStatistics.

Referenced by GNEApplicationWindow::onCmdAbort().

◆ getViewNet()

GNEViewNet * GNEFrame::getViewNet ( ) const
inherited

get view net

Definition at line 1720 of file GNEFrame.cpp.

References GNEFrame::myViewNet.

Referenced by GNEAdditionalFrame::SelectorLaneParents::abortConsecutiveLaneSelector(), GNEFrame::DrawingShape::abortDrawing(), GNEAdditionalFrame::SelectorLaneParents::addSelectedLane(), GNEFrame::ACHierarchy::createPopUpMenu(), GNECrossingFrame::EdgesSelector::enableEdgeSelector(), GNEAdditionalFrame::SelectorEdgeChilds::getEdgeIdsSelected(), GNEAdditionalFrame::SelectorLaneChilds::getLaneIdsSelected(), GNEConnectorFrame::ConnectionModifications::onCmdCancelModifications(), GNEFrame::ACHierarchy::onCmdCenterItem(), GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections(), GNEInspectorFrame::TemplateEditor::onCmdCopyTemplate(), GNEFrame::ACHierarchy::onCmdDeleteItem(), GNEFrame::GenericParametersEditor::onCmdEditGenericParameter(), GNEFrame::ACHierarchy::onCmdInspectItem(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNEInspectorFrame::OverlappedInspection::onCmdNextElement(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdOpenAttributeDialog(), GNEInspectorFrame::OverlappedInspection::onCmdPreviousElement(), GNEConnectorFrame::ConnectionOperations::onCmdResetSelectedConnections(), GNEConnectorFrame::ConnectionModifications::onCmdSaveModifications(), GNESelectorFrame::VisualScaling::onCmdScaleSelection(), GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadEnds(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNEConnectorFrame::ConnectionOperations::onCmdSelectPass(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), GNEFrame::GenericParametersEditor::onCmdSetGenericParameter(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GNEInspectorFrame::NeteditAttributesEditor::onCmdSetNeteditAttribute(), GNEAdditionalFrame::SelectorAdditionalParent::refreshSelectorAdditionalParentModul(), GNEDeleteFrame::removeAttributeCarrier(), GNECrossingFrame::EdgesSelector::restoreEdgeColors(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEAdditionalFrame::SelectorEdgeChilds::showSelectorEdgeChildsModul(), GNEAdditionalFrame::SelectorLaneChilds::showSelectorLaneChildsModul(), GNEFrame::ACAttributes::showWarningMessage(), GNEFrame::DrawingShape::stopDrawing(), GNEAdditionalFrame::SelectorEdgeChilds::updateUseSelectedEdges(), and GNEAdditionalFrame::SelectorLaneChilds::updateUseSelectedLanes().

◆ hide()

◆ openHelpAttributesDialog()

◆ processClick()

◆ processEdgeSelection()

◆ setFrameWidth()

void GNEFrame::setFrameWidth ( int  newWidth)
inherited

set width of GNEFrame

Definition at line 1713 of file GNEFrame.cpp.

References GNEFrame::myScrollWindowsContents.

Referenced by GNEViewParent::Frames::setWidth().

◆ show()

Field Documentation

◆ myContentFrame

FXVerticalFrame* GNEFrame::myContentFrame
protectedinherited

Vertical frame that holds all widgets of frame.

Definition at line 615 of file GNEFrame.h.

Referenced by GNECrossingFrame::GNECrossingFrame(), GNEFrame::GNEFrame(), GNEProhibitionFrame::GNEProhibitionFrame(), and GNEInspectorFrame::inspectMultisection().

◆ myDrawingShape

DrawingShape* GNETAZFrame::myDrawingShape
private

Drawing shape.

Definition at line 563 of file GNETAZFrame.h.

Referenced by buildShape(), getDrawingShapeModul(), GNETAZFrame(), processClick(), and GNETAZFrame::TAZCurrent::setTAZ().

◆ myHeaderFrame

FXHorizontalFrame* GNEFrame::myHeaderFrame
protectedinherited

fame for header elements

Definition at line 618 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myHeaderLeftFrame

FXHorizontalFrame* GNEFrame::myHeaderLeftFrame
protectedinherited

◆ myHeaderRightFrame

FXHorizontalFrame* GNEFrame::myHeaderRightFrame
protectedinherited

fame for right header elements

Definition at line 624 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myNeteditAttributes

NeteditAttributes* GNETAZFrame::myNeteditAttributes
private

Netedit parameter.

Definition at line 560 of file GNETAZFrame.h.

Referenced by buildShape(), GNETAZFrame(), and GNETAZFrame::TAZCurrent::setTAZ().

◆ myTAZChildDefaultParameters

◆ myTAZCommonStatistics

TAZCommonStatistics* GNETAZFrame::myTAZCommonStatistics
private

TAZ Edges common parameters.

Definition at line 554 of file GNETAZFrame.h.

Referenced by GNETAZFrame(), and GNETAZFrame::TAZCurrent::setTAZ().

◆ myTAZCurrent

◆ myTAZEdgesGraphic

◆ myTAZParameters

TAZParameters* GNETAZFrame::myTAZParameters
private

TAZ parameters.

Definition at line 557 of file GNETAZFrame.h.

Referenced by buildShape(), GNETAZFrame(), and GNETAZFrame::TAZCurrent::setTAZ().

◆ myTAZSaveChanges

◆ myTAZSelectionStatistics

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet
protectedinherited

View Net for changes.

Definition at line 612 of file GNEFrame.h.

Referenced by GNEAdditionalFrame::addAdditional(), GNECrossingFrame::addCrossing(), addOrRemoveTAZMember(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNETLSEditorFrame::buildIinternalLanes(), GNEPolygonFrame::buildShape(), buildShape(), GNESelectorFrame::clearCurrentSelection(), GNEInspectorFrame::clearInspectedAC(), dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNETAZFrame::TAZSaveChanges::enableButtonsAndBeginUndoList(), GNEAdditionalFrame::generateID(), GNESelectorFrame::getMatches(), GNEFrame::NeteditAttributes::getNeteditAttributesAndValues(), GNEFrame::getViewNet(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::hide(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectSingleElement(), GNEProhibitionFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNETAZFrame::TAZSaveChanges::onCmdCancelChanges(), GNECrossingFrame::CreateCrossing::onCmdCreateCrossing(), GNEPolygonFrame::GEOPOICreator::onCmdCreateGEOPOI(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNETLSEditorFrame::onCmdDefSwitch(), GNEInspectorFrame::onCmdGoBack(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNETLSEditorFrame::onCmdOK(), GNETLSEditorFrame::onCmdPhaseSwitch(), GNESelectorFrame::SelectionOperation::onCmdSave(), GNETAZFrame::TAZSaveChanges::onCmdSaveChanges(), GNETAZFrame::TAZSelectionStatistics::onCmdSelectEdges(), GNETAZFrame::TAZSelectionStatistics::onCmdSetNewValues(), GNETAZFrame::TAZChildDefaultParameters::onCmdUseSelectedEdges(), GNETLSEditorFrame::parseTLSPrograms(), GNEPolygonFrame::processClick(), GNEInspectorFrame::processClick(), GNEAdditionalFrame::removeAdditional(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNETAZFrame::TAZCurrent::setTAZ(), GNEDeleteFrame::show(), GNEFrame::show(), GNEAdditionalFrame::SelectorLaneParents::stopConsecutiveLaneSelector(), and GNETAZFrame::TAZEdgesGraphic::updateEdgeColors().


The documentation for this class was generated from the following files: