 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef GNEInspectorFrame_h
19 #define GNEInspectorFrame_h
long onCmdCopyTemplate(FXObject *, FXSelector, void *)
copy edge attributes from edge template
void inspectMultisection(const std::vector< GNEAttributeCarrier * > &ACs)
Inspect the given multi-selection.
FXHorizontalFrame * myHorizontalFrameCloseShape
@frame horizontal frame for close shape
FXLabel * myGEOAttributeLabel
Label for GEOAttribute.
void hideNeteditAttributesEditor()
hide netedit attributes editor
void clearInspectedAC()
Clear all current inspected ACs.
~GEOAttributesEditor()
destructor
FXButton * myBackButton
back Button
bool previousElement(const Position &clickedPosition)
try to go to previous element if clicked position is near to saved position
GNEEdge * myEdgeTemplate
the edge template
void inspectSingleElement(GNEAttributeCarrier *AC)
Inspect a single element.
long onCmdGoBack(FXObject *, FXSelector, void *)
called when user toogle the go back button
FXHorizontalFrame * myHorizontalFrameBlockMovement
@frame horizontal frame for block movement
long onCmdShowList(FXObject *, FXSelector, void *)
show list of overlapped elements
long onUpdCopyTemplate(FXObject *, FXSelector, void *)
update the copy button with the name of the template
FXButton * myCurrentIndexButton
Button for current index.
GNEFrameModuls::AttributeCarrierHierarchy * myAttributeCarrierHierarchy
Attribute Carrier Hierarchy.
GNEAttributeCarrier * myPreviousElementInspect
pointer to previous element called by Inspector Frame
void refreshNeteditAttributesEditor(bool forceRefresh)
refresh netedit attributes
void inspectOverlappedAttributeCarrier()
inspect attributeCarrier correspond to current index
void inspectClickedElement(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor, const Position &clickedPosition)
Inspect a singe element (the front of AC AttributeCarriers of ObjectUnderCursor.
GNEAttributeCarrier * myPreviousElementDelete
pointer to previous element called by Delete Frame
FXLabel * myUseGEOLabel
Label for use GEO.
GEOAttributesEditor * myGEOAttributesEditor
GEO Attributes editor.
FXHorizontalFrame * myHorizontalFrameAdditionalParent
@frame horizontal frame for change additional parent
void refreshGEOAttributesEditor(bool forceRefresh)
refresh GEO attributes editor
FXCheckButton * myCheckBoxCloseShape
pointer to check box "Block movement"
FXLabel * myLabelCloseShape
Label for close shape.
~TemplateEditor()
destructor
void attributeUpdated()
function called after set a valid attribute in AttributeEditor
void inspectFromDeleteFrame(GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement, bool previousElementWasMarked)
inspect called from DeleteFrame
bool overlappedInspectionShown() const
check if overlappedInspection modul is shown
void showGEOAttributesEditor()
show GEO attributes editor
long onCmdSetNeteditAttribute(FXObject *, FXSelector, void *)
A road/street connecting two junctions (netedit-version)
~OverlappedInspection()
destructor
FXTextField * myGEOAttributeTextField
textField for GEOAttribute
FXButton * mySetTemplateButton
set template button
FXLabel * myLabelBlockMovement
Label for Check blocked movement.
void showNeteditAttributesEditor()
show netedit attributes editor
~GNEInspectorFrame()
Destructor.
GEOAttributesEditor()
FOX needs this.
FXTextField * myTextFieldAdditionalParent
pointer for change additional parent
GNEEdge * getEdgeTemplate() const
get the template edge (to copy attributes from)
FXHorizontalFrame * myHorizontalFrameBlockShape
@frame horizontal frame for block shape
GNEInspectorFrame * myInspectorFrameParent
current GNEInspectorFrame parent
FXList * myOverlappedElementList
list of overlapped elements
FXLabel * myLabelBlockShape
Label for Check blocked shape.
long onCmdNeteditAttributeHelp(FXObject *, FXSelector, void *)
Called when user press the help button.
class used to group all variables related with objects under cursor after a click over view
FXLabel * myLabelAdditionalParent
Label for additional parent.
GNEFrameAttributesModuls::GenericParametersEditor * myGenericParametersEditor
Generic parameters editor.
long onCmdNextElement(FXObject *, FXSelector, void *)
Inspect next Element (from top to bot)
FXCheckButton * myCheckBoxBlockMovement
pointer to check box "Block movement"
long onCmdGEOAttributeHelp(FXObject *, FXSelector, void *)
Called when user press the help button.
void showTemplateEditor()
show template editor
Position mySavedClickedPosition
saved clicked position
FXButton * myPreviousElement
Previous element button.
void updateFrameAfterUndoRedo()
function called after undo/redo in the current frame (can be reimplemented in frame children)
TemplateEditor * getTemplateEditor() const
get template editor
TemplateEditor * myTemplateEditor
Template editor.
A point in 2D or 3D with translation and scaling methods.
GNEFrameAttributesModuls::AttributesEditor * myAttributesEditor
Attribute editor.
long onCmdListItemSelected(FXObject *, FXSelector, void *)
called when a list item is selected
~NeteditAttributesEditor()
destructor
FXButton * myHelpButton
button for help
FXHorizontalFrame * myUseGEOFrame
horizontal frame for use GEO
void hideOverlappedInspection()
hide template editor
long onCmdSetGEOAttribute(FXObject *, FXSelector, void *)
Called when user change the current GEO Attribute.
GNEInspectorFrame()
FOX needs this.
void showOverlappedInspection(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor, const Position &clickedPosition)
show template editor
NeteditAttributesEditor()
FOX needs this.
GNEFrameAttributesModuls::AttributesEditor * getAttributesEditor() const
get AttributesEditor
std::vector< GNEAttributeCarrier * > myOverlappedACs
objects under cursor
NeteditAttributesEditor * myNeteditAttributesEditor
Netedit Attributes editor.
OverlappedInspection * myOverlappedInspection
Overlapped Inspection.
bool checkSavedPosition(const Position &clickedPosition) const
check if given position is near to saved position
GNEInspectorFrame * myInspectorFrameParent
pointer to inspector frame parent
FXButton * myHelpButton
button for help
void setEdgeTemplate(GNEEdge *tpl)
seh the template edge (we assume shared responsibility via reference counting)
FXButton * myNextElement
Next element button.
FXCheckButton * myCheckBoxBlockShape
pointer to check box "Block Shape"
void inspectChild(GNEAttributeCarrier *AC, GNEAttributeCarrier *previousElement)
inspect child of already inspected element
void hide()
hide inspector frame
void hideTemplateEditor()
hide template editor
long onCmdOverlappingHelp(FXObject *, FXSelector, void *)
Called when user press the help button.
bool myPreviousElementDeleteWasMarked
flag to ckec if myPreviousElementDelete was marked in Delete Frame
bool nextElement(const Position &clickedPosition)
try to go to next element if clicked position is near to saved position
GNEInspectorFrame * myInspectorFrameParent
current GNEInspectorFrame parent
bool processDemandSupermodeClick(const Position &clickedPosition, GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
process click over Viewnet in Supermode Demand
FXCheckButton * myUseGEOCheckButton
checkBox for use GEO
long onCmdPreviousElement(FXObject *, FXSelector, void *)
Inspect previous element (from top to bot)
FXButton * myHelpButton
button for help
size_t myItemIndex
current index item
OverlappedInspection * getOverlappedInspection() const
get OverlappedInspection modul
long onCmdSetTemplate(FXObject *, FXSelector, void *)
set current edge as new template
void hideGEOAttributesEditor()
hide GEO attributes editor
TemplateEditor()
FOX needs this.
FXButton * myCopyTemplateButton
copy template button
GNEInspectorFrame * myInspectorFrameParent
current GNEInspectorFrame parent
FXHorizontalFrame * myGEOAttributeFrame
horizontal frame for GEOAttribute
bool processNetworkSupermodeClick(const Position &clickedPosition, GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
process click over Viewnet in Supermode Network
void show()
show inspector frame
OverlappedInspection()
FOX needs this.