#include <Curve.h>

Public Member Functions | |
| virtual bool | setPoints (const std::vector< LocationType > &points)=0 |
| virtual const std::vector < LocationType > & | getPoints () const =0 |
| virtual void | setColor (const ColorType &curveColor)=0 |
| virtual ColorType | getColor () const =0 |
| virtual void | setLineWidth (int iWidth)=0 |
| virtual int | getLineWidth () const =0 |
| virtual void | setLineStyle (const LineStyle &lineStyle)=0 |
| virtual LineStyle | getLineStyle () const =0 |
Static Public Member Functions | |
| static const std::string & | signalPointsChanged () |
Protected Member Functions | |
| virtual | ~Curve () |
This subclass of Subject will notify upon the following conditions:
Definition at line 32 of file Curve.h.
| virtual Curve::~Curve | ( | ) | [protected, virtual] |
| static const std::string& Curve::signalPointsChanged | ( | ) | [static] |
| virtual bool Curve::setPoints | ( | const std::vector< LocationType > & | points | ) | [pure virtual] |
Sets the location of each point in the curve.
| points | The points for the curve. Any existing points are removed, and the connecting line connects the points in the order in which they are contained in the vector. |
| virtual const std::vector<LocationType>& Curve::getPoints | ( | ) | const [pure virtual] |
Returns the curve point locations.
| virtual void Curve::setColor | ( | const ColorType & | curveColor | ) | [pure virtual] |
Sets the curve color.
| curveColor | The new curve color. Must be a valid color. |
| virtual ColorType Curve::getColor | ( | ) | const [pure virtual] |
Returns the curve color.
| virtual void Curve::setLineWidth | ( | int | iWidth | ) | [pure virtual] |
Sets the curve line width.
| iWidth | The new curve line width. Cannot be zero. |
| virtual int Curve::getLineWidth | ( | ) | const [pure virtual] |
Returns the curve line width.
| virtual void Curve::setLineStyle | ( | const LineStyle & | lineStyle | ) | [pure virtual] |
Sets the curve line style.
| lineStyle | The new curve line style. |
| virtual LineStyle Curve::getLineStyle | ( | ) | const [pure virtual] |
Returns the curve line style.