casa
5.7.0-16
|
Default implementation of PlotMaskedPointData using default containers. More...
#include <PlotData.h>
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 |
Default implementation of PlotMaskedPointData using default containers.
Definition at line 564 of file PlotData.h.
|
inline |
X/Y constructors.
Definition at line 569 of file PlotData.h.
|
inline |
Definition at line 574 of file PlotData.h.
|
inline |
Definition at line 579 of file PlotData.h.
|
inline |
Y constructors.
Definition at line 588 of file PlotData.h.
|
inline |
Definition at line 593 of file PlotData.h.
|
inline |
Definition at line 598 of file PlotData.h.
|
inline |
Destructor.
Definition at line 606 of file PlotData.h.
References casa::PlotMaskedPointDataImpl< T >::m_maskArray, casa::PlotMaskedPointDataImpl< T >::m_maskCVector, casa::PlotMaskedPointDataImpl< T >::m_maskVector, and casa::PlotMaskedPointDataImpl< T >::m_shouldDeleteMask.
|
inlineprivate |
Helper for mins/maxes.
Definition at line 677 of file PlotData.h.
References casa::PlotPointDataImpl< T >::isValid(), casa::PlotMaskedPointDataImpl< T >::m_maskArray, casa::PlotMaskedPointDataImpl< T >::m_maskCVector, casa::PlotMaskedPointDataImpl< T >::m_maskVector, casa::PlotMaskedPointDataImpl< T >::maskedAt(), casa::PlotPointDataImpl< T >::minsMaxes(), casa::PlotPointDataImpl< T >::size(), casa::PlotPointDataImpl< T >::xAt(), and casa::PlotPointDataImpl< T >::yAt().
Referenced by casa::PlotMaskedPointDataImpl< T >::maskedMinsMaxes(), and casa::PlotMaskedPointDataImpl< T >::unmaskedMinsMaxes().
|
inlinevirtual |
Implements PlotMaskedPointData::maskedAt().
Implements casa::PlotMaskedPointData.
Definition at line 634 of file PlotData.h.
References casa::PlotMaskedPointDataImpl< T >::m_maskArray, casa::PlotMaskedPointDataImpl< T >::m_maskCVector, and casa::PlotMaskedPointDataImpl< T >::m_maskVector.
Referenced by casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes().
|
inlinevirtual |
Implements PlotMaskedPointData::maskedMinsMaxes().
Implements casa::PlotMaskedPointData.
Definition at line 642 of file PlotData.h.
References casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes().
|
inlinevirtual |
Returns whether to plot conjugate data (e.g.
UV plots)
Implements casa::PlotMaskedPointData.
Definition at line 615 of file PlotData.h.
|
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.
|
inlinevirtual |
Overrides PlotPointDataImpl::setDeleteData().
Reimplemented from casa::PlotPointDataImpl< T >.
Definition at line 622 of file PlotData.h.
References casa::PlotMaskedPointDataImpl< T >::m_shouldDeleteMask, and casa::PlotPointDataImpl< T >::setDeleteData().
|
inlinevirtual |
Implements PlotMaskedPointData::sizeMasked().
Implements casa::PlotMaskedPointData.
Definition at line 628 of file PlotData.h.
References casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked().
|
inlineprivate |
Helper for size.
Definition at line 659 of file PlotData.h.
References casa::PlotMaskedPointDataImpl< T >::m_maskArray, casa::PlotMaskedPointDataImpl< T >::m_maskArraySize, casa::PlotMaskedPointDataImpl< T >::m_maskCVector, casa::PlotMaskedPointDataImpl< T >::m_maskVector, casacore::min(), casacore::ArrayBase::size(), and casa::PlotPointDataImpl< T >::size().
Referenced by casa::PlotMaskedPointDataImpl< T >::sizeMasked(), and casa::PlotMaskedPointDataImpl< T >::sizeUnmasked().
|
inlinevirtual |
Implements PlotMaskedPointData::sizeUnmasked().
Implements casa::PlotMaskedPointData.
Definition at line 631 of file PlotData.h.
References casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked().
|
inlinevirtual |
Implements PlotMaskedPointData::unmaskedMinsMaxes().
Implements casa::PlotMaskedPointData.
Definition at line 647 of file PlotData.h.
References casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes().
|
inlinevirtual |
Overrides PlotPointDataImpl::willDeleteData().
Reimplemented from casa::PlotPointDataImpl< T >.
Definition at line 618 of file PlotData.h.
References casa::PlotMaskedPointDataImpl< T >::m_shouldDeleteMask, and casa::PlotPointDataImpl< T >::willDeleteData().
|
private |
Definition at line 654 of file PlotData.h.
Referenced by casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes(), casa::PlotMaskedPointDataImpl< T >::maskedAt(), casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked(), and casa::PlotMaskedPointDataImpl< T >::~PlotMaskedPointDataImpl().
|
private |
Definition at line 655 of file PlotData.h.
Referenced by casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked().
|
private |
Definition at line 653 of file PlotData.h.
Referenced by casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes(), casa::PlotMaskedPointDataImpl< T >::maskedAt(), casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked(), and casa::PlotMaskedPointDataImpl< T >::~PlotMaskedPointDataImpl().
|
private |
Definition at line 652 of file PlotData.h.
Referenced by casa::PlotMaskedPointDataImpl< T >::getMaskedOrUnmaskedMinsMaxes(), casa::PlotMaskedPointDataImpl< T >::maskedAt(), casa::PlotMaskedPointDataImpl< T >::sizeMaskedOrUnmasked(), and casa::PlotMaskedPointDataImpl< T >::~PlotMaskedPointDataImpl().
|
private |
Definition at line 656 of file PlotData.h.
Referenced by casa::PlotMaskedPointDataImpl< T >::setDeleteData(), casa::PlotMaskedPointDataImpl< T >::willDeleteData(), and casa::PlotMaskedPointDataImpl< T >::~PlotMaskedPointDataImpl().