casa
$Rev:20696$
|
Implementation of PlotMSPlot for a single plot on a single canvas. More...
#include <PlotMSSinglePlot.h>
Classes | |
class | TCLParams |
Simple class to hold parameter to resume updating after a threaded cache loading. More... | |
Public Member Functions | |
PlotMSSinglePlot (PlotMSApp *parent) | |
Non-Static //. | |
~PlotMSSinglePlot () | |
Destructor. | |
String | name () const |
Implements PlotMSPlot::name(). | |
vector< MaskedScatterPlotPtr > | plots () const |
Implements PlotMSPlot::plots(). | |
vector< PlotCanvasPtr > | canvases () const |
Implements PlotMSPlot::canvases(). | |
void | setupPlotSubtabs (PlotMSPlotTab &tab) const |
Implements PlotMSPlot::setupPlotSubtabs(). | |
void | attachToCanvases () |
Implements PlotMSPlot::attachToCanvases(). | |
void | detachFromCanvases () |
Implements PlotMSPlot::detachFromCanvases(). | |
void | plotTabHasChanged (PlotMSPlotTab &tab) |
Implements PlotMSPlot::plotTabHasChanged(). | |
Static Public Member Functions | |
static PlotMSPlotParameters | makeParameters (PlotMSApp *plotms) |
Static //. | |
static void | makeParameters (PlotMSPlotParameters ¶ms, PlotMSApp *plotms) |
Updates the given PlotMSPlotParameters to be suitable for use with this class, using the given PlotMS parent. | |
static void | cacheLoaded (void *obj, bool wasCanceled) |
Post-thread methods for loading the cache. | |
Protected Member Functions | |
bool | assignCanvases (PlotMSPages &pages) |
Implements PlotMSPlot::assignCanvases(). | |
bool | initializePlot () |
Implements PlotMSPlot::initializePlot(). | |
bool | parametersHaveChanged_ (const PlotMSWatchedParameters ¶ms, int updateFlag, bool releaseWhenDone) |
Implements PlotMSPlot::parametersHaveChanged_(). | |
PlotMSRegions | selectedRegions (const vector< PlotCanvasPtr > &canvases) const |
Implements PlotMSPlot::selectedRegions(). | |
void | constructorSetup () |
Overrides PlotMSPlot::constructorSetup(). | |
Private Member Functions | |
PlotMSSinglePlot (const PlotMSSinglePlot ©) | |
Disable copy constructor and operator for now. | |
PlotMSSinglePlot & | operator= (const PlotMSSinglePlot ©) |
bool | updateCache () |
Updates helper methods. | |
bool | updateCanvas () |
bool | updateDisplay () |
void | cacheLoaded_ (bool wasCanceled) |
Private Attributes | |
MaskedScatterPlotPtr | itsPlot_ |
Convenient access to single plot. | |
ColoredPlotPtr | itsColoredPlot_ |
Convenient access to single plot as a colored plot. | |
PlotCanvasPtr | itsCanvas_ |
Convenient access to single canvas. | |
TCLParams | itsTCLParams_ |
See TCLParams class documentation. |
Implementation of PlotMSPlot for a single plot on a single canvas.
Uses PlotMSSinglePlotParameters in addition to PlotMSPlotParameters.
Definition at line 38 of file PlotMSSinglePlot.h.
casa::PlotMSSinglePlot::PlotMSSinglePlot | ( | PlotMSApp * | parent | ) |
Non-Static //.
Constructor which takes the PlotMS parent. Starts out with default parameters.
Destructor.
casa::PlotMSSinglePlot::PlotMSSinglePlot | ( | const PlotMSSinglePlot & | copy | ) | [private] |
Disable copy constructor and operator for now.
bool casa::PlotMSSinglePlot::assignCanvases | ( | PlotMSPages & | pages | ) | [protected, virtual] |
Implements PlotMSPlot::assignCanvases().
Implements casa::PlotMSPlot.
void casa::PlotMSSinglePlot::attachToCanvases | ( | ) | [virtual] |
Implements PlotMSPlot::attachToCanvases().
Implements casa::PlotMSPlot.
static void casa::PlotMSSinglePlot::cacheLoaded | ( | void * | obj, |
bool | wasCanceled | ||
) | [inline, static] |
Post-thread methods for loading the cache.
Definition at line 152 of file PlotMSSinglePlot.h.
References cacheLoaded_().
void casa::PlotMSSinglePlot::cacheLoaded_ | ( | bool | wasCanceled | ) | [private] |
Referenced by cacheLoaded().
vector<PlotCanvasPtr> casa::PlotMSSinglePlot::canvases | ( | ) | const [virtual] |
Implements PlotMSPlot::canvases().
Implements casa::PlotMSPlot.
void casa::PlotMSSinglePlot::constructorSetup | ( | ) | [protected, virtual] |
Overrides PlotMSPlot::constructorSetup().
Reimplemented from casa::PlotMSPlot.
void casa::PlotMSSinglePlot::detachFromCanvases | ( | ) | [virtual] |
Implements PlotMSPlot::detachFromCanvases().
Implements casa::PlotMSPlot.
bool casa::PlotMSSinglePlot::initializePlot | ( | ) | [protected, virtual] |
Implements PlotMSPlot::initializePlot().
Implements casa::PlotMSPlot.
static PlotMSPlotParameters casa::PlotMSSinglePlot::makeParameters | ( | PlotMSApp * | plotms | ) | [static] |
static void casa::PlotMSSinglePlot::makeParameters | ( | PlotMSPlotParameters & | params, |
PlotMSApp * | plotms | ||
) | [static] |
Updates the given PlotMSPlotParameters to be suitable for use with this class, using the given PlotMS parent.
Reimplemented from casa::PlotMSPlot.
String casa::PlotMSSinglePlot::name | ( | ) | const [virtual] |
Implements PlotMSPlot::name().
Implements casa::PlotMSPlot.
PlotMSSinglePlot& casa::PlotMSSinglePlot::operator= | ( | const PlotMSSinglePlot & | copy | ) | [private] |
bool casa::PlotMSSinglePlot::parametersHaveChanged_ | ( | const PlotMSWatchedParameters & | params, |
int | updateFlag, | ||
bool | releaseWhenDone | ||
) | [protected, virtual] |
Implements PlotMSPlot::parametersHaveChanged_().
Implements casa::PlotMSPlot.
vector<MaskedScatterPlotPtr> casa::PlotMSSinglePlot::plots | ( | ) | const [virtual] |
Implements PlotMSPlot::plots().
Implements casa::PlotMSPlot.
void casa::PlotMSSinglePlot::plotTabHasChanged | ( | PlotMSPlotTab & | tab | ) | [inline, virtual] |
Implements PlotMSPlot::plotTabHasChanged().
Implements casa::PlotMSPlot.
Definition at line 103 of file PlotMSSinglePlot.h.
PlotMSRegions casa::PlotMSSinglePlot::selectedRegions | ( | const vector< PlotCanvasPtr > & | canvases | ) | const [protected, virtual] |
Implements PlotMSPlot::selectedRegions().
Implements casa::PlotMSPlot.
void casa::PlotMSSinglePlot::setupPlotSubtabs | ( | PlotMSPlotTab & | tab | ) | const [virtual] |
Implements PlotMSPlot::setupPlotSubtabs().
Implements casa::PlotMSPlot.
bool casa::PlotMSSinglePlot::updateCache | ( | ) | [private] |
Updates helper methods.
bool casa::PlotMSSinglePlot::updateCanvas | ( | ) | [private] |
bool casa::PlotMSSinglePlot::updateDisplay | ( | ) | [private] |
Convenient access to single canvas.
Definition at line 131 of file PlotMSSinglePlot.h.
Convenient access to single plot as a colored plot.
Definition at line 128 of file PlotMSSinglePlot.h.
Convenient access to single plot.
Definition at line 125 of file PlotMSSinglePlot.h.
See TCLParams class documentation.
Definition at line 134 of file PlotMSSinglePlot.h.