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

casacore::Data that adds masking functionality on top of normal point data. More...

#include <PlotData.h>

Inheritance diagram for casa::PlotMaskedPointData:
casa::PlotPointData casa::PlotData casa::PlotMaskedPointDataImpl< T > casa::PlotMSIndexer casa::PlotMSRaDecIndexer

Public Member Functions

 PlotMaskedPointData ()
 
virtual ~PlotMaskedPointData ()
 
virtual unsigned int sizeMasked () const =0
 ABSTRACT METHODS //. More...
 
virtual unsigned int sizeUnmasked () const =0
 Returns the number of unmasked points. More...
 
virtual bool maskedAt (unsigned int index) const =0
 Returns whether the data is masked at the given point or not. More...
 
virtual bool maskedMinsMaxes (double &xMin, double &xMax, double &yMin, double &yMax)=0
 Gets the mins/maxes for just the masked points. More...
 
virtual bool unmaskedMinsMaxes (double &xMin, double &xMax, double &yMin, double &yMax)=0
 Gets the mins/maxes for just the unmasked points. More...
 
virtual bool reverseConnect (unsigned int index) const =0
 Returns whether data is plotted in reverse order (right to left), needed when connecting points. More...
 
virtual bool plotConjugates () const =0
 Returns whether to plot conjugate data (e.g. More...
 
virtual void xyAndMaskAt (unsigned int index, double &x, double &y, bool &mask) const
 IMPLEMENTED METHODS //. More...
 
- Public Member Functions inherited from casa::PlotPointData
 PlotPointData ()
 
virtual ~PlotPointData ()
 
virtual unsigned int size () const =0
 ABSTRACT METHODS //. More...
 
virtual double xAt (unsigned int i) const =0
 Returns the x value at the given index. More...
 
virtual double yAt (unsigned int i) const =0
 Returns the y value at the given index. More...
 
virtual bool minsMaxes (double &xMin, double &xMax, double &yMin, double &yMax)=0
 Gets the minimum and maximum values. More...
 
virtual void xAndYAt (unsigned int index, double &x, double &y) const
 IMPLEMENTED METHODS //. More...
 
- Public Member Functions inherited from casa::PlotData
 PlotData ()
 
virtual ~PlotData ()
 
virtual bool isValid () const =0
 ABSTRACT METHODS //. More...
 
virtual bool willDeleteData () const =0
 Returns whether this object will delete its underlying data structures upon deconstruction or not. More...
 
virtual void setDeleteData (bool del=true)=0
 Sets whether this object will delete its underlying data structures upon deconstruction or not. More...
 

Detailed Description

casacore::Data that adds masking functionality on top of normal point data.

Definition at line 135 of file PlotData.h.

Constructor & Destructor Documentation

casa::PlotMaskedPointData::PlotMaskedPointData ( )
inline

Definition at line 137 of file PlotData.h.

virtual casa::PlotMaskedPointData::~PlotMaskedPointData ( )
inlinevirtual

Definition at line 139 of file PlotData.h.

Member Function Documentation

virtual bool casa::PlotMaskedPointData::maskedAt ( unsigned int  index) const
pure virtual

Returns whether the data is masked at the given point or not.

Implemented in casa::PlotMaskedPointDataImpl< T >, and casa::PlotMSIndexer.

virtual bool casa::PlotMaskedPointData::maskedMinsMaxes ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax 
)
pure virtual

Gets the mins/maxes for just the masked points.

Implemented in casa::PlotMaskedPointDataImpl< T >, and casa::PlotMSIndexer.

virtual bool casa::PlotMaskedPointData::plotConjugates ( ) const
pure virtual

Returns whether to plot conjugate data (e.g.

UV plots)

Implemented in casa::PlotMaskedPointDataImpl< T >, and casa::PlotMSIndexer.

virtual bool casa::PlotMaskedPointData::reverseConnect ( unsigned int  index) const
pure virtual

Returns whether data is plotted in reverse order (right to left), needed when connecting points.

Implemented in casa::PlotMaskedPointDataImpl< T >, and casa::PlotMSIndexer.

virtual unsigned int casa::PlotMaskedPointData::sizeMasked ( ) const
pure virtual

ABSTRACT METHODS //.

Returns the number of masked points.

Implemented in casa::PlotMaskedPointDataImpl< T >, and casa::PlotMSIndexer.

virtual unsigned int casa::PlotMaskedPointData::sizeUnmasked ( ) const
pure virtual

Returns the number of unmasked points.

Implemented in casa::PlotMaskedPointDataImpl< T >, and casa::PlotMSIndexer.

virtual bool casa::PlotMaskedPointData::unmaskedMinsMaxes ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax 
)
pure virtual

Gets the mins/maxes for just the unmasked points.

Implemented in casa::PlotMaskedPointDataImpl< T >, and casa::PlotMSIndexer.

virtual void casa::PlotMaskedPointData::xyAndMaskAt ( unsigned int  index,
double &  x,
double &  y,
bool &  mask 
) const
virtual

IMPLEMENTED METHODS //.

Gets the x and y values and the mask at the given index. See PlotPointData::xAndYAt().

Reimplemented in casa::PlotMSRaDecIndexer, and casa::PlotMSIndexer.


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