63 Shape(
const std::string&
id,
const std::string& type,
65 double angle,
const std::string& imgFile,
bool relativePath);
static const std::string DEFAULT_IMG_FILE
const std::string & getShapeImgFile() const
Returns the imgFile of the Shape.
void setShapeColor(const RGBColor &col)
Sets a new color.
void setShapeRelativePath(bool relativePath)
Sets a new relativePath value.
static const double DEFAULT_LAYER_POI
void setShapeType(const std::string &type)
Sets a new type.
static const double DEFAULT_IMG_HEIGHT
double myNaviDegreeAngle
The angle of the Shape.
static const std::string DEFAULT_TYPE
const std::string & getShapeType() const
Returns the (abstract) type of the Shape.
std::string myType
The type of the Shape.
void setShapeImgFile(const std::string &imgFile)
Sets a new imgFile.
bool getShapeRelativePath() const
Returns the relativePath of the Shape.
const RGBColor & getShapeColor() const
Returns the color of the Shape.
virtual ~Shape()
Destructor.
static const bool DEFAULT_RELATIVEPATH
static const double DEFAULT_LINEWIDTH
Shape(const std::string &id, const std::string &type, const RGBColor &color, double layer, double angle, const std::string &imgFile, bool relativePath)
Constructor.
Base class for objects which have an id.
double getShapeLayer() const
Returns the layer of the Shape.
std::string myImgFile
The img file (include path)
RGBColor myColor
The color of the Shape.
bool myRelativePath
Enable or disable save imgFile as relative path.
double myLayer
The layer of the Shape.
static const double DEFAULT_IMG_WIDTH
void setShapeLayer(const double layer)
Sets a new layer.
double getShapeNaviDegree() const
Returns the angle of the Shape in navigational degrees.
static const double DEFAULT_ANGLE
static const double DEFAULT_LAYER
void setShapeNaviDegree(const double angle)
Sets a new angle in navigational degrees.