casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casa::PlotMaskedPointDataImpl< T > Class Template Reference

Default implementation of PlotMaskedPointData using default containers. More...

#include <PlotData.h>

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

Public Member Functions

 PlotMaskedPointDataImpl (std::vector< T > &x, std::vector< T > &y, std::vector< bool > &mask, bool shouldDelete=false)
 X/Y constructors. More...
 
 PlotMaskedPointDataImpl (casacore::Vector< T > &x, casacore::Vector< T > &y, casacore::Vector< bool > &mask, bool shouldDelete=false)
 
 PlotMaskedPointDataImpl (T *&x, T *&y, bool *&mask, unsigned int size, bool shouldDel=false)
 
 PlotMaskedPointDataImpl (std::vector< T > &y, std::vector< bool > &mask, bool shouldDelete=false)
 Y constructors. More...
 
 PlotMaskedPointDataImpl (casacore::Vector< T > &y, casacore::Vector< bool > &mask, bool shouldDelete=false)
 
 PlotMaskedPointDataImpl (T *&y, bool *&mask, unsigned int size, bool shouldDel=false)
 
 ~PlotMaskedPointDataImpl ()
 Destructor. More...
 
virtual bool reverseConnect (unsigned int) const
 Returns whether data is plotted in reverse order (right to left), needed when connecting points. More...
 
virtual bool plotConjugates () const
 Returns whether to plot conjugate data (e.g. More...
 
bool willDeleteData () const
 Overrides PlotPointDataImpl::willDeleteData(). More...
 
void setDeleteData (bool del=true)
 Overrides PlotPointDataImpl::setDeleteData(). More...
 
unsigned int sizeMasked () const
 Implements PlotMaskedPointData::sizeMasked(). More...
 
unsigned int sizeUnmasked () const
 Implements PlotMaskedPointData::sizeUnmasked(). More...
 
bool maskedAt (unsigned int index) const
 Implements PlotMaskedPointData::maskedAt(). More...
 
bool maskedMinsMaxes (double &xMin, double &xMax, double &yMin, double &yMax)
 Implements PlotMaskedPointData::maskedMinsMaxes(). More...
 
bool unmaskedMinsMaxes (double &xMin, double &xMax, double &yMin, double &yMax)
 Implements PlotMaskedPointData::unmaskedMinsMaxes(). More...
 
- Public Member Functions inherited from casa::PlotMaskedPointData
 PlotMaskedPointData ()
 
virtual ~PlotMaskedPointData ()
 
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 void xAndYAt (unsigned int index, double &x, double &y) const
 IMPLEMENTED METHODS //. More...
 
- Public Member Functions inherited from casa::PlotData
 PlotData ()
 
virtual ~PlotData ()
 
- Public Member Functions inherited from casa::PlotPointDataImpl< T >
 PlotPointDataImpl (std::vector< T > &x, std::vector< T > &y, bool shouldDelete=false)
 X/Y constructors. More...
 
 PlotPointDataImpl (casacore::Vector< T > &x, casacore::Vector< T > &y, bool shouldDelete=false)
 
 PlotPointDataImpl (T *&x, T *&y, unsigned int size, bool shouldDel=false)
 
 PlotPointDataImpl (std::vector< T > &y, bool shouldDelete=false)
 Y constructors. More...
 
 PlotPointDataImpl (casacore::Vector< T > &y, bool shouldDelete=false)
 
 PlotPointDataImpl (T *&y, unsigned int size, bool shouldDel=false)
 
virtual ~PlotPointDataImpl ()
 
bool isValid () const
 Implements PlotData::isValid(). More...
 
unsigned int size () const
 Implements PlotPointData::size(). More...
 
double xAt (unsigned int i) const
 Implements PlotPointData::xAt(). More...
 
double yAt (unsigned int i) const
 Implements PlotPointData::yAt(). More...
 
bool minsMaxes (double &xMin, double &xMax, double &yMin, double &yMax)
 Implements PlotPointData::minsMaxes(). More...
 

Private Member Functions

unsigned int sizeMaskedOrUnmasked (bool masked) const
 Helper for size. More...
 
bool getMaskedOrUnmaskedMinsMaxes (double &xMin, double &xMax, double &yMin, double &yMax, bool masked)
 Helper for mins/maxes. More...
 

Private Attributes

std::vector< bool > * m_maskVector
 
casacore::Vector< bool > * m_maskCVector
 
bool * m_maskArray
 
unsigned int m_maskArraySize
 
bool m_shouldDeleteMask
 

Detailed Description

template<class T>
class casa::PlotMaskedPointDataImpl< T >

Default implementation of PlotMaskedPointData using default containers.

Definition at line 564 of file PlotData.h.

Constructor & Destructor Documentation

template<class T >
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( std::vector< T > &  x,
std::vector< T > &  y,
std::vector< bool > &  mask,
bool  shouldDelete = false 
)
inline

X/Y constructors.

Definition at line 569 of file PlotData.h.

template<class T >
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( casacore::Vector< T > &  x,
casacore::Vector< T > &  y,
casacore::Vector< bool > &  mask,
bool  shouldDelete = false 
)
inline

Definition at line 574 of file PlotData.h.

template<class T >
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( T *&  x,
T *&  y,
bool *&  mask,
unsigned int  size,
bool  shouldDel = false 
)
inline

Definition at line 579 of file PlotData.h.

template<class T >
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( std::vector< T > &  y,
std::vector< bool > &  mask,
bool  shouldDelete = false 
)
inline

Y constructors.

Definition at line 588 of file PlotData.h.

template<class T >
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( casacore::Vector< T > &  y,
casacore::Vector< bool > &  mask,
bool  shouldDelete = false 
)
inline

Definition at line 593 of file PlotData.h.

template<class T >
casa::PlotMaskedPointDataImpl< T >::PlotMaskedPointDataImpl ( T *&  y,
bool *&  mask,
unsigned int  size,
bool  shouldDel = false 
)
inline

Definition at line 598 of file PlotData.h.

template<class T >
casa::PlotMaskedPointDataImpl< T >::~PlotMaskedPointDataImpl ( )
inline

Member Function Documentation

template<class T >
bool casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax,
bool  masked 
)
inlineprivate
template<class T >
bool casa::PlotMaskedPointDataImpl< T >::maskedAt ( unsigned int  index) const
inlinevirtual
template<class T >
bool casa::PlotMaskedPointDataImpl< T >::maskedMinsMaxes ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax 
)
inlinevirtual
template<class T >
virtual bool casa::PlotMaskedPointDataImpl< T >::plotConjugates ( ) const
inlinevirtual

