22 #ifndef PointOfInterest_h
23 #define PointOfInterest_h
67 Shape(id, type, color, layer, angle, imgFile),
static const std::string DEFAULT_IMG_FILE
void setHeight(SUMOReal height)
set the image height of the POI
static const SUMOReal DEFAULT_ANGLE
void setWidth(SUMOReal width)
set the image width of the POI
SUMOReal myHalfImgWidth
The half width of the image when rendering this POI.
static const SUMOReal DEFAULT_IMG_HEIGHT
A point in 2D or 3D with translation and scaling methods.
An upper class for objects with additional parameters.
static const SUMOReal DEFAULT_LAYER
PointOfInterest(const std::string &id, const std::string &type, const RGBColor &color, const Position &pos, SUMOReal layer=DEFAULT_LAYER, SUMOReal angle=DEFAULT_ANGLE, const std::string &imgFile=DEFAULT_IMG_FILE, SUMOReal width=DEFAULT_IMG_WIDTH, SUMOReal height=DEFAULT_IMG_HEIGHT)
Constructor.
SUMOReal myHalfImgHeight
The half height of the image when rendering this POI.
SUMOReal getWidth() const
Returns whether the image width of the POI.
SUMOReal getHeight() const
Returns whether the image hidth of the POI.
static const SUMOReal DEFAULT_IMG_WIDTH
virtual ~PointOfInterest()
Destructor.