![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for pack all variables and functions relative to connections between hierarchical element and their children More...
#include <GNEHierarchicalElementParents.h>
Public Member Functions | |
| void | draw (const GUIVisualizationSettings &s, const GUIGlObjectType parentType) const |
| draw connections between Parent and childrens More... | |
| ParentConnections (GNEHierarchicalElementParents *hierarchicalElement) | |
| constructor More... | |
| void | update () |
| update Connection's geometry More... | |
Data Fields | |
| std::vector< PositionVector > | connectionPositions |
| Matrix with the Vertex's positions of connections between parents an their children. More... | |
| std::vector< std::pair< Position, double > > | symbolsPositionAndRotation |
| position and rotation of every symbol over lane More... | |
Private Attributes | |
| GNEHierarchicalElementParents * | 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 149 of file GNEHierarchicalElementParents.h.
| GNEHierarchicalElementParents::ParentConnections::ParentConnections | ( | GNEHierarchicalElementParents * | hierarchicalElement | ) |
constructor
Definition at line 222 of file GNEHierarchicalElementParents.cpp.
| void GNEHierarchicalElementParents::ParentConnections::draw | ( | const GUIVisualizationSettings & | s, |
| const GUIGlObjectType | parentType | ||
| ) | const |
draw connections between Parent and childrens
Definition at line 316 of file GNEHierarchicalElementParents.cpp.
References GUIVisualizationColorSettings::childConnections, connectionPositions, GLHelper::drawLine(), and GLHelper::setColor().
| void GNEHierarchicalElementParents::ParentConnections::update | ( | ) |
update Connection's geometry
Definition at line 227 of file GNEHierarchicalElementParents.cpp.
References connectionPositions, GNEHierarchicalElementParents::getPositionInView(), GNEHierarchicalElementParents::myAdditionalParents, GNEHierarchicalElementParents::myEdgeParents, myHierarchicalElement, GNEHierarchicalElementParents::myLaneParents, symbolsPositionAndRotation, Position::x(), and Position::y().
| std::vector<PositionVector> GNEHierarchicalElementParents::ParentConnections::connectionPositions |
Matrix with the Vertex's positions of connections between parents an their children.
Definition at line 163 of file GNEHierarchicalElementParents.h.
|
private |
pointer to hierarchical element parent
Definition at line 167 of file GNEHierarchicalElementParents.h.
Referenced by update().
| std::vector<std::pair<Position, double> > GNEHierarchicalElementParents::ParentConnections::symbolsPositionAndRotation |
position and rotation of every symbol over lane
Definition at line 160 of file GNEHierarchicalElementParents.h.
Referenced by update().