21 #ifndef ShapeHandler_h
22 #define ShapeHandler_h
ShapeHandler(const std::string &file, ShapeContainer &sc)
Constructor.
ShapeHandler & operator=(const ShapeHandler &s)
SUMOReal myDefaultLayer
The default layer to use.
static bool loadFiles(const std::vector< std::string > &files, ShapeHandler &sh)
loads all of the given files
virtual void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
Storage for geometrical objects.
RGBColor myDefaultColor
The default color to use.
SAX-handler base for SUMO-files.
std::string myPrefix
The prefix to use.
The XML-Handler for network loading.
Encapsulated SAX-Attributes.
A point in 2D or 3D with translation and scaling methods.
void addPOI(const SUMOSAXAttributes &attrs, const bool ignorePruning, const bool useProcessing)
adds a POI
bool myDefaultFill
Information whether polygons should be filled.
virtual Position getLanePos(const std::string &poiID, const std::string &laneID, SUMOReal lanePos)=0
get position for a given laneID
void addPoly(const SUMOSAXAttributes &attrs, const bool ignorePruning, const bool useProcessing)
adds a polygon
virtual ~ShapeHandler()
Destructor.
void setDefaults(const std::string &prefix, const RGBColor &color, const SUMOReal layer, const bool fill=false)
ShapeContainer & myShapeContainer