casa
5.7.0-16
|
Subclass of PlotMSPlotParameters::Group to handle display parameters. More...
#include <PlotMSPlotParameterGroups.h>
Public Member Functions | |
PMS_PP_Display (PlotFactoryPtr factory) | |
PMS_PP_Display (const PMS_PP_Display ©) | |
~PMS_PP_Display () | |
Group * | clone () const |
Abstract Methods //. More... | |
const casacore::String & | name () const |
Returns the name of this group of subparameters. More... | |
casacore::Record | toRecord () const |
Returns a casacore::Record representing this group of subparameters. More... | |
void | fromRecord (const casacore::Record &record) |
Sets the values for this group of subparameters using the given Record. More... | |
bool | requiresRedrawOnChange () const |
Returns true if the plot needs to be redrawn when subpamarameters in this group have changed, false otherwise. More... | |
PMS_PP_Display & | operator= (const Group &other) |
PMS_PP_Display & | operator= (const PMS_PP_Display &other) |
bool | operator== (const Group &other) const |
void | setColorize (const bool &colorize, const PMS::Axis &axis, unsigned int index=0) |
void | resizeVectors (unsigned int newSize) |
const vector< PlotSymbolPtr > & | unflaggedSymbols () const |
void | setUnflaggedSymbols (const vector< PlotSymbolPtr > &value) |
PlotSymbolPtr | unflaggedSymbol (unsigned int index=0) const |
void | setUnflaggedSymbol (const PlotSymbolPtr &value, unsigned int index=0) |
const vector< PlotSymbolPtr > & | flaggedSymbols () const |
void | setFlaggedSymbols (const vector< PlotSymbolPtr > &value) |
PlotSymbolPtr | flaggedSymbol (unsigned int index=0) const |
void | setFlaggedSymbol (const PlotSymbolPtr &value, unsigned int index=0) |
const vector< PlotMSLabelFormat > & | titleFormats () const |
void | setTitleFormats (const vector< PlotMSLabelFormat > &value) |
const PlotMSLabelFormat & | titleFormat (unsigned int index=0) const |
void | setTitleFormat (const PlotMSLabelFormat &value, unsigned int index=0) |
const vector< bool > & | colorizeFlags () const |
void | setColorize (const vector< bool > &value) |
bool | colorizeFlag (unsigned int index=0) const |
void | setColorize (const bool &value, unsigned int index=0) |
const vector< PMS::Axis > & | colorizeAxes () const |
void | setColorize (const vector< PMS::Axis > &value) |
PMS::Axis | colorizeAxis (unsigned int index=0) const |
void | setColorize (const PMS::Axis &value, unsigned int index=0) |
void | setConnect (const casacore::String &xconnect, const bool &timeconnect, unsigned int index=0) |
const vector< casacore::String > & | xConnects () const |
void | setXConnects (const vector< casacore::String > &value) |
casacore::String | xConnect (unsigned int index=0) const |
void | setXConnect (const casacore::String &value, unsigned int index=0) |
const vector< bool > & | timeConnects () const |
void | setTimeConnects (const vector< bool > &value) |
bool | timeConnect (unsigned int index=0) const |
void | setTimeConnect (const bool &value, unsigned int index=0) |
Public Member Functions inherited from casa::PlotMSPlotParameters::Group | |
Group (PlotFactoryPtr factory) | |
Constructor which takes a plot factory. More... | |
Group (const Group ©) | |
Copy constructor. More... | |
virtual | ~Group () |
Destructor. More... | |
virtual Group & | operator= (const Group &other) |
Implemented Methods //. More... | |
virtual bool | operator== (const Group &other) const |
Equality operators. More... | |
virtual bool | operator!= (const Group &other) const |
Private Member Functions | |
PMS_PP_Display & | assign (const PMS_PP_Display *o) |
void | setDefaults () |
Private Attributes | |
vector< PlotSymbolPtr > | itsUnflaggedSymbols_ |
vector< PlotSymbolPtr > | itsFlaggedSymbols_ |
vector< PlotMSLabelFormat > | itsTitleFormats_ |
vector< bool > | itsColorizeFlags_ |
vector< PMS::Axis > | itsColorizeAxes_ |
vector< casacore::String > | itsXConnects_ |
vector< bool > | itsTimeConnects_ |
Static Private Attributes | |
static const casacore::String | REC_UNFLAGGEDS |
static const casacore::String | REC_FLAGGEDS |
static const casacore::String | REC_TITLES |
static const casacore::String | REC_COLFLAGS |
static const casacore::String | REC_COLAXES |
static const casacore::String | REC_XCONNECT |
static const casacore::String | REC_TIMECONNECT |
Additional Inherited Members | |
Static Public Member Functions inherited from casa::PlotMSPlotParameters::Group | |
static void | notifyWatchers (void *obj, bool wasCanceled) |
Post-thread method for notifying watchers that this group has changed. More... | |
Protected Member Functions inherited from casa::PlotMSPlotParameters::Group | |
void | updated () |
Should be called by the child class whenever any of the subparameter values have been updated. More... | |
void | updated (bool requiresRedraw) |
PlotMSPlotParameters * | parent () |
Returns the parent parameters, or NULL for none. More... | |
const PlotMSPlotParameters * | parent () const |
PlotFactoryPtr | factory () |
Returns the factory. More... | |
const PlotFactoryPtr | factory () const |
Subclass of PlotMSPlotParameters::Group to handle display parameters.
Currently includes: flagged and unflagged symbols plot title format colorize flag and axis xconnect and timeconnect (connect points on plot along x- or time-axis) Parameters are vector-based, on a per-plot basis.
Definition at line 1397 of file PlotMSPlotParameterGroups.h.
casa::PMS_PP_Display::PMS_PP_Display | ( | PlotFactoryPtr | factory | ) |
Referenced by clone().
casa::PMS_PP_Display::PMS_PP_Display | ( | const PMS_PP_Display & | copy | ) |
casa::PMS_PP_Display::~PMS_PP_Display | ( | ) |
|
private |
|
inlinevirtual |
Abstract Methods //.
Returns a clone (deep copy) of this group of subparameters.
Implements casa::PlotMSPlotParameters::Group.
Definition at line 1410 of file PlotMSPlotParameterGroups.h.
References PMS_PP_Display().
|
inline |
Definition at line 1533 of file PlotMSPlotParameterGroups.h.
References itsColorizeAxes_.
|
inline |
Definition at line 1542 of file PlotMSPlotParameterGroups.h.
References itsColorizeAxes_.
|
inline |
Definition at line 1526 of file PlotMSPlotParameterGroups.h.
References itsColorizeFlags_.
|
inline |
Definition at line 1517 of file PlotMSPlotParameterGroups.h.
References itsColorizeFlags_.
|
inline |
Definition at line 1481 of file PlotMSPlotParameterGroups.h.
References casa::PMS::DEFAULT_FLAGGED_SYMBOL(), casa::PlotMSPlotParameters::Group::factory(), flaggedSymbols(), and itsFlaggedSymbols_.
|
inline |
Definition at line 1472 of file PlotMSPlotParameterGroups.h.
References itsFlaggedSymbols_.
Referenced by flaggedSymbol().
|
virtual |
Sets the values for this group of subparameters using the given Record.
Implements casa::PlotMSPlotParameters::Group.
|
inlinevirtual |
Returns the name of this group of subparameters.
Will be used as an update flag.
Implements casa::PlotMSPlotParameters::Group.
Definition at line 1415 of file PlotMSPlotParameterGroups.h.
References casa::PMS_PP::UPDATE_DISPLAY_NAME.
PMS_PP_Display& casa::PMS_PP_Display::operator= | ( | const Group & | other | ) |
PMS_PP_Display& casa::PMS_PP_Display::operator= | ( | const PMS_PP_Display & | other | ) |
bool casa::PMS_PP_Display::operator== | ( | const Group & | other | ) | const |
|
inlinevirtual |
Returns true if the plot needs to be redrawn when subpamarameters in this group have changed, false otherwise.
Implements casa::PlotMSPlotParameters::Group.
Definition at line 1427 of file PlotMSPlotParameterGroups.h.
void casa::PMS_PP_Display::resizeVectors | ( | unsigned int | newSize | ) |
void casa::PMS_PP_Display::setColorize | ( | const bool & | colorize, |
const PMS::Axis & | axis, | ||
unsigned int | index = 0 |
||
) |
|
inline |
Definition at line 1520 of file PlotMSPlotParameterGroups.h.
References itsColorizeFlags_, casa::PlotMSPlotParameters::Group::updated(), and casacore::value().
void casa::PMS_PP_Display::setColorize | ( | const bool & | value, |
unsigned int | index = 0 |
||
) |
|
inline |
Definition at line 1536 of file PlotMSPlotParameterGroups.h.
References itsColorizeAxes_, casa::PlotMSPlotParameters::Group::updated(), and casacore::value().
|
inline |
Definition at line 1547 of file PlotMSPlotParameterGroups.h.
References itsColorizeAxes_, casa::PlotMSPlotParameters::Group::updated(), and casacore::value().
void casa::PMS_PP_Display::setConnect | ( | const casacore::String & | xconnect, |
const bool & | timeconnect, | ||
unsigned int | index = 0 |
||
) |
|
private |
void casa::PMS_PP_Display::setFlaggedSymbol | ( | const PlotSymbolPtr & | value, |
unsigned int | index = 0 |
||
) |
|
inline |
Definition at line 1475 of file PlotMSPlotParameterGroups.h.
References itsFlaggedSymbols_, casa::PlotMSPlotParameters::Group::updated(), and casacore::value().
|
inline |
Definition at line 1596 of file PlotMSPlotParameterGroups.h.
References itsTimeConnects_, casa::PlotMSPlotParameters::Group::updated(), and casacore::value().
|
inline |
Definition at line 1585 of file PlotMSPlotParameterGroups.h.
References itsTimeConnects_, casa::PlotMSPlotParameters::Group::updated(), and casacore::value().
|
inline |
Definition at line 1508 of file PlotMSPlotParameterGroups.h.
References itsTitleFormats_, casa::PlotMSPlotParameters::Group::updated(), and casacore::value().
|
inline |
Definition at line 1499 of file PlotMSPlotParameterGroups.h.
References itsTitleFormats_, casa::PlotMSPlotParameters::Group::updated(), and casacore::value().
void casa::PMS_PP_Display::setUnflaggedSymbol | ( | const PlotSymbolPtr & | value, |
unsigned int | index = 0 |
||
) |
|
inline |
Definition at line 1451 of file PlotMSPlotParameterGroups.h.
References itsUnflaggedSymbols_, casa::PlotMSPlotParameters::Group::updated(), and casacore::value().
|
inline |
Definition at line 1573 of file PlotMSPlotParameterGroups.h.
References itsXConnects_, casa::PlotMSPlotParameters::Group::updated(), and casacore::value().
|
inline |
Definition at line 1562 of file PlotMSPlotParameterGroups.h.
References itsXConnects_, casa::PlotMSPlotParameters::Group::updated(), and casacore::value().
|
inline |
Definition at line 1591 of file PlotMSPlotParameterGroups.h.
References itsTimeConnects_.
|
inline |
Definition at line 1582 of file PlotMSPlotParameterGroups.h.
References itsTimeConnects_.
|
inline |
Definition at line 1505 of file PlotMSPlotParameterGroups.h.
References itsTitleFormats_.
|
inline |
Definition at line 1496 of file PlotMSPlotParameterGroups.h.
References itsTitleFormats_.
|
virtual |
Returns a casacore::Record representing this group of subparameters.
Implements casa::PlotMSPlotParameters::Group.
|
inline |
Definition at line 1457 of file PlotMSPlotParameterGroups.h.
References casa::PMS::DEFAULT_UNFLAGGED_SYMBOL(), casa::PlotMSPlotParameters::Group::factory(), itsUnflaggedSymbols_, and unflaggedSymbols().
|
inline |
Definition at line 1448 of file PlotMSPlotParameterGroups.h.
References itsUnflaggedSymbols_.
Referenced by unflaggedSymbol().
|
inline |
Definition at line 1568 of file PlotMSPlotParameterGroups.h.
References itsXConnects_, and casacore::String::resize().
|
inline |
Definition at line 1559 of file PlotMSPlotParameterGroups.h.
References itsXConnects_.
|
private |
Definition at line 1616 of file PlotMSPlotParameterGroups.h.
Referenced by colorizeAxes(), colorizeAxis(), and setColorize().
|
private |
Definition at line 1615 of file PlotMSPlotParameterGroups.h.
Referenced by colorizeFlag(), colorizeFlags(), and setColorize().
|
private |
Definition at line 1613 of file PlotMSPlotParameterGroups.h.
Referenced by flaggedSymbol(), flaggedSymbols(), and setFlaggedSymbols().
|
private |
Definition at line 1618 of file PlotMSPlotParameterGroups.h.
Referenced by setTimeConnect(), setTimeConnects(), timeConnect(), and timeConnects().
|
private |
Definition at line 1614 of file PlotMSPlotParameterGroups.h.
Referenced by setTitleFormat(), setTitleFormats(), titleFormat(), and titleFormats().
|
private |
Definition at line 1612 of file PlotMSPlotParameterGroups.h.
Referenced by setUnflaggedSymbols(), unflaggedSymbol(), and unflaggedSymbols().
|
private |
Definition at line 1617 of file PlotMSPlotParameterGroups.h.
Referenced by setXConnect(), setXConnects(), xConnect(), and xConnects().
|
staticprivate |
Definition at line 1626 of file PlotMSPlotParameterGroups.h.
|
staticprivate |
Definition at line 1625 of file PlotMSPlotParameterGroups.h.
|
staticprivate |
Definition at line 1623 of file PlotMSPlotParameterGroups.h.
|
staticprivate |
Definition at line 1628 of file PlotMSPlotParameterGroups.h.
|
staticprivate |
Definition at line 1624 of file PlotMSPlotParameterGroups.h.
|
staticprivate |
Definition at line 1622 of file PlotMSPlotParameterGroups.h.
|
staticprivate |
Definition at line 1627 of file PlotMSPlotParameterGroups.h.