casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
PlotData.h File Reference
#include <graphics/GenericPlotter/PlotOptions.h>
#include <casa/Arrays/Matrix.h>
#include <casa/Arrays/Vector.h>
#include <casa/BasicSL/String.h>
#include <casa/Utilities/CountedPtr.h>

Go to the source code of this file.

Classes

class  casa::PlotData
 
class  casa::PlotSingleData
 A single source of data that basically provides indexing of its values. More...
 
class  casa::PlotPointData
 A source of data used to supply x and y values. More...
 
class  casa::PlotMaskedPointData
 casacore::Data that adds masking functionality on top of normal point data. More...
 
class  casa::PlotSingleDataImpl< T >
 
class  casa::PlotPointDataImpl< T >
 Default implementation of PlotPointData that supports raw arrays, vectors, and CASA Vectors. More...
 
class  casa::PlotHistogramData
 Specialized subclass of PlotPointData that creates histogram data from single point data. More...
 
class  casa::PlotMaskedPointDataImpl< T >
 Default implementation of PlotMaskedPointData using default containers. More...
 
class  casa::PlotScalarErrorDataImpl< T >
 Default implementation of PlotErrorData using standard containers, plus scalars for the four errors. More...
 
class  casa::PlotErrorDataImpl< T >
 Default implementation of PlotErrorData using standard containers, plus PlotPointDataImpls for the errors. More...
 
class  casa::PlotRasterMatrixData< T >
 Implementation of raster data using casa::Matrix. More...
 

Namespaces

 casa
 -*- mode: c++ -*-
 

Typedefs

typedef std::pair< double, double > casa::ppoint_t
 Typedef for a point, which is two doubles (x and y). More...
 
typedef casacore::CountedPtr
< PlotData > 
casa::PlotDataPtr
 
typedef PlotSingleDataImpl< int > casa::PlotSingleIntData
 
typedef PlotSingleDataImpl
< unsigned int > 
casa::PlotSingleUIntData
 
typedef PlotSingleDataImpl< float > casa::PlotSingleFloatData
 
typedef PlotSingleDataImpl
< double > 
casa::PlotSingleDoubleData
 
typedef PlotPointDataImpl< int > casa::PlotPointIntData
 
typedef PlotPointDataImpl
< unsigned int > 
casa::PlotPointUIntData
 
typedef PlotPointDataImpl< float > casa::PlotPointFloatData
 
typedef PlotPointDataImpl< double > casa::PlotPointDoubleData
 
typedef
PlotMaskedPointDataImpl< int > 
casa::PlotMaskedPointIntData
 
typedef
PlotMaskedPointDataImpl
< unsigned int > 
casa::PlotMaskedPointUIntData
 
typedef
PlotMaskedPointDataImpl< float > 
casa::PlotMaskedPointFloatData
 
typedef
PlotMaskedPointDataImpl
< double > 
casa::PlotMaskedPointDoubleData
 
typedef
PlotScalarErrorDataImpl< int > 
casa::PlotScalarErrorIntData
 
typedef
PlotScalarErrorDataImpl
< unsigned int > 
casa::PlotScalarErrorUIntData
 
typedef
PlotScalarErrorDataImpl< float > 
casa::PlotScalarErrorFloatData
 
typedef
PlotScalarErrorDataImpl
< double > 
casa::PlotScalarErrorDoubleData
 
typedef PlotErrorDataImpl< int > casa::PlotErrorIntData
 
typedef PlotErrorDataImpl
< unsigned int > 
casa::PlotErrorUIntData
 
typedef PlotErrorDataImpl< float > casa::PlotErrorFloatData
 
typedef PlotErrorDataImpl< double > casa::PlotErrorDoubleData
 

Enumerations

enum  casa::Origin {
  casa::LLEFT,
  casa::LRIGHT,
  casa::ULEFT,
  casa::URIGHT
}
 casacore::Data for raster plots, which can be thought of as three-dimensional. More...
 

Functions

 casa::INHERITANCE_POINTER (PlotMaskedPointData, PlotMaskedPointDataPtr, PlotPointData, PlotPointDataPtr, PlotData, PlotDataPtr) class PlotErrorData
 casacore::Data that adds error functionality on top of normal plot data. More...
 
virtual casa::~PlotErrorData ()
 
virtual double casa::xLeftErrorAt (unsigned int i) const =0
 ABSTRACT METHODS //. More...
 
virtual double casa::xRightErrorAt (unsigned int i) const =0
 Returns the "right" error for x at the given index. More...
 
virtual double casa::yBottomErrorAt (unsigned int i) const =0
 Returns the "bottom" error for y at the given index. More...
 
virtual double casa::yTopErrorAt (unsigned int i) const =0
 Returns the "top" error for y at the given index. More...
 
virtual bool casa::errorMaxes (double &xLeft, double &xRight, double &yBottom, double &yTop)=0
 Gets the maximum errors for the four sides. More...
 
virtual void casa::xyAndErrorsAt (unsigned int index, double &x, double &y, double &xLeftError, double &xRightError, double &yBottomError, double &yTopError) const
 IMPLEMENTED METHODS //. More...
 
 casa::INHERITANCE_POINTER (PlotErrorData, PlotErrorDataPtr, PlotPointData, PlotDataPtr, PlotData, PlotDataPtr) class PlotBinnedData
 casacore::Data that differentiates different points into different "bins" on top of normal point data functionality. More...
 
virtual casa::~PlotBinnedData ()
 Destructor. More...
 
virtual unsigned int casa::numBins () const =0
 ABSTRACT METHODS //. More...
 
virtual unsigned int casa::binAt (unsigned int i) const =0
 Returns the bin index number for the given index. More...
 
virtual unsigned int casa::connectBinAt (unsigned int i) const
 
virtual bool casa::isBinned () const
 IMPLEMENTED METHODS //. More...
 
 casa::PlotRasterData ()
 
virtual casa::~PlotRasterData ()
 
virtual Origin casa::origin () const =0
 ABSTRACT METHODS //. More...
 
virtual void casa::setOrigin (Origin o)=0
 Sets the data origin. More...
 
virtual prange_t casa::xRange () const =0
 Returns the range of x. More...
 
virtual prange_t casa::yRange () const =0
 Returns the range of y. More...
 
virtual void casa::setXRange (double from, double to)=0
 Sets the range of x. More...
 
virtual void casa::setYRange (double from, double to)=0
 Sets the range of y. More...
 
virtual prange_t casa::valueRange () const =0
 Returns the range of the data values. More...
 
virtual double casa::valueAt (double x, double y) const =0
 Returns the data value at the given (x,y) coordinate. More...
 
virtual std::vector< double > * casa::colorBarValues (unsigned int max=1000) const =0
 Gets color bar values. More...
 

Variables

ABSTRACT CLASSES Deliberately
vague to be general enough to
allow for many different types
of 
casa::data
 
ABSTRACT CLASSES Deliberately
vague to be general enough to
allow for many different types
of but is it too vague to be
useful Since the interface is
meant to be a simple 
casa::plotter
 
ABSTRACT CLASSES Deliberately
vague to be general enough to
allow for many different types
of but is it too vague to be
useful Since the interface is
meant to be a simple it may be
better to restrict PlotData to
be more like 
casa::PlotPointData
 
DEFAULT IMPLEMENTATIONS
Default implementation of
PlotSingleData that supports
raw 
casa::arrays
 
DEFAULT IMPLEMENTATIONS
Default implementation of
PlotSingleData that supports
raw 
casa::vectors