![]() |
Eclipse SUMO - Simulation of Urban MObility
|
class to pack all variables and functions relative to connections between hierarchical element and their children More...
#include <GNEGeometry.h>
Data Structures | |
class | ConnectionGeometry |
connection geometry More... | |
Public Member Functions | |
void | drawConnection (const GUIVisualizationSettings &s, const GNEAttributeCarrier *AC, const double exaggeration) const |
draw connections between Parent and childrens More... | |
void | drawDottedConnection (const DottedContourType type, const GUIVisualizationSettings &s, const double exaggeration) const |
draw dotted connections between Parent and childrens More... | |
HierarchicalConnections (GNEHierarchicalElement *hierarchicalElement) | |
constructor More... | |
void | update () |
update Connection's geometry More... | |
Data Fields | |
std::vector< GNEGeometry::Geometry > | connectionsGeometries |
geometry connections between parents an their children More... | |
std::vector< ConnectionGeometry > | symbolsPositionAndRotation |
position and rotation of every symbol over lane More... | |
Private Attributes | |
GNEHierarchicalElement * | myHierarchicalElement |
pointer to hierarchical element parent More... | |
class to pack all variables and functions relative to connections between hierarchical element and their children
Definition at line 446 of file GNEGeometry.h.
GNEGeometry::HierarchicalConnections::HierarchicalConnections | ( | GNEHierarchicalElement * | hierarchicalElement | ) |
constructor
Definition at line 894 of file GNEGeometry.cpp.
void GNEGeometry::HierarchicalConnections::drawConnection | ( | const GUIVisualizationSettings & | s, |
const GNEAttributeCarrier * | AC, | ||
const double | exaggeration | ||
) | const |
draw connections between Parent and childrens
Definition at line 978 of file GNEGeometry.cpp.
References RGBColor::changedBrightness(), GUIVisualizationColorSettings::childConnections, GUIVisualizationSettings::colorSettings, GLHelper::drawBoxLines(), GNEAttributeCarrier::isAttributeCarrierSelected(), GUIVisualizationColorSettings::selectedAdditionalColor, and GLHelper::setColor().
Referenced by GNEHierarchicalElement::drawHierarchicalConnections().
void GNEGeometry::HierarchicalConnections::drawDottedConnection | ( | const DottedContourType | type, |
const GUIVisualizationSettings & | s, | ||
const double | exaggeration | ||
) | const |
draw dotted connections between Parent and childrens
Definition at line 998 of file GNEGeometry.cpp.
References GNEGeometry::drawDottedContourLane(), GNEGeometry::FRONT, GLO_DOTTEDCONTOUR_FRONT, GLO_DOTTEDCONTOUR_INSPECTED, GNEGeometry::INSPECT, and GNEGeometry::DottedGeometry::setWidth().
Referenced by GNEHierarchicalElement::drawHierarchicalConnections().
void GNEGeometry::HierarchicalConnections::update | ( | ) |
update Connection's geometry
Definition at line 899 of file GNEGeometry.cpp.
References GNEGeometry::Geometry::updateGeometry().
Referenced by GNEHierarchicalElement::addChildElement(), GNEHierarchicalElement::addParentElement(), GNEHierarchicalElement::removeChildElement(), GNEHierarchicalElement::removeParentElement(), GNERerouter::updateCenteringBoundary(), GNEVariableSpeedSign::updateCenteringBoundary(), GNEDetectorE3::updateGeometry(), GNERerouter::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), and GNEHierarchicalElement::updateHierarchicalConnections().
std::vector<GNEGeometry::Geometry> GNEGeometry::HierarchicalConnections::connectionsGeometries |
geometry connections between parents an their children
Definition at line 496 of file GNEGeometry.h.
|
private |
pointer to hierarchical element parent
Definition at line 500 of file GNEGeometry.h.
std::vector<ConnectionGeometry> GNEGeometry::HierarchicalConnections::symbolsPositionAndRotation |
position and rotation of every symbol over lane
Definition at line 493 of file GNEGeometry.h.