Returns whether to plot conjugate data (e.g.

UV plots)

Implements casa::PlotMaskedPointData.

Definition at line 615 of file PlotData.h.

template<class T >
virtual bool casa::PlotMaskedPointDataImpl< T >::reverseConnect ( unsigned  index) const
inlinevirtual

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

Implements casa::PlotMaskedPointData.

Definition at line 614 of file PlotData.h.

template<class T >
void casa::PlotMaskedPointDataImpl< T >::setDeleteData ( bool  del = true)
inlinevirtual
template<class T >
unsigned int casa::PlotMaskedPointDataImpl< T >::sizeMasked ( ) const
inlinevirtual
template<class T >
unsigned int casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked ( bool  masked) const
inlineprivate
template<class T >
unsigned int casa::PlotMaskedPointDataImpl< T >::sizeUnmasked ( ) const
inlinevirtual
template<class T >
bool casa::PlotMaskedPointDataImpl< T >::unmaskedMinsMaxes ( double &  xMin,
double &  xMax,
double &  yMin,
double &  yMax 
)
inlinevirtual
template<class T >
bool casa::PlotMaskedPointDataImpl< T >::willDeleteData ( ) const
inlinevirtual

Member Data Documentation

template<class T >
bool* casa::PlotMaskedPointDataImpl< T >::m_maskArray
private
template<class T >
unsigned int casa::PlotMaskedPointDataImpl< T >::m_maskArraySize
private
template<class T >
casacore::Vector<bool>* casa::PlotMaskedPointDataImpl< T >::m_maskCVector
private
template<class T >
std::vector<bool>* casa::PlotMaskedPointDataImpl< T >::m_maskVector
private
template<class T >
bool casa::PlotMaskedPointDataImpl< T >::m_shouldDeleteMask
private

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