![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for pack all variables and functions relative to connections between hierarchical element and their children More...
#include <GNEHierarchicalChildElements.h>
Data Structures | |
| class | ConnectionGeometry |
| connection geometry More... | |
Public Member Functions | |
| ChildConnections (GNEHierarchicalChildElements *hierarchicalElement) | |
| constructor More... | |
| void | drawConnection (const GUIVisualizationSettings &s, const GUIGlObjectType parentType, const double exaggeration) const |
| draw connections between Parent and childrens More... | |
| void | drawDottedConnection (const GUIVisualizationSettings &s, const double exaggeration) const |
| draw dotted connections between Parent and childrens More... | |
| void | update () |
| update Connection's geometry More... | |
Data Fields | |
| std::vector< GNEGeometry::Geometry > | connectionsGeometries |
| geometry connections between parents an their children More... | |
| std::vector< ConnectionGeometry > | symbolsPositionAndRotation |
| position and rotation of every symbol over lane More... | |
Private Attributes | |
| GNEHierarchicalChildElements * | myHierarchicalElement |
| pointer to hierarchical element parent More... | |
struct for pack all variables and functions relative to connections between hierarchical element and their children
Definition at line 161 of file GNEHierarchicalChildElements.h.
| GNEHierarchicalChildElements::ChildConnections::ChildConnections | ( | GNEHierarchicalChildElements * | hierarchicalElement | ) |
constructor
Definition at line 622 of file GNEHierarchicalChildElements.cpp.
| void GNEHierarchicalChildElements::ChildConnections::drawConnection | ( | const GUIVisualizationSettings & | s, |
| const GUIGlObjectType | parentType, | ||
| const double | exaggeration | ||
| ) | const |
draw connections between Parent and childrens
Definition at line 706 of file GNEHierarchicalChildElements.cpp.
References GUIVisualizationColorSettings::childConnections, GUIVisualizationSettings::colorSettings, connectionsGeometries, GLHelper::drawBoxLines(), and GLHelper::setColor().
Referenced by GNEHierarchicalChildElements::drawChildConnections().
| void GNEHierarchicalChildElements::ChildConnections::drawDottedConnection | ( | const GUIVisualizationSettings & | s, |
| const double | exaggeration | ||
| ) | const |
draw dotted connections between Parent and childrens
Definition at line 724 of file GNEHierarchicalChildElements.cpp.
References connectionsGeometries, GNEGeometry::drawDottedContourLane(), and GNEGeometry::DottedGeometry::setWidth().
Referenced by GNEHierarchicalChildElements::drawChildDottedConnections().
| void GNEHierarchicalChildElements::ChildConnections::update | ( | ) |
update Connection's geometry
Definition at line 627 of file GNEHierarchicalChildElements.cpp.
References connectionsGeometries, GNEHierarchicalChildElements::getPositionInView(), GNEHierarchicalChildElements::myChildAdditionals, GNEHierarchicalChildElements::myChildEdges, GNEHierarchicalChildElements::myChildLanes, myHierarchicalElement, symbolsPositionAndRotation, GNEGeometry::Geometry::updateGeometry(), Position::x(), and Position::y().
Referenced by GNEHierarchicalChildElements::addChildElement(), GNEHierarchicalChildElements::changeChildEdges(), GNEHierarchicalChildElements::changeChildLanes(), GNEHierarchicalChildElements::removeChildElement(), GNEHierarchicalChildElements::updateChildConnections(), GNEDetectorE3::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), GNERerouter::updateGeometry(), and GNEDetectorE3::updateParentAdditional().
| std::vector<GNEGeometry::Geometry> GNEHierarchicalChildElements::ChildConnections::connectionsGeometries |
geometry connections between parents an their children
Definition at line 211 of file GNEHierarchicalChildElements.h.
Referenced by drawConnection(), drawDottedConnection(), and update().
|
private |
pointer to hierarchical element parent
Definition at line 215 of file GNEHierarchicalChildElements.h.
Referenced by update().
| std::vector<ConnectionGeometry> GNEHierarchicalChildElements::ChildConnections::symbolsPositionAndRotation |
position and rotation of every symbol over lane
Definition at line 208 of file GNEHierarchicalChildElements.h.
Referenced by GNEHierarchicalChildElements::getChildPosition(), GNEHierarchicalChildElements::getChildRotation(), and update().