66 GNEPOI(
const std::string&
id,
GNENet* net,
const std::string& filename,
const std::string& type,
const RGBColor& color,
67 const Position& pos,
const bool geo,
POIIcon icon,
const double layer,
const double angle,
const std::string& imgFile,
68 const double width,
const double height,
const std::string& name,
const Parameterised::Map& parameters);
88 GNEPOI(
const std::string&
id,
GNENet* net,
const std::string& filename,
const std::string& type,
const RGBColor& color,
GNELane* lane,
89 const double posOverLane,
const bool friendlyPos,
const double posLat,
POIIcon icon,
const double layer,
const double angle,
90 const std::string& imgFile,
const double width,
const double height,
const std::string& name,
const Parameterised::Map& parameters);
270 const bool movingGeometryPoints)
const;
274 const double exaggeration,
const bool movingGeometryPoints)
const;
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
const std::string getID() const
get ID (all Attribute Carriers have one)
A NBNetBuilder extended by visualisation and editing capabilities.
bool isValid(SumoXMLAttr key, const std::string &value) override
method for checking if the key and their correspond attribute are valids
Position getPositionInView() const override
Returns position of shape in view.
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
void drawGL(const GUIVisualizationSettings &s) const override
Draws the object.
void drawPOI(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const bool movingGeometryPoints) const
draw POI
void calculatePOIContour(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const double exaggeration, const bool movingGeometryPoints) const
calculate contour
void updateCenteringBoundary(const bool updateGrid) override
update centering boundary (implies change in RTREE)
Position getAttributePosition(SumoXMLAttr key) const override
Parameterised * getParameters() override
get parameters associated with this POI
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
std::string getParentName() const override
Returns the name of the parent object.
void fixAdditionalProblem() override
fix additional problem (must be reimplemented in all detector children)
std::string getAttribute(SumoXMLAttr key) const override
method for getting the Attribute of an XML key
double getExaggeration(const GUIVisualizationSettings &s) const override
return exaggeration associated with this GLObject
GUIGlID getGlID() const
Returns the numerical id of the object.
std::string getAdditionalProblem() const override
return a string with the current additional problem (must be reimplemented in all detector children)
PositionVector getAttributePositionVector(SumoXMLAttr key) const override
GNEMoveElementLaneSingle * myMoveElementLaneSingle
move element over single lane
bool isAttributeEnabled(SumoXMLAttr key) const override
GNEMoveElementViewResizable * myMoveElementViewResizable
move element view resizable
double myPosLat
lateral position;
GNEMoveElement * getMoveElement() const override
methods to retrieve the elements linked to this POI
double getAttributeDouble(SumoXMLAttr key) const override
std::string generateChildID(SumoXMLTag childTag)
gererate a new ID for an element child
POIIcon myPOIIcon
POI icon.
GNEPOI(const GNEPOI &)=delete
Invalidated copy constructor.
void writeAdditional(OutputDevice &device) const override
write additional element into a xml file
void updateGeometry() override
update pre-computed geometry information
bool checkDrawMoveContour() const override
check if draw move contour (red)
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList) override
split geometry
Position myPosOverView
position over view
bool isAdditionalValid() const override
check if current additional is valid to be written into XML (must be reimplemented in all detector ch...
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
method for setting the attribute and letting the object perform additional changes
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own popup-menu.
CommonXMLStructure::SumoBaseObject * getSumoBaseObject() const
get SUMOBaseObject with all POIattributes
bool myFriendlyPos
friendly position
double myPosOverLane
position over lane
GNEPOI & operator=(const GNEPOI &)=delete
Invalidated assignment operator.
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.
An upper class for objects with additional parameters.
std::map< std::string, std::string > Map
parameters map
A point in 2D or 3D with translation and scaling methods.