69 GNEPOI(
GNENet* net,
const std::string&
id,
const std::string& type,
const RGBColor& color,
const double xLon,
70 const double yLat,
const bool geo,
const double layer,
const double angle,
const std::string& imgFile,
71 const bool relativePath,
const double width,
const double height,
const std::string& name,
72 const std::map<std::string, std::string>& parameters);
91 GNEPOI(
GNENet* net,
const std::string&
id,
const std::string& type,
const RGBColor& color,
GNELane* lane,
const double posOverLane,
const bool friendlyPos,
92 const double posLat,
const double layer,
const double angle,
const std::string& imgFile,
const bool relativePath,
const double width,
93 const double height,
const std::string& name,
const std::map<std::string, std::string>& parameters);
113 void setParameter(
const std::string& key,
const std::string& value);
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
A NBNetBuilder extended by visualisation and editing capabilities.
GNEPOI & operator=(const GNEPOI &)=delete
Invalidated assignment operator.
const std::map< std::string, std::string > & getACParametersMap() const
get parameters map
PositionVector myShapeWidth
shape width of POI
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
GUIGlID getGlID() const
Returns the numerical id of the object.
void commitMoveShape(const GNEMoveResult &moveResult, GNEUndoList *undoList)
commit move shape
std::string getParentName() const
Returns the name of the parent object.
bool isAttributeEnabled(SumoXMLAttr key) const
Position getPositionInView() const
Returns position of shape in view.
void setMoveShape(const GNEMoveResult &moveResult)
set move shape
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
void updateCenteringBoundary(const bool updateGrid)
update centering boundary (implies change in RTREE)
void writeShape(OutputDevice &device)
writte shape element into a xml file
std::string generateChildID(SumoXMLTag childTag)
gererate a new ID for an element child
void removeGeometryPoint(const Position clickedPosition, GNEUndoList *undoList)
remove geometry point in the clicked position
GNEPOI(const GNEPOI &)=delete
Invalidated copy constructor.
PositionVector myShapeHeight
shape height of POI
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their correspond attribute are valids
GNEPOI(SumoXMLTag tag, GNENet *net)
Constructor.
void updateGeometry()
update pre-computed geometry information
double getExaggeration(const GUIVisualizationSettings &s) const
return exaggeration asociated with this GLObject
GNEMoveOperation * getMoveOperation()
get move operation
std::string getAttribute(SumoXMLAttr key) const
method for getting the Attribute of an XML key
void setParameter(const std::string &key, const std::string &value)
Sets a parameter.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
CommonXMLStructure::SumoBaseObject * getSumoBaseObject() const
get SUMOBaseObject with all POIattributes
const std::string & getID() const
get ID (all shapes have one)
A window containing a gl-object's parameter.
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.
A point in 2D or 3D with translation and scaling methods.