casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::PlotShapeArc Class Reference

Specialization of PlotShape for an arc. More...

#include <PlotShape.h>

Inheritance diagram for casa::PlotShapeArc:
casa::PlotShape casa::PlotItem

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

Constructor.

Definition at line 282 of file PlotShape.h.

virtual casa::PlotShapeArc::~PlotShapeArc ( ) [inline, virtual]

Destructor.

Definition at line 285 of file PlotShape.h.


Member Function Documentation

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.


The documentation for this class was generated from the following file: