137 bool addPolygon(
const std::map<SumoXMLAttr, std::string>& POIValues);
140 bool addPOI(
const std::map<SumoXMLAttr, std::string>& POIValues);
143 bool addPOILane(
const std::map<SumoXMLAttr, std::string>& POIValues);
GEOPOICreator(GNEPolygonFrame *polygonFrameParent)
FOX-declaration.
FXRadioButton * myLonLatRadioButton
radio button for the configuration lon-lat
void showGEOPOICreatorModul()
Show list of GEOPOICreator Modul.
FXCheckButton * myCenterViewAfterCreationCheckButton
button for enable or disable certer view after creation of GEO POI
FXRadioButton * myLatLonRadioButton
radio button for the configuration lat-lon
GNEPolygonFrame * myPolygonFrameParent
pointer to Shape frame parent
long onCmdCreateGEOPOI(FXObject *, FXSelector, void *)
called when user type in search box
void hideGEOPOICreatorModul()
hide GEOPOICreator Modul
FXTextField * myCoordinatesTextField
text field for given geo coordinates
FXButton * myCreateGEOPOIButton
button for create GEO Coordinates
~GEOPOICreator()
destructor
FXLabel * myLabelCartesianPosition
FXLabel for the equivalent position of GEO Position in Cartesian Position.
long onCmdSetFormat(FXObject *, FXSelector, void *)
called when user select a format radio button
long onCmdSetCoordinates(FXObject *, FXSelector, void *)
GNEFrameAttributesModuls::NeteditAttributes * myNeteditAttributes
Netedit parameter.
bool addPOI(const std::map< SumoXMLAttr, std::string > &POIValues)
add POI
GNEFrameModuls::TagSelector * myShapeTagSelector
shape tag selector
GNEFrameModuls::DrawingShape * getDrawingShapeModul() const
get drawing mode editor
static std::string getIdsSelected(const FXList *list)
get list of selecte id's in string format
void tagSelected()
Tag selected in TagSelector.
~GNEPolygonFrame()
Destructor.
AddShape
enum with all possible values after try to create an shape using frame
GNEPolygonFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
GEOPOICreator * myGEOPOICreator
GEOPOICreator.
GNEFrameAttributesModuls::AttributesCreator * myShapeAttributes
shape internal attributes
bool shapeDrawed()
build a shaped element using the drawed shape return true if was successfully created
GNEFrameModuls::DrawingShape * myDrawingShape
Drawing shape.
bool addPOILane(const std::map< SumoXMLAttr, std::string > &POIValues)
add POILane
GNEPolygonFrame::AddShape processClick(const Position &clickedPosition, const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
process click over Viewnet
bool addPolygon(const std::map< SumoXMLAttr, std::string > &POIValues)
add Polygon
class used to group all variables related with objects under cursor after a click over view
A point in 2D or 3D with translation and scaling methods.