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
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
GNEContour myInnenContour
variable used for draw innen contour
bool checkDrawDeleteContour() const override
check if draw delete contour (pink/white)
GNEWalkingArea(const GNEWalkingArea &)=delete
Invalidated copy constructor.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
double myExaggeration
exaggeration used in tesselation
Position getPositionInView() const
Returns position of hierarchical element in view.
PositionVector getAttributePositionVector(SumoXMLAttr key) const
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
void deleteGLObject()
delete element
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
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
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.
void updateGLObject()
update GLObject (geometry, ID, etc.)
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.
Parameterised * getParameters() override
get parameters associated with this walkingArea
bool isAttributeEnabled(SumoXMLAttr key) const
bool checkDrawMoveContour() const override
check if draw move contour (red)
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.