![]() |
SUMO - Simulation of Urban MObility
|
struct for pack all variables related with geometry of elemement More...
#include <GNEAdditional.h>
Public Member Functions | |
AdditionalGeometry () | |
constructor More... | |
void | calculateMultiShapeRotationsAndLengths () |
calculate multi shape rotations and lenghts More... | |
void | calculateMultiShapeUnified () |
calculate multi shape unified More... | |
void | calculateShapeRotationsAndLengths () |
calculate shape rotations and lenghts More... | |
void | clearGeometry () |
reset geometry More... | |
Data Fields | |
std::vector< PositionVector > | multiShape |
The multi-shape of the additional element (used by certain additionals) More... | |
std::vector< std::vector< double > > | multiShapeLengths |
The lengths of the multi-shape shape parts. More... | |
std::vector< std::vector< double > > | multiShapeRotations |
The rotations of the multi-shape parts. More... | |
PositionVector | multiShapeUnified |
multi shape unified More... | |
PositionVector | shape |
The shape of the additional element. More... | |
std::vector< double > | shapeLengths |
The lengths of the single shape parts. More... | |
std::vector< double > | shapeRotations |
The rotations of the single shape parts. More... | |
struct for pack all variables related with geometry of elemement
Definition at line 307 of file GNEAdditional.h.
GNEAdditional::AdditionalGeometry::AdditionalGeometry | ( | ) |
constructor
Definition at line 691 of file GNEAdditional.cpp.
void GNEAdditional::AdditionalGeometry::calculateMultiShapeRotationsAndLengths | ( | ) |
calculate multi shape rotations and lenghts
Definition at line 740 of file GNEAdditional.cpp.
References Position::distanceTo(), M_PI, Position::x(), and Position::y().
Referenced by GNEDetectorE2::updateGeometry().
void GNEAdditional::AdditionalGeometry::calculateMultiShapeUnified | ( | ) |
calculate multi shape unified
Definition at line 707 of file GNEAdditional.cpp.
Referenced by GNEDetectorE2::updateGeometry().
void GNEAdditional::AdditionalGeometry::calculateShapeRotationsAndLengths | ( | ) |
calculate shape rotations and lenghts
Definition at line 716 of file GNEAdditional.cpp.
References Position::distanceTo(), M_PI, Position::x(), and Position::y().
Referenced by GNEStoppingPlace::setStoppingPlaceGeometry(), and GNEDetectorE2::updateGeometry().
void GNEAdditional::AdditionalGeometry::clearGeometry | ( | ) |
reset geometry
Definition at line 695 of file GNEAdditional.cpp.
Referenced by GNEStoppingPlace::setStoppingPlaceGeometry(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNEParkingSpace::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorExit::updateGeometry(), GNEDetectorEntry::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNECalibrator::updateGeometry(), and GNEDetectorE2::updateGeometry().
std::vector<PositionVector> GNEAdditional::AdditionalGeometry::multiShape |
The multi-shape of the additional element (used by certain additionals)
Definition at line 327 of file GNEAdditional.h.
Referenced by GNEDetectorE2::drawGL(), GNEAdditional::getCenteringBoundary(), and GNEDetectorE2::updateGeometry().
std::vector<std::vector<double> > GNEAdditional::AdditionalGeometry::multiShapeLengths |
The lengths of the multi-shape shape parts.
Definition at line 339 of file GNEAdditional.h.
Referenced by GNEDetectorE2::drawGL().
std::vector<std::vector<double> > GNEAdditional::AdditionalGeometry::multiShapeRotations |
The rotations of the multi-shape parts.
Definition at line 336 of file GNEAdditional.h.
Referenced by GNEDetectorE2::drawGL().
PositionVector GNEAdditional::AdditionalGeometry::multiShapeUnified |
multi shape unified
Definition at line 342 of file GNEAdditional.h.
Referenced by GNEDetectorE2::drawGL(), and GNEAdditional::getCenteringBoundary().
PositionVector GNEAdditional::AdditionalGeometry::shape |
The shape of the additional element.
Definition at line 324 of file GNEAdditional.h.
Referenced by GNETAZ::commitGeometryMoving(), GNETAZ::commitShapeChange(), GNETAZ::deleteGeometryPoint(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1Instant::drawGL(), GNECalibrator::drawGL(), GNETAZ::drawGL(), GNEDetectorE2::drawGL(), GNETAZ::getAttribute(), GNEAdditional::getCenteringBoundary(), GNEAdditional::getPopUpMenu(), GNETAZ::getPositionInView(), GNEAdditional::getShape(), GNETAZ::getVertexIndex(), GNETAZ::GNETAZ(), GNETAZ::moveEntireShape(), GNETAZ::moveGeometry(), GNETAZ::moveVertexShape(), GNETAZ::setAttribute(), GNEAdditional::BlockIcon::setRotation(), GNEStoppingPlace::setStoppingPlaceGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), GNEBusStop::updateGeometry(), GNEParkingArea::updateGeometry(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNEDetectorE3::updateGeometry(), GNEParkingSpace::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), GNEAccess::updateGeometry(), GNERerouter::updateGeometry(), GNEDetectorEntry::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorExit::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNECalibrator::updateGeometry(), and GNEDetectorE2::updateGeometry().
std::vector<double> GNEAdditional::AdditionalGeometry::shapeLengths |
The lengths of the single shape parts.
Definition at line 333 of file GNEAdditional.h.
Referenced by GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), and GNEDetectorE2::drawGL().
std::vector<double> GNEAdditional::AdditionalGeometry::shapeRotations |
The rotations of the single shape parts.
Definition at line 330 of file GNEAdditional.h.
Referenced by GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1Instant::drawGL(), GNECalibrator::drawGL(), GNEDetectorE2::drawGL(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorExit::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorEntry::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), and GNECalibrator::updateGeometry().