![]() |
SUMO - Simulation of Urban MObility
|
struct for pack all variables and functions relative to connections between Additionals and their childs More...
#include <GNEAdditional.h>
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< PositionVector > | connectionPositions |
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 | |
GNEAdditional * | myAdditional |
pointer to additional parent More... | |
struct for pack all variables and functions relative to connections between Additionals and their childs
Definition at line 387 of file GNEAdditional.h.
GNEAdditional::ChildConnections::ChildConnections | ( | GNEAdditional * | additional | ) |
constructor
Definition at line 836 of file GNEAdditional.cpp.
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().
void GNEAdditional::ChildConnections::update | ( | ) |
update Connection's geometry
Definition at line 841 of file GNEAdditional.cpp.
References connectionPositions, GNEAdditional::getPositionInView(), myAdditional, GNEAdditional::myAdditionalChilds, GNEAdditional::myEdgeChilds, GNEAdditional::myLaneChilds, symbolsPositionAndRotation, Position::x(), and Position::y().
Referenced by GNEDetectorE3::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), and GNERerouter::updateGeometry().
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().
|
private |
pointer to additional parent
Definition at line 405 of file GNEAdditional.h.
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().