casa
$Rev:20696$
|
Specialization of PlotShape for an arc. More...
#include <PlotShape.h>
Public Member Functions | |
PlotShapeArc () | |
Constructor. | |
virtual | ~PlotShapeArc () |
Destructor. | |
virtual PlotCoordinate | startCoordinate () const =0 |
Returns the start coordinate. | |
virtual void | setStartCoordinate (const PlotCoordinate &coord)=0 |
Sets the start coordinate to the given. | |
virtual PlotCoordinate | widthHeight () const =0 |
Returns the width and height as a PlotCoordinate. | |
virtual void | setWidthHeight (double width, double height) |
Sets the width and height to the given. | |
virtual void | setWidthHeight (const PlotCoordinate &widthHeight)=0 |
Sets the width and height as a PlotCoordinate. | |
virtual int | startAngle () const =0 |
Returns the start angle. | |
virtual void | setStartAngle (int startAngle)=0 |
Sets the start angle. | |
virtual int | spanAngle () const =0 |
Returns the span angle. | |
virtual void | setSpanAngle (int spanAngle)=0 |
Sets the span angle. | |
virtual int | orientation () const =0 |
Returns the orientation. | |
virtual void | setOrientation (int o)=0 |
Sets the orientation. |
Specialization of PlotShape for an arc.
An arc has a start coordinate, width, height, start angle, span angle, and orientation. Getting/setting coordinates MUST be in the order: [start, widthHeight]. The other attributes must be set manually.
Definition at line 279 of file PlotShape.h.
casa::PlotShapeArc::PlotShapeArc | ( | ) | [inline] |
Constructor.
Definition at line 282 of file PlotShape.h.
virtual casa::PlotShapeArc::~PlotShapeArc | ( | ) | [inline, virtual] |
Destructor.
Definition at line 285 of file PlotShape.h.
virtual int casa::PlotShapeArc::orientation | ( | ) | const [pure virtual] |
Returns the orientation.
virtual void casa::PlotShapeArc::setOrientation | ( | int | o | ) | [pure virtual] |
Sets the orientation.
virtual void casa::PlotShapeArc::setSpanAngle | ( | int | spanAngle | ) | [pure virtual] |
Sets the span angle.
virtual void casa::PlotShapeArc::setStartAngle | ( | int | startAngle | ) | [pure virtual] |
Sets the start angle.
virtual void casa::PlotShapeArc::setStartCoordinate | ( | const PlotCoordinate & | coord | ) | [pure virtual] |
Sets the start coordinate to the given.
virtual void casa::PlotShapeArc::setWidthHeight | ( | double | width, |
double | height | ||
) | [inline, virtual] |
Sets the width and height to the given.
Definition at line 298 of file PlotShape.h.
virtual void casa::PlotShapeArc::setWidthHeight | ( | const PlotCoordinate & | widthHeight | ) | [pure virtual] |
Sets the width and height as a PlotCoordinate.
virtual int casa::PlotShapeArc::spanAngle | ( | ) | const [pure virtual] |
Returns the span angle.
virtual int casa::PlotShapeArc::startAngle | ( | ) | const [pure virtual] |
Returns the start angle.
virtual PlotCoordinate casa::PlotShapeArc::startCoordinate | ( | ) | const [pure virtual] |
Returns the start coordinate.
virtual PlotCoordinate casa::PlotShapeArc::widthHeight | ( | ) | const [pure virtual] |
Returns the width and height as a PlotCoordinate.