![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for pack all variables and functions relative to connections between hierarchical element and their children More...
#include <GNEGeometry.h>
Public Member Functions | |
void | draw (const GUIVisualizationSettings &s, const GUIGlObjectType parentType) const |
draw connections between Parent and childrens More... | |
ParentConnections (GNEHierarchicalParentElements *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 | |
GNEHierarchicalParentElements * | 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 275 of file GNEGeometry.h.
GNEGeometry::ParentConnections::ParentConnections | ( | GNEHierarchicalParentElements * | hierarchicalElement | ) |
constructor
Definition at line 434 of file GNEGeometry.cpp.
void GNEGeometry::ParentConnections::draw | ( | const GUIVisualizationSettings & | s, |
const GUIGlObjectType | parentType | ||
) | const |
draw connections between Parent and childrens
Definition at line 524 of file GNEGeometry.cpp.
References GUIVisualizationColorSettings::childConnections, GLHelper::drawLine(), and GLHelper::setColor().
void GNEGeometry::ParentConnections::update | ( | ) |
update Connection's geometry
Definition at line 439 of file GNEGeometry.cpp.
std::vector<PositionVector> GNEGeometry::ParentConnections::connectionPositions |
Matrix with the Vertex's positions of connections between parents an their children.
Definition at line 289 of file GNEGeometry.h.
|
private |
pointer to hierarchical element parent
Definition at line 293 of file GNEGeometry.h.
std::vector<std::pair<Position, double> > GNEGeometry::ParentConnections::symbolsPositionAndRotation |
position and rotation of every symbol over lane
Definition at line 286 of file GNEGeometry.h.