SumoXMLAttr
Numbers representing SUMO-XML - attributes.
A class that stores a 2D geometrical boundary.
GNEMoveElement * getMoveElement() const override
methods to retrieve the elements linked to this walkingArea
~GNEWalkingArea()
Destructor.
bool checkDrawToContour() const override
check if draw from contour (magenta)
bool isValid(SumoXMLAttr key, const std::string &value) override
void updateGLObject() override
update GLObject (geometry, ID, etc.)
bool checkDrawDeleteContourSmall() const override
check if draw delete contour small (pink/white)
double getAttributeDouble(SumoXMLAttr key) const override
void drawWalkingArea(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const PositionVector &shape, const double exaggeration) const
draw walking area
void drawGL(const GUIVisualizationSettings &s) const override
Draws the object.
GNEContour myInnenContour
variable used for draw innen contour
void deleteGLObject() override
delete element
bool checkDrawDeleteContour() const override
check if draw delete contour (pink/white)
GNEWalkingArea(const GNEWalkingArea &)=delete
Invalidated copy constructor.
double myExaggeration
exaggeration used in tesselation
Position getPositionInView() const
Returns position of hierarchical element in view.
void updateCenteringBoundary(const bool updateGrid)
update centering boundary (implies change in RTREE)
Position getAttributePosition(SumoXMLAttr key) const override
NBNode::WalkingArea & getNBWalkingArea() const
get referente to NBode::WalkingArea
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own popup-menu.
bool checkDrawRelatedContour() const override
check if draw related contour (cyan)
bool checkDrawSelectContour() const override
check if draw select contour (blue)
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
std::string getAttribute(SumoXMLAttr key) const override
bool checkDrawOverContour() const override
check if draw over contour (orange)
bool drawInContourMode() const
check if draw walking area in contour mode
void updateGeometry() override
update pre-computed geometry information
TesselatedPolygon myTesselation
An object that stores the shape and its tesselation.
bool isAttributeEnabled(SumoXMLAttr key) const override
void drawTesselatedWalkingArea(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d) const
draw tesselated walking area
bool checkDrawFromContour() const override
check if draw from contour (green)
GNEWalkingArea & operator=(const GNEWalkingArea &)=delete
Invalidated assignment operator.
Boundary getCenteringBoundary() const override
Returns the boundary to which the view shall be centered in order to show the object.
Parameterised * getParameters() override
get parameters associated with this walkingArea
bool checkDrawMoveContour() const override
check if draw move contour (red)
PositionVector getAttributePositionVector(SumoXMLAttr key) const override
Stores the information about how to visualize structures.
An upper class for objects with additional parameters.
A point in 2D or 3D with translation and scaling methods.
A definition of a pedestrian walking area.