Eclipse SUMO - Simulation of Urban MObility
GNEGeometry::ParentConnections Struct Reference

struct for pack all variables and functions relative to connections between hierarchical element and their children More...

#include <GNEGeometry.h>

Collaboration diagram for GNEGeometry::ParentConnections:

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< PositionVectorconnectionPositions
 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

GNEHierarchicalParentElementsmyHierarchicalElement
 pointer to hierarchical element parent More...
 

Detailed Description

struct for pack all variables and functions relative to connections between hierarchical element and their children

Definition at line 275 of file GNEGeometry.h.

Constructor & Destructor Documentation

◆ ParentConnections()

GNEGeometry::ParentConnections::ParentConnections ( GNEHierarchicalParentElements hierarchicalElement)

constructor

Definition at line 434 of file GNEGeometry.cpp.

Member Function Documentation

◆ draw()

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().

◆ update()

void GNEGeometry::ParentConnections::update ( )

update Connection's geometry

Definition at line 439 of file GNEGeometry.cpp.

Field Documentation

◆ connectionPositions

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.

◆ myHierarchicalElement

GNEHierarchicalParentElements* GNEGeometry::ParentConnections::myHierarchicalElement
private

pointer to hierarchical element parent

Definition at line 293 of file GNEGeometry.h.

◆ symbolsPositionAndRotation

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.


The documentation for this struct was generated from the following files: