58 GNEPOI(
GNENet* net,
const std::string&
id,
const std::string& type,
59 const RGBColor& color,
double layer,
double angle,
const std::string& imgFile,
60 const Position& pos,
double width,
double height);
99 static void saveToFile(
const std::string& file);
void move(Position pos)
reposition the POI at pos and informs the edges
GNEPOI(GNENet *net, const std::string &id, const std::string &type, const RGBColor &color, double layer, double angle, const std::string &imgFile, const Position &pos, double width, double height)
declare friend class
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
virtual ~GNEPOI()
Destructor.
A NBNetBuilder extended by visualisation and editing capabilities.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
static methods for processing the coordinates conversion for the current net
bool isValid(SumoXMLAttr key, const std::string &value)
A point in 2D or 3D with translation and scaling methods.
GNEPOI & operator=(const GNEPOI &)
Invalidated assignment operator.
static void saveToFile(const std::string &file)
save POIs to file
std::string getAttribute(SumoXMLAttr key) const
GNENet * myNet
the net for querying updates