18 #ifndef GNESelectorFrame_h 19 #define GNESelectorFrame_h 116 std::map<GUIGlObjectType, std::pair<Supermode, ObjectTypeEntry* > >
myTypeEntries;
149 long onCmdSelectModificationMode(FXObject*, FXSelector,
void*);
185 ELEMENTSET_NETELEMENT = 1,
186 ELEMENTSET_ADDITIONAL = 2,
187 ELEMENTSET_SHAPE = 3,
188 ELEMENTSET_DEMANDELEMENT = 4,
189 ELEMENTSET_INVALID = 5,
202 void refreshElementSet();
210 long onCmdSelectElementSet(FXObject*, FXSelector,
void*);
245 void enableMatchAttribute();
248 void disableMatchAttribute();
256 long onCmdSelMBTag(FXObject*, FXSelector,
void*);
261 long onCmdSelMBAttribute(FXObject*, FXSelector,
void*);
266 long onCmdSelMBString(FXObject*, FXSelector,
void*);
271 long onCmdHelp(FXObject*, FXSelector,
void*);
318 long onCmdScaleSelection(FXObject*, FXSelector,
void*);
356 long onCmdLoad(FXObject*, FXSelector,
void*);
362 long onCmdSave(FXObject*, FXSelector,
void*);
367 long onCmdClear(FXObject*, FXSelector,
void*);
372 long onCmdInvert(FXObject*, FXSelector,
void*);
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
SumoXMLTag
Numbers representing SUMO-XML - element names.
long onCmdSetCheckBox(FXObject *, FXSelector, void *)
void addedLockedObject(const GUIGlObjectType type)
set object selected
FXRadioButton * myReplaceRadioButton
replace radio button
FXComboBox * mySetComboBox
Combo Box with the element sets.
void handleIDs(const std::vector< GNEAttributeCarrier *> &ACs, ModificationMode::SetOperation setop=ModificationMode::SET_DEFAULT)
apply list of ids to the current selection according to SetOperation,
FXLabel * myLabelCounter
label counter
void hideObjectTypeEntry()
hide ObjectTypeEntry
SetOperation
FOX-declaration.
FXRadioButton * myAddRadioButton
add radio button
FXLabel * myLabelTypeName
label type nane
GNESelectorFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
VisualScaling * myVisualScaling
modul for visual scaling
ElementSetType myCurrentElementSet
current element set selected
FXCheckButton * myCheckBoxLocked
check box to check if GLObject type is blocked
FXRealSpinner * mySelectionScaling
Spinner for selection scaling.
~GNESelectorFrame()
Destructor.
FXComboBox * myMatchTagComboBox
tag of the match box
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
FXComboBox * myMatchAttrComboBox
attributes of the match box
void showTypeEntries()
show type Entries (depending if we're in Network or demand supermode)
SelectionOperation()
FOX needs this.
LockGLObjectTypes * getLockGLObjectTypes() const
get selected items Modul
void showObjectTypeEntry()
show ObjectTypeEntry
LockGLObjectTypes(GNESelectorFrame *selectorFrameParent)
constructor
void removeLockedObject(const GUIGlObjectType type)
set object unselected
FXTextField * myMatchString
string of the match
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
bool ACsToSelected() const
check if there is ACs to select/unselect
ObjectTypeEntry()
FOX needs this.
ElementSet()
FOX needs this.
FXRadioButton * myKeepRadioButton
keep button
SumoXMLAttr myCurrentAttribute
current SumoXMLTag Attribute
ElementSetType
FOX-declaration.
SumoXMLTag myCurrentTag
current SumoXMLTag tag
class for object types entries
ModificationMode * getModificationModeModul() const
get modification mode modul
LockGLObjectTypes * myLockGLObjectTypes
modul for lock selected items
MatchAttribute * myMatchAttribute
modul for matchA ttribute
void clearCurrentSelection() const
clear current selection with possibility of undo/redo
VisualScaling()
FOX needs this.
bool IsObjectTypeLocked(const GUIGlObjectType type) const
check if an object is locked
GNESelectorFrame * mySelectorFrameParent
pointer to Selector Frame Parent
SelectionOperation * mySelectionOperation
modul for selection operations
std::map< GUIGlObjectType, std::pair< Supermode, ObjectTypeEntry *> > myTypeEntries
check boxes for type-based selection locking and selected object counts
ModificationMode * myModificationMode
modul for change modification mode
FXRadioButton * myRemoveRadioButton
remove radio button
void counterDown()
down count
std::vector< GNEAttributeCarrier * > getMatches(SumoXMLTag ACTag, SumoXMLAttr ACAttr, char compOp, double val, const std::string &expr)
return ACs of the given type with matching attrs
ElementSet * myElementSet
modul for select element set
MatchAttribute()
FOX needs this.
ModificationMode()
FOX needs this.
bool isGLTypeLocked() const
check if current GLType is blocked
~LockGLObjectTypes()
destructor
SetOperation myModificationModeType
how to modify selection