69 const RGBColor& color,
double layer,
double angle,
const std::string& imgFile,
70 const Position& pos,
double width,
double height) :
178 for (std::vector<GUIGlObject_AbstractAdd*>::const_iterator it = additionals.begin(); it != additionals.end(); ++it) {
void close()
Closes the device and removes it from the dictionary.
static void writeLocation(OutputDevice &into)
writes the location element
void writeXML(OutputDevice &out, const bool geo=false, const double zOffset=0., const std::string laneID="", const double pos=0.)
void move(Position pos)
reposition the POI at pos and informs the edges
void refreshElement(GUIGlObject *o)
refreshes boundary information for o and update
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.
begin/end of the description of a polygon
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
bool isValid(SumoXMLAttr key, const std::string &value)
bool writeXMLHeader(const std::string &rootElement, const std::string &schemaFile, std::map< SumoXMLAttr, std::string > attrs=std::map< SumoXMLAttr, std::string >())
Writes an XML header with optional configuration.
A point in 2D or 3D with translation and scaling methods.
static void saveToFile(const std::string &file)
save POIs to file
virtual const std::string & getMicrosimID() const
Returns the id of the object as known to microsim.
const std::string & getType() const
Returns the (abstract) type of the Shape.
static OutputDevice & getDevice(const std::string &name)
Returns the described OutputDevice.
std::string getAttribute(SumoXMLAttr key) const
Static storage of an output device and its base (abstract) implementation.
static const std::vector< GUIGlObject_AbstractAdd * > & getObjectList()
Returns the list of all additional objects.
#define WRITE_MESSAGE(msg)
GNENet * myNet
the net for querying updates