Specialization of PlotShape for an arrow. More...
#include <PlotShape.h>
Public Types | |
| enum | Style { TRIANGLE, V_ARROW, NOARROW } |
Arrow style. More... | |
Public Member Functions | |
| PlotShapeArrow () | |
| Constructor. | |
| virtual | ~PlotShapeArrow () |
| Destructor. | |
| virtual void | setArrowCoordinates (const PlotCoordinate &from, const PlotCoordinate &to)=0 |
| Sets the arrow coordinates to the given. | |
| virtual Style | arrowStyleFrom () const =0 |
| Gets the arrow style on the from/to points. | |
| virtual Style | arrowStyleTo () const =0 |
| virtual void | setArrowStyleFrom (Style style)=0 |
| Sets the arrow style(s) to the given. | |
| virtual void | setArrowStyleTo (Style style)=0 |
| virtual void | setArrowStyles (Style from, Style to) |
| virtual double | arrowSize () const =0 |
| Returns the arrow size/length. | |
| virtual void | setArrowSize (double size)=0 |
| Sets the arrow size/length to the given. | |
Specialization of PlotShape for an arrow.
An arrow is a line segment connecting two points, with optional arrows at either end. PlotShape's line methods apply both to the line segment and the outline of the arrow; the areaFill methods apply to the arrow if applicable. Getting/setting coordinates MUST be in the order: [from, to].
Definition at line 211 of file PlotShape.h.
| casa::PlotShapeArrow::PlotShapeArrow | ( | ) | [inline] |
Constructor.
Definition at line 222 of file PlotShape.h.
| virtual casa::PlotShapeArrow::~PlotShapeArrow | ( | ) | [inline, virtual] |
Destructor.
Definition at line 225 of file PlotShape.h.
| virtual double casa::PlotShapeArrow::arrowSize | ( | ) | const [pure virtual] |
Returns the arrow size/length.
| virtual Style casa::PlotShapeArrow::arrowStyleFrom | ( | ) | const [pure virtual] |
Gets the arrow style on the from/to points.
| virtual Style casa::PlotShapeArrow::arrowStyleTo | ( | ) | const [pure virtual] |
| virtual void casa::PlotShapeArrow::setArrowCoordinates | ( | const PlotCoordinate & | from, | |
| const PlotCoordinate & | to | |||
| ) | [pure virtual] |
Sets the arrow coordinates to the given.
| virtual void casa::PlotShapeArrow::setArrowSize | ( | double | size | ) | [pure virtual] |
Sets the arrow size/length to the given.
| virtual void casa::PlotShapeArrow::setArrowStyleFrom | ( | Style | style | ) | [pure virtual] |
Sets the arrow style(s) to the given.
Referenced by setArrowStyles().
Definition at line 241 of file PlotShape.h.
References setArrowStyleFrom(), and setArrowStyleTo().
| virtual void casa::PlotShapeArrow::setArrowStyleTo | ( | Style | style | ) | [pure virtual] |
Referenced by setArrowStyles().
1.6.1