casa::ColoredPlot Class Reference

#include <Plot.h>

Inheritance diagram for casa::ColoredPlot:

Inheritance graph
[legend]
Collaboration diagram for casa::ColoredPlot:

Collaboration graph
[legend]
List of all members.

Detailed Description

An color plot is a scatter plot with differentiated colors for points in different bins.

It is expected to consist of PlotBinnedData.

Definition at line 440 of file Plot.h.

Public Member Functions

 ColoredPlot ()
 Constructor.
virtual ~ColoredPlot ()
 Destructor.
virtual PlotPointDataPtr pointData () const
 Overrides ScatterPlot::pointData().
virtual PlotBinnedDataPtr binnedColorData () const=0
 ABSTRACT METHODS //.
virtual PlotColorPtr colorForBin (unsigned int bin) const =0
 Returns the color to use for the bin at the given index.
virtual void setColorForBin (unsigned int bin, const PlotColorPtr color)=0
 Sets the color to use for the bin at the given index.


Constructor & Destructor Documentation

casa::ColoredPlot::ColoredPlot (  )  [inline]

Constructor.

Definition at line 443 of file Plot.h.

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

Destructor.

Definition at line 446 of file Plot.h.


Member Function Documentation

virtual PlotPointDataPtr casa::ColoredPlot::pointData (  )  const [inline, virtual]

Overrides ScatterPlot::pointData().

Implements casa::ScatterPlot.

Definition at line 450 of file Plot.h.

References binnedColorData().

virtual PlotBinnedDataPtr casa::ColoredPlot::binnedColorData (  )  const [pure virtual]

ABSTRACT METHODS //.

Returns the binned data used for this plot.

Referenced by pointData().

virtual PlotColorPtr casa::ColoredPlot::colorForBin ( unsigned int  bin  )  const [pure virtual]

Returns the color to use for the bin at the given index.

The color applies to the symbol fill color.

virtual void casa::ColoredPlot::setColorForBin ( unsigned int  bin,
const PlotColorPtr  color 
) [pure virtual]

Sets the color to use for the bin at the given index.

The color applies to the symbol fill color.


The documentation for this class was generated from the following file:
Generated on Thu Aug 27 21:28:01 2009 for NRAOCASA by  doxygen 1.5.1