17 #ifndef GNEPolygonFrame_h 18 #define GNEPolygonFrame_h 144 bool addPolygon(
const std::map<SumoXMLAttr, std::string>& POIValues);
147 bool addPOI(
const std::map<SumoXMLAttr, std::string>& POIValues);
150 bool addPOILane(
const std::map<SumoXMLAttr, std::string>& POIValues);
long onCmdSetCoordinates(FXObject *, FXSelector, void *)
ItemSelector * myItemSelector
item selector
~GNEPolygonFrame()
Destructor.
GEOPOICreator()
FOX needs this.
void enableModuls(const GNEAttributeCarrier::TagProperties &tagProperties)
enable moduls depending of item selected in ItemSelector
AddShapeResult
enum with all possible values after try to create an shape using frame
GNEPolygonFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
struct with the attribute Properties
long onCmdSetFormat(FXObject *, FXSelector, void *)
called when user select a format radio button
GEOPOICreator * myGEOPOICreator
GEOPOICreator.
FXLabel * myLabelCartesianPosition
FXLabel for the equivalent position of GEO Position in Cartesian Position.
FXCheckButton * myCenterViewAfterCreationCheckButton
button for enable or disable certer view after creation of GEO POI
bool addPolygon(const std::map< SumoXMLAttr, std::string > &POIValues)
add Polygon
bool addPOI(const std::map< SumoXMLAttr, std::string > &POIValues)
add POI
void showGEOPOICreatorModul()
Show list of GEOPOICreator Modul.
AddShapeResult processClick(const Position &clickedPosition, const GNEViewNet::ObjectsUnderCursor &objectsUnderCursor)
process click over Viewnet
void hideGEOPOICreatorModul()
hide GEOPOICreator Modul
A point in 2D or 3D with translation and scaling methods.
FXTextField * myCoordinatesTextField
text field for given geo coordinates
DrawingShape * getDrawingShapeModul() const
get drawing mode editor
bool addPOILane(const std::map< SumoXMLAttr, std::string > &POIValues)
add POILane
DrawingShape * myDrawingShape
Drawing shape.
FXRadioButton * myLatLonRadioButton
radio button for the configuration lat-lon
NeteditAttributes * myNeteditAttributes
Netedit parameter.
~GEOPOICreator()
destructor
void disableModuls()
disable moduls if element selected in itemSelector isn't valid
ACAttributes * myShapeAttributes
shape internal attributes
static std::string getIdsSelected(const FXList *list)
get list of selecte id's in string format
GNEPolygonFrame * myPolygonFrameParent
pointer to Shape frame parent
bool buildShape()
build a shaped element using the drawed shape return true if was sucesfully created ...
FXButton * myCreateGEOPOIButton
button for create GEO Coordinates
FXRadioButton * myLonLatRadioButton
radio button for the configuration lon-lat
long onCmdCreateGEOPOI(FXObject *, FXSelector, void *)
called when user type in search box