SUMO - Simulation of Urban MObility
GNEAdditional::ChildConnections Struct Reference

struct for pack all variables and functions relative to connections between Additionals and their childs More...

#include <GNEAdditional.h>

Collaboration diagram for GNEAdditional::ChildConnections:
Collaboration graph

Public Member Functions

 ChildConnections (GNEAdditional *additional)
 constructor More...
 
void draw () 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 childs. More...
 
std::vector< std::pair< Position, double > > symbolsPositionAndRotation
 position and rotation of every symbol over lane More...
 

Private Attributes

GNEAdditionalmyAdditional
 pointer to additional parent More...
 

Detailed Description

struct for pack all variables and functions relative to connections between Additionals and their childs

Definition at line 387 of file GNEAdditional.h.

Constructor & Destructor Documentation

◆ ChildConnections()

GNEAdditional::ChildConnections::ChildConnections ( GNEAdditional additional)

constructor

Definition at line 836 of file GNEAdditional.cpp.

Member Function Documentation

◆ draw()

void GNEAdditional::ChildConnections::draw ( ) const

draw connections between Parent and childrens

Definition at line 930 of file GNEAdditional.cpp.

References connectionPositions, GLHelper::drawLine(), GUIGlObject::getType(), myAdditional, and GLHelper::setColor().

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

◆ update()

Field Documentation

◆ connectionPositions

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

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

Definition at line 401 of file GNEAdditional.h.

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

◆ myAdditional

GNEAdditional* GNEAdditional::ChildConnections::myAdditional
private

pointer to additional parent

Definition at line 405 of file GNEAdditional.h.

Referenced by draw(), and update().

◆ symbolsPositionAndRotation

std::vector<std::pair<Position, double> > GNEAdditional::ChildConnections::symbolsPositionAndRotation

position and rotation of every symbol over lane

Definition at line 398 of file GNEAdditional.h.

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


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