Eclipse SUMO - Simulation of Urban MObility
GNEHierarchicalChildElements::ChildConnections Struct Reference

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

#include <GNEHierarchicalChildElements.h>

Collaboration diagram for GNEHierarchicalChildElements::ChildConnections:

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< PositionVectorconnectionPositions
 Matrix with the Vertex's positions of connections between parents an their children. More...
 
std::vector< ConnectionGeometrysymbolsPositionAndRotation
 position and rotation of every symbol over lane More...
 

Private Attributes

GNEHierarchicalChildElementsmyHierarchicalElement
 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 188 of file GNEHierarchicalChildElements.h.

Constructor & Destructor Documentation

◆ ChildConnections()

GNEHierarchicalChildElements::ChildConnections::ChildConnections ( GNEHierarchicalChildElements hierarchicalElement)

constructor

Definition at line 512 of file GNEHierarchicalChildElements.cpp.

Member Function Documentation

◆ draw()

void GNEHierarchicalChildElements::ChildConnections::draw ( const GUIVisualizationSettings s,
const GUIGlObjectType  parentType 
) const

◆ update()

Field Documentation

◆ connectionPositions

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

◆ myHierarchicalElement

GNEHierarchicalChildElements* GNEHierarchicalChildElements::ChildConnections::myHierarchicalElement
private

pointer to hierarchical element parent

Definition at line 227 of file GNEHierarchicalChildElements.h.

◆ symbolsPositionAndRotation

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


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