![]() |
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 | |
struct | ConnectionGeometry |
connection geometry More... | |
Public Member Functions | |
ChildConnections (GNEHierarchicalChildElements *hierarchicalElement) | |
constructor More... | |
void | draw (const GUIVisualizationSettings &s, const GUIGlObjectType parentType) const |
draw connections between Parent and childrens 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< 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 188 of file GNEHierarchicalChildElements.h.
GNEHierarchicalChildElements::ChildConnections::ChildConnections | ( | GNEHierarchicalChildElements * | hierarchicalElement | ) |
constructor
Definition at line 512 of file GNEHierarchicalChildElements.cpp.
void GNEHierarchicalChildElements::ChildConnections::draw | ( | const GUIVisualizationSettings & | s, |
const GUIGlObjectType | parentType | ||
) | const |
draw connections between Parent and childrens
Definition at line 604 of file GNEHierarchicalChildElements.cpp.
References GUIVisualizationColorSettings::childConnections, GUIVisualizationSettings::colorSettings, GUIVisualizationSettings::drawForRectangleSelection, GLHelper::drawLine(), and GLHelper::setColor().
Referenced by GNEHierarchicalChildElements::drawChildConnections().
void GNEHierarchicalChildElements::ChildConnections::update | ( | ) |
update Connection's geometry
Definition at line 517 of file GNEHierarchicalChildElements.cpp.
Referenced by GNEHierarchicalChildElements::addChildLane(), GNEHierarchicalChildElements::addChildShape(), GNEHierarchicalChildElements::changeChildEdges(), GNEHierarchicalChildElements::changeChildLanes(), GNEHierarchicalChildElements::removeChildEdge(), GNEHierarchicalChildElements::removeChildLane(), GNEHierarchicalChildElements::removeChildShape(), GNEHierarchicalChildElements::updateChildConnections(), GNEDetectorE3::updateGeometry(), GNERerouter::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), and GNEDetectorE3::updateParentAdditional().
std::vector<PositionVector> GNEHierarchicalChildElements::ChildConnections::connectionPositions |
Matrix with the Vertex's positions of connections between parents an their children.
Definition at line 223 of file GNEHierarchicalChildElements.h.
Referenced by GNEDetectorE3::drawGL(), GNERerouter::drawGL(), and GNEVariableSpeedSign::drawGL().
|
private |
pointer to hierarchical element parent
Definition at line 227 of file GNEHierarchicalChildElements.h.
std::vector<ConnectionGeometry> GNEHierarchicalChildElements::ChildConnections::symbolsPositionAndRotation |
position and rotation of every symbol over lane
Definition at line 220 of file GNEHierarchicalChildElements.h.
Referenced by GNEHierarchicalChildElements::getChildPosition(), and GNEHierarchicalChildElements::getChildRotation().