casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
casa::PlotMSMultiPlot Class Reference

PlotMSMultiPlot is a subclass of PlotMSPlot that handles plots that have one x (or y) versus many y's (or x's). More...

#include <PlotMSMultiPlot.h>

Inheritance diagram for casa::PlotMSMultiPlot:
casa::PlotMSPlot casa::PlotMSParametersWatcher

List of all members.

Public Member Functions

 PlotMSMultiPlot (PlotMSApp *parent)
 Non-Static //.
 ~PlotMSMultiPlot ()
 Destructor.
String name () const
 Implements PlotMSPlot::name().
vector< MaskedScatterPlotPtrplots () const
 Implements PlotMSPlot::plots().
vector< PlotCanvasPtrcanvases () 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 &params, 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 &params, int updateFlag, bool releaseWhenDone)
 Implements PlotMSPlot::parametersHaveChanged_().
PlotMSRegions selectedRegions (const vector< PlotCanvasPtr > &canvases) const
 Implements PlotMSPlot::selectedRegions().
void constructorSetup ()
 Overrides PlotMSPlot::constructorSetup().
virtual void releaseDrawing ()
 A temporary override until cache iterated slicing works.

Private Member Functions

void updateSubtabs (unsigned int nRows, unsigned int nCols) const
 Updates the plot subtabs for the given number of axes.
void updateCanvasesAndPlotsForAxes ()
 Updates the canvases and plots for a new number of axes, using the plot parameters.
bool updateCache ()
 Updates helper methods.
bool updateCanvas ()
bool updateDisplay ()
void cacheLoaded_ (bool wasCanceled)

Private Attributes

vector< vector
< MaskedScatterPlotPtr > > 
itsPlots_
 Grid of plots.
vector< vector< PlotCanvasPtr > > itsCanvases_
 Grid of canvases.
vector< vector< PlotMSData * > > itsIndexers_
PlotMSSinglePlot::TCLParams itsTCLParams_
 See PlotMSSinglePlot::TCLParams class documentation.

Detailed Description

PlotMSMultiPlot is a subclass of PlotMSPlot that handles plots that have one x (or y) versus many y's (or x's).

Definition at line 39 of file PlotMSMultiPlot.h.


Constructor & Destructor Documentation

Non-Static //.

Constructor which takes PlotMS parent.

Destructor.


Member Function Documentation

bool casa::PlotMSMultiPlot::assignCanvases ( PlotMSPages pages) [protected, virtual]
static void casa::PlotMSMultiPlot::cacheLoaded ( void *  obj,
bool  wasCanceled 
) [inline, static]

Post-thread methods for loading the cache.

Definition at line 129 of file PlotMSMultiPlot.h.

References cacheLoaded_().

void casa::PlotMSMultiPlot::cacheLoaded_ ( bool  wasCanceled) [private]

Referenced by cacheLoaded().

vector<PlotCanvasPtr> casa::PlotMSMultiPlot::canvases ( ) const [virtual]

Implements PlotMSPlot::canvases().

Implements casa::PlotMSPlot.

void casa::PlotMSMultiPlot::constructorSetup ( ) [protected, virtual]

Overrides PlotMSPlot::constructorSetup().

Reimplemented from casa::PlotMSPlot.

bool casa::PlotMSMultiPlot::initializePlot ( ) [protected, virtual]

Static //.

See PlotMSPlot::makeParameters().

Reimplemented from casa::PlotMSPlot.

static void casa::PlotMSMultiPlot::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::PlotMSMultiPlot::name ( ) const [virtual]

Implements PlotMSPlot::name().

Implements casa::PlotMSPlot.

bool casa::PlotMSMultiPlot::parametersHaveChanged_ ( const PlotMSWatchedParameters params,
int  updateFlag,
bool  releaseWhenDone 
) [protected, virtual]

Implements PlotMSPlot::plots().

Implements casa::PlotMSPlot.

virtual void casa::PlotMSMultiPlot::releaseDrawing ( ) [protected, virtual]

A temporary override until cache iterated slicing works.

Reimplemented from casa::PlotMSPlot.

PlotMSRegions casa::PlotMSMultiPlot::selectedRegions ( const vector< PlotCanvasPtr > &  canvases) const [protected, virtual]
void casa::PlotMSMultiPlot::setupPlotSubtabs ( PlotMSPlotTab tab) const [virtual]

Updates helper methods.

Updates the canvases and plots for a new number of axes, using the plot parameters.

void casa::PlotMSMultiPlot::updateSubtabs ( unsigned int  nRows,
unsigned int  nCols 
) const [private]

Updates the plot subtabs for the given number of axes.


Member Data Documentation

Grid of canvases.

Definition at line 105 of file PlotMSMultiPlot.h.

vector<vector<PlotMSData*> > casa::PlotMSMultiPlot::itsIndexers_ [private]

Definition at line 107 of file PlotMSMultiPlot.h.

Grid of plots.

Definition at line 102 of file PlotMSMultiPlot.h.

See PlotMSSinglePlot::TCLParams class documentation.

Definition at line 110 of file PlotMSMultiPlot.h.


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