![]() |
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 254 of file GNEGeometry.h.
| GNEGeometry::HierarchicalConnections::HierarchicalConnections | ( | GNEHierarchicalElement * | hierarchicalElement | ) |
constructor
Definition at line 604 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 688 of file GNEGeometry.cpp.
References RGBColor::changedBrightness(), GUIVisualizationColorSettings::childConnections, GUIVisualizationSettings::colorSettings, GLHelper::drawBoxLines(), GNEAttributeCarrier::isAttributeCarrierSelected(), GLHelper::popMatrix(), GLHelper::pushMatrix(), 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 708 of file GNEGeometry.cpp.
References GNEGeometry::drawDottedContourShape(), GNEGeometry::FRONT, GLO_DOTTEDCONTOUR_FRONT, GLO_DOTTEDCONTOUR_INSPECTED, GNEGeometry::INSPECT, GLHelper::popMatrix(), and GLHelper::pushMatrix().
Referenced by GNEHierarchicalElement::drawHierarchicalConnections().
| void GNEGeometry::HierarchicalConnections::update | ( | ) |
update Connection's geometry
Definition at line 609 of file GNEGeometry.cpp.
References GNEGeometry::Geometry::updateGeometry().
Referenced by GNEHierarchicalElement::addChildElement(), GNEHierarchicalElement::addParentElement(), GNEHierarchicalElement::removeChildElement(), GNEHierarchicalElement::removeParentElement(), GNEVariableSpeedSign::updateCenteringBoundary(), GNERerouter::updateCenteringBoundary(), GNEDetectorE3::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), GNERerouter::updateGeometry(), and GNEHierarchicalElement::updateHierarchicalConnections().
| std::vector<GNEGeometry::Geometry> GNEGeometry::HierarchicalConnections::connectionsGeometries |
geometry connections between parents an their children
Definition at line 304 of file GNEGeometry.h.
|
private |
pointer to hierarchical element parent
Definition at line 308 of file GNEGeometry.h.
| std::vector<ConnectionGeometry> GNEGeometry::HierarchicalConnections::symbolsPositionAndRotation |
position and rotation of every symbol over lane
Definition at line 301 of file GNEGeometry.h.