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 //. | |
const String & | name () const |
Returns the name of this group of subparameters. | |
Record | toRecord () const |
Returns a Record representing this group of subparameters. | |
void | fromRecord (const Record &record) |
Sets the values for this group of subparameters using the given Record. | |
bool | requiresRedrawOnChange () const |
Returns true if the plot needs to be redrawn when subpamarameters in this group have changed, false otherwise. | |
PMS_PP_Display & | operator= (const Group &other) |
PMS_PP_Display & | operator= (const PMS_PP_Display &other) |
Implemented Methods //. | |
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) |
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_ |
Static Private Attributes | |
static const String | REC_UNFLAGGEDS |
static const String | REC_FLAGGEDS |
static const String | REC_TITLES |
static const String | REC_COLFLAGS |
static const String | REC_COLAXES |
Subclass of PlotMSPlotParameters::Group to handle display parameters.
Currently includes: flagged and unflagged symbols plot title format colorize flag and axis Parameters are vector-based, on a per-plot basis.
Definition at line 1217 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 | ( | ) |
PMS_PP_Display& casa::PMS_PP_Display::assign | ( | const PMS_PP_Display * | o | ) | [private] |
Group* casa::PMS_PP_Display::clone | ( | ) | const [inline, virtual] |
Abstract Methods //.
Returns a clone (deep copy) of this group of subparameters.
Implements casa::PlotMSPlotParameters::Group.
Definition at line 1230 of file PlotMSPlotParameterGroups.h.
References PMS_PP_Display().
const vector< PMS::Axis >& casa::PMS_PP_Display::colorizeAxes | ( | ) | const [inline] |
Definition at line 1353 of file PlotMSPlotParameterGroups.h.
References itsColorizeAxes_.
PMS::Axis casa::PMS_PP_Display::colorizeAxis | ( | unsigned int | index = 0 |
) | const [inline] |
Definition at line 1362 of file PlotMSPlotParameterGroups.h.
References itsColorizeAxes_.
bool casa::PMS_PP_Display::colorizeFlag | ( | unsigned int | index = 0 |
) | const [inline] |
Definition at line 1346 of file PlotMSPlotParameterGroups.h.
References itsColorizeFlags_.
const vector< bool >& casa::PMS_PP_Display::colorizeFlags | ( | ) | const [inline] |
Definition at line 1337 of file PlotMSPlotParameterGroups.h.
References itsColorizeFlags_.
PlotSymbolPtr casa::PMS_PP_Display::flaggedSymbol | ( | unsigned int | index = 0 |
) | const [inline] |
Definition at line 1301 of file PlotMSPlotParameterGroups.h.
References casa::PMS::DEFAULT_FLAGGED_SYMBOL(), casa::PlotMSPlotParameters::Group::factory(), flaggedSymbols(), and itsFlaggedSymbols_.
const vector< PlotSymbolPtr >& casa::PMS_PP_Display::flaggedSymbols | ( | ) | const [inline] |
Definition at line 1292 of file PlotMSPlotParameterGroups.h.
References itsFlaggedSymbols_.
Referenced by flaggedSymbol().
void casa::PMS_PP_Display::fromRecord | ( | const Record & | record | ) | [virtual] |
Sets the values for this group of subparameters using the given Record.
Implements casa::PlotMSPlotParameters::Group.
const String& casa::PMS_PP_Display::name | ( | ) | const [inline, virtual] |
Returns the name of this group of subparameters.
Will be used as an update flag.
Implements casa::PlotMSPlotParameters::Group.
Definition at line 1235 of file PlotMSPlotParameterGroups.h.
References String, and casa::PMS_PP::UPDATE_DISPLAY_NAME.
PMS_PP_Display& casa::PMS_PP_Display::operator= | ( | const PMS_PP_Display & | other | ) | [virtual] |
Implemented Methods //.
Copy operator. Should probably be overridden by children to be more efficient. Only copies if the two groups have the same name.
Reimplemented from casa::PlotMSPlotParameters::Group.
PMS_PP_Display& casa::PMS_PP_Display::operator= | ( | const Group & | other | ) |
bool casa::PMS_PP_Display::operator== | ( | const Group & | other | ) | const |
bool casa::PMS_PP_Display::requiresRedrawOnChange | ( | ) | const [inline, virtual] |
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 1247 of file PlotMSPlotParameterGroups.h.
void casa::PMS_PP_Display::resizeVectors | ( | unsigned int | newSize | ) |
void casa::PMS_PP_Display::setColorize | ( | const PMS::Axis & | value, | |
unsigned int | index = 0 | |||
) | [inline] |
Definition at line 1368 of file PlotMSPlotParameterGroups.h.
References itsColorizeAxes_, and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Display::setColorize | ( | const vector< PMS::Axis > & | value | ) | [inline] |
Definition at line 1356 of file PlotMSPlotParameterGroups.h.
References itsColorizeAxes_, and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Display::setColorize | ( | const bool & | value, | |
unsigned int | index = 0 | |||
) |
void casa::PMS_PP_Display::setColorize | ( | const vector< bool > & | value | ) | [inline] |
Definition at line 1340 of file PlotMSPlotParameterGroups.h.
References itsColorizeFlags_, and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Display::setColorize | ( | const bool & | colorize, | |
const PMS::Axis & | axis, | |||
unsigned int | index = 0 | |||
) |
void casa::PMS_PP_Display::setDefaults | ( | ) | [private] |
void casa::PMS_PP_Display::setFlaggedSymbol | ( | const PlotSymbolPtr & | value, | |
unsigned int | index = 0 | |||
) |
void casa::PMS_PP_Display::setFlaggedSymbols | ( | const vector< PlotSymbolPtr > & | value | ) | [inline] |
Definition at line 1295 of file PlotMSPlotParameterGroups.h.
References itsFlaggedSymbols_, and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Display::setTitleFormat | ( | const PlotMSLabelFormat & | value, | |
unsigned int | index = 0 | |||
) | [inline] |
Definition at line 1328 of file PlotMSPlotParameterGroups.h.
References itsTitleFormats_, and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Display::setTitleFormats | ( | const vector< PlotMSLabelFormat > & | value | ) | [inline] |
Definition at line 1319 of file PlotMSPlotParameterGroups.h.
References itsTitleFormats_, and casa::PlotMSPlotParameters::Group::updated().
void casa::PMS_PP_Display::setUnflaggedSymbol | ( | const PlotSymbolPtr & | value, | |
unsigned int | index = 0 | |||
) |
void casa::PMS_PP_Display::setUnflaggedSymbols | ( | const vector< PlotSymbolPtr > & | value | ) | [inline] |
Definition at line 1271 of file PlotMSPlotParameterGroups.h.
References itsUnflaggedSymbols_, and casa::PlotMSPlotParameters::Group::updated().
const PlotMSLabelFormat& casa::PMS_PP_Display::titleFormat | ( | unsigned int | index = 0 |
) | const [inline] |
Definition at line 1325 of file PlotMSPlotParameterGroups.h.
References itsTitleFormats_.
const vector< PlotMSLabelFormat >& casa::PMS_PP_Display::titleFormats | ( | ) | const [inline] |
Definition at line 1316 of file PlotMSPlotParameterGroups.h.
References itsTitleFormats_.
Record casa::PMS_PP_Display::toRecord | ( | ) | const [virtual] |
Returns a Record representing this group of subparameters.
Implements casa::PlotMSPlotParameters::Group.
PlotSymbolPtr casa::PMS_PP_Display::unflaggedSymbol | ( | unsigned int | index = 0 |
) | const [inline] |
Definition at line 1277 of file PlotMSPlotParameterGroups.h.
References casa::PMS::DEFAULT_UNFLAGGED_SYMBOL(), casa::PlotMSPlotParameters::Group::factory(), itsUnflaggedSymbols_, and unflaggedSymbols().
const vector< PlotSymbolPtr >& casa::PMS_PP_Display::unflaggedSymbols | ( | ) | const [inline] |
Definition at line 1268 of file PlotMSPlotParameterGroups.h.
References itsUnflaggedSymbols_.
Referenced by unflaggedSymbol().
vector<PMS::Axis> casa::PMS_PP_Display::itsColorizeAxes_ [private] |
Definition at line 1391 of file PlotMSPlotParameterGroups.h.
Referenced by colorizeAxes(), colorizeAxis(), and setColorize().
vector<bool> casa::PMS_PP_Display::itsColorizeFlags_ [private] |
Definition at line 1390 of file PlotMSPlotParameterGroups.h.
Referenced by colorizeFlag(), colorizeFlags(), and setColorize().
vector<PlotSymbolPtr> casa::PMS_PP_Display::itsFlaggedSymbols_ [private] |
Definition at line 1388 of file PlotMSPlotParameterGroups.h.
Referenced by flaggedSymbol(), flaggedSymbols(), and setFlaggedSymbols().
vector<PlotMSLabelFormat> casa::PMS_PP_Display::itsTitleFormats_ [private] |
Definition at line 1389 of file PlotMSPlotParameterGroups.h.
Referenced by setTitleFormat(), setTitleFormats(), titleFormat(), and titleFormats().
vector<PlotSymbolPtr> casa::PMS_PP_Display::itsUnflaggedSymbols_ [private] |
Definition at line 1387 of file PlotMSPlotParameterGroups.h.
Referenced by setUnflaggedSymbols(), unflaggedSymbol(), and unflaggedSymbols().
const String casa::PMS_PP_Display::REC_COLAXES [static, private] |
Definition at line 1399 of file PlotMSPlotParameterGroups.h.
const String casa::PMS_PP_Display::REC_COLFLAGS [static, private] |
Definition at line 1398 of file PlotMSPlotParameterGroups.h.
const String casa::PMS_PP_Display::REC_FLAGGEDS [static, private] |
Definition at line 1396 of file PlotMSPlotParameterGroups.h.
const String casa::PMS_PP_Display::REC_TITLES [static, private] |
Definition at line 1397 of file PlotMSPlotParameterGroups.h.
const String casa::PMS_PP_Display::REC_UNFLAGGEDS [static, private] |
Definition at line 1395 of file PlotMSPlotParameterGroups.h.