21 #ifndef GNESelectorFrame_h 22 #define GNESelectorFrame_h 84 long onCmdLoad(FXObject*, FXSelector,
void*);
89 long onCmdSave(FXObject*, FXSelector,
void*);
109 long onCmdHelp(FXObject*, FXSelector,
void*);
FXDataTarget mySetOperationTarget
target of modify selection
SumoXMLTag
Numbers representing SUMO-XML - element names.
void selectionUpdated()
called if currently registered for updates for changes of global selection
FXuint mySetOperation
how to modify selection
long onCmdSelMBString(FXObject *, FXSelector, void *)
Called when the user enters a new selection expression.
SetOperation
FOX-declaration.
long onCmdSave(FXObject *, FXSelector, void *)
Called when the user presses the Save-button.
FXTextField * myMatchString
string of the match
FXRealSpinDial * mySelectionScaling
selection scaling
FXListBox * myMatchTagBox
tag of the match box
long onCmdLoad(FXObject *, FXSelector, void *)
Called when the user presses the Load-button.
std::vector< GUIGlID > getMatches(SumoXMLTag tag, SumoXMLAttr attr, char compOp, SUMOReal val, const std::string &expr)
return objects of the given type with matching attrs
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
GNESelectorFrame()
FOX needs this.
long onCmdHelp(FXObject *, FXSelector, void *)
Called when the user clicks the help button.
~GNESelectorFrame()
Destructor.
long onCmdScaleSelection(FXObject *, FXSelector, void *)
Called when the user changes visual scaling.
long onCmdClear(FXObject *, FXSelector, void *)
Called when the user presses the Clear-button.
const std::string ALL_VCLASS_NAMES_MATCH_STRING
the string that should be matched against if attr 'allowed' or 'disalloed' are set to "all" ...
long onCmdSubset(FXObject *, FXSelector, void *)
long onCmdInvert(FXObject *, FXSelector, void *)
Called when the user presses the Invert-button.
FXListBox * myMatchAttrBox
attributes of the match box
void handleIDs(std::vector< GUIGlID > ids, bool selectEdges, SetOperation setop=SET_DEFAULT)
apply list of ids to the current selection according to SetOperation,
std::string getStats() const
get stats
long onCmdSelMBTag(FXObject *, FXSelector, void *)
Called when the user selectes a tag in the match box.
FXListBox * mySetBox
tag of the sets of elements