casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Protected Attributes | List of all members
casa::PlotAreaFill Class Referenceabstract

Abstract class for area fill. More...

#include <PlotOptions.h>

Public Types

enum  Pattern {
  FILL,
  MESH1,
  MESH2,
  MESH3,
  NOFILL
}
 Pattern enum, similar in spirit to http://doc.trolltech.com/4.3/qt.html#BrushStyle-enum. More...
 

Public Member Functions

 PlotAreaFill ()
 Constructor. More...
 
virtual ~PlotAreaFill ()
 Destructor. More...
 
virtual PlotColorPtr color () const =0
 ABSTRACT METHODS //. More...
 
virtual void setColor (const PlotColor &color)=0
 Sets the area fill color to the given. More...
 
virtual Pattern pattern () const =0
 Returns the pattern for this area fill. More...
 
virtual void setPattern (Pattern pattern)=0
 Sets the pattern for this area fill to the given. More...
 
virtual void setPattern (const casacore::String &descriptor)
 
virtual void setColor (const PlotColorPtr c)
 CONVENIENCE METHODS //. More...
 
virtual void setColor (const casacore::String &co)
 
virtual casacore::Record toRecord () const
 RECORD METHODS //. More...
 
virtual void fromRecord (const casacore::Record &record)
 
virtual PlotAreaFilloperator= (const PlotAreaFill &rh)
 OPERATORS //. More...
 
virtual bool operator== (const PlotAreaFill &rh) const
 Returns true if this PlotAreaFill is equal to the given; false otherwise. More...
 
virtual bool operator!= (const PlotAreaFill &rh) const
 Returns true if this PlotAreaFill is NOT equal to the given; false otherwise. More...
 

Static Protected Attributes

static const casacore::String REC_COLOR
 casacore::Record key names. More...
 
static const casacore::String REC_PATTERN
 

Detailed Description

Abstract class for area fill.

An area fill consists of a color and a pattern.

Definition at line 296 of file PlotOptions.h.

Member Enumeration Documentation

Pattern enum, similar in spirit to http://doc.trolltech.com/4.3/qt.html#BrushStyle-enum.

Enumerator
FILL 
MESH1 
MESH2 
MESH3 
NOFILL 

Definition at line 300 of file PlotOptions.h.

Constructor & Destructor Documentation

casa::PlotAreaFill::PlotAreaFill ( )

Constructor.

virtual casa::PlotAreaFill::~PlotAreaFill ( )
virtual

Destructor.

Member Function Documentation

virtual PlotColorPtr casa::PlotAreaFill::color ( ) const
pure virtual

ABSTRACT METHODS //.

Returns a copy of the color in this area fill.

virtual void casa::PlotAreaFill::fromRecord ( const casacore::Record record)
virtual
virtual bool casa::PlotAreaFill::operator!= ( const PlotAreaFill rh) const
virtual

Returns true if this PlotAreaFill is NOT equal to the given; false otherwise.

virtual PlotAreaFill& casa::PlotAreaFill::operator= ( const PlotAreaFill rh)
virtual

OPERATORS //.

Assigns the value of the given PlotAreaFill to this one.

virtual bool casa::PlotAreaFill::operator== ( const PlotAreaFill rh) const
virtual

Returns true if this PlotAreaFill is equal to the given; false otherwise.

virtual Pattern casa::PlotAreaFill::pattern ( ) const
pure virtual

Returns the pattern for this area fill.

virtual void casa::PlotAreaFill::setColor ( const PlotColor color)
pure virtual

Sets the area fill color to the given.

virtual void casa::PlotAreaFill::setColor ( const PlotColorPtr  c)
virtual

CONVENIENCE METHODS //.

Convenience methods for setting color.

virtual void casa::PlotAreaFill::setColor ( const casacore::String co)
virtual
virtual void casa::PlotAreaFill::setPattern ( Pattern  pattern)
pure virtual

Sets the pattern for this area fill to the given.

virtual void casa::PlotAreaFill::setPattern ( const casacore::String descriptor)
virtual
virtual casacore::Record casa::PlotAreaFill::toRecord ( ) const
virtual

RECORD METHODS //.

Gets/Sets the color as a Record.

Member Data Documentation

const casacore::String casa::PlotAreaFill::REC_COLOR
staticprotected

casacore::Record key names.

Definition at line 360 of file PlotOptions.h.

const casacore::String casa::PlotAreaFill::REC_PATTERN
staticprotected

Definition at line 361 of file PlotOptions.h.


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