casa
5.7.0-16
|
Abstract class for a line. More...
#include <PlotOptions.h>
Public Types | |
enum | Style { SOLID, DASHED, DOTTED, NOLINE } |
Static //. More... | |
Public Member Functions | |
PlotLine () | |
Non-Static //. More... | |
virtual | ~PlotLine () |
Destructor. More... | |
virtual double | width () const =0 |
ABSTRACT METHODS //. More... | |
virtual void | setWidth (double width)=0 |
Sets the width to the given. More... | |
virtual Style | style () const =0 |
Returns this line's style. More... | |
virtual void | setStyle (Style style)=0 |
Sets the style to the given. More... | |
virtual PlotColorPtr | color () const =0 |
Returns a copy of the color used for this line. More... | |
virtual void | setColor (const PlotColor &color)=0 |
Sets this line's color to the given. More... | |
virtual void | setColor (const PlotColorPtr c) |
CONVENIENCE METHODS //. More... | |
virtual void | setColor (const casacore::String &col) |
virtual casacore::Record | toRecord () const |
RECORD METHODS //. More... | |
virtual void | fromRecord (const casacore::Record &record) |
virtual PlotLine & | operator= (const PlotLine &rh) |
OPERATORS //. More... | |
virtual bool | operator== (const PlotLine &rh) const |
Returns true if this PlotLine is equal to the given; false otherwise. More... | |
virtual bool | operator!= (const PlotLine &rh) const |
Returns true if this PlotLine is NOT equal to the given; false otherwise. More... | |
Static Protected Attributes | |
static const casacore::String | REC_WIDTH |
casacore::Record key names. More... | |
static const casacore::String | REC_STYLE |
static const casacore::String | REC_COLOR |
Abstract class for a line.
A line has a color, style, and width.
Definition at line 368 of file PlotOptions.h.
Static //.
Line styles.
Enumerator | |
---|---|
SOLID | |
DASHED | |
DOTTED | |
NOLINE |
Definition at line 373 of file PlotOptions.h.
casa::PlotLine::PlotLine | ( | ) |
Non-Static //.
Constructor.
|
virtual |
Destructor.
|
pure virtual |
Returns a copy of the color used for this line.
|
virtual |
|
virtual |
Returns true if this PlotLine is NOT equal to the given; false otherwise.
OPERATORS //.
Assigns the value of the given PlotLine to this one.
|
virtual |
Returns true if this PlotLine is equal to the given; false otherwise.
|
pure virtual |
Sets this line's color to the given.
|
virtual |
CONVENIENCE METHODS //.
Convenience methods for setting color.
|
virtual |
|
pure virtual |
Sets the style to the given.
|
pure virtual |
Sets the width to the given.
|
pure virtual |
Returns this line's style.
|
virtual |
RECORD METHODS //.
Gets/Sets the color as a Record.
|
pure virtual |
ABSTRACT METHODS //.
Returns this line's width.
|
staticprotected |
Definition at line 443 of file PlotOptions.h.
|
staticprotected |
Definition at line 442 of file PlotOptions.h.
|
staticprotected |
casacore::Record key names.
Definition at line 441 of file PlotOptions.h.