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

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

#include <GNEHierarchicalElementChildren.h>

Collaboration diagram for GNEHierarchicalElementChildren::ChildConnections:

Data Structures

struct  ConnectionGeometry
 connection geometry More...
 

Public Member Functions

 ChildConnections (GNEHierarchicalElementChildren *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

GNEHierarchicalElementChildrenmyHierarchicalElement
 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 189 of file GNEHierarchicalElementChildren.h.

Constructor & Destructor Documentation

◆ ChildConnections()

GNEHierarchicalElementChildren::ChildConnections::ChildConnections ( GNEHierarchicalElementChildren hierarchicalElement)

constructor

Definition at line 513 of file GNEHierarchicalElementChildren.cpp.

Member Function Documentation

◆ draw()

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

◆ update()

Field Documentation

◆ connectionPositions

std::vector<PositionVector> GNEHierarchicalElementChildren::ChildConnections::connectionPositions

Matrix with the Vertex's positions of connections between parents an their children.

Definition at line 224 of file GNEHierarchicalElementChildren.h.

Referenced by draw(), GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), and update().

◆ myHierarchicalElement

GNEHierarchicalElementChildren* GNEHierarchicalElementChildren::ChildConnections::myHierarchicalElement
private

pointer to hierarchical element parent

Definition at line 228 of file GNEHierarchicalElementChildren.h.

Referenced by update().

◆ symbolsPositionAndRotation

std::vector<ConnectionGeometry> GNEHierarchicalElementChildren::ChildConnections::symbolsPositionAndRotation

position and rotation of every symbol over lane

Definition at line 221 of file GNEHierarchicalElementChildren.h.

Referenced by GNEHierarchicalElementChildren::getChildPosition(), GNEHierarchicalElementChildren::getChildRotation(), and update().


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