casa
5.7.0-16
|
An n x m grid of canvases. More...
#include <PlotCanvasLayout.h>
Public Member Functions | |
PlotLayoutGrid (unsigned int rows, unsigned int cols) | |
Constructor which takes the number of rows and columns. More... | |
~PlotLayoutGrid () | |
Destructor. More... | |
unsigned int | rows () const |
Returns the number of rows. More... | |
unsigned int | cols () const |
Returns the number of columns. More... | |
bool | coordIsValid (const PlotLayoutCoordinate &coord) const |
Implements PlotCanvasLayout::coordIsValid(). More... | |
int | coordToIndex (const PlotLayoutCoordinate &coord) const |
Implements PlotCanvasLayout::coordToIndex(). More... | |
void | setCanvasAt (const PlotLayoutCoordinate &coord, PlotCanvasPtr canvas) |
Implements PlotCanvasLayout::setCanvasAt(). More... | |
PlotCanvasPtr | canvasAt (const PlotLayoutCoordinate &coord) const |
Implements PlotCanvasLayout::canvasAt(). More... | |
PlotCanvasPtr | canvas () const |
Implements PlotCanvasLayout::canvas(). More... | |
std::vector< PlotCanvasPtr > | allCanvases () const |
Implements PlotCanvasLayout::allCanvases(). More... | |
bool | isValid () const |
Implements PlotCanvasLayout::isValid(). More... | |
unsigned int | spacing () const |
Implements PlotCanvasLayout::spacing(). More... | |
void | setSpacing (unsigned int spacing) |
Implements PlotCanvasLayout::setSpacing(). More... | |
Public Member Functions inherited from casa::PlotCanvasLayout | |
PlotCanvasLayout () | |
Constructor. More... | |
virtual | ~PlotCanvasLayout () |
Destructor. More... | |
virtual Plotter * | plotter () const |
Returns the plotter this layout is used in, or NULL for none. More... | |
virtual void | attach (Plotter *p) |
Attaches this layout to the given plotter. More... | |
Protected Attributes | |
unsigned int | m_rows |
unsigned int | m_cols |
std::vector< std::vector < PlotCanvasPtr > > | m_panels |
unsigned int | m_spacing |
Protected Attributes inherited from casa::PlotCanvasLayout | |
Plotter * | m_plotter |
An n x m grid of canvases.
Definition at line 172 of file PlotCanvasLayout.h.
casa::PlotLayoutGrid::PlotLayoutGrid | ( | unsigned int | rows, |
unsigned int | cols | ||
) |
Constructor which takes the number of rows and columns.
casa::PlotLayoutGrid::~PlotLayoutGrid | ( | ) |
Destructor.
|
virtual |
Implements PlotCanvasLayout::allCanvases().
Implements casa::PlotCanvasLayout.
|
virtual |
Implements PlotCanvasLayout::canvas().
Implements casa::PlotCanvasLayout.
|
virtual |
Implements PlotCanvasLayout::canvasAt().
Implements casa::PlotCanvasLayout.
unsigned int casa::PlotLayoutGrid::cols | ( | ) | const |
Returns the number of columns.
|
virtual |
Implements PlotCanvasLayout::coordIsValid().
Implements casa::PlotCanvasLayout.
|
virtual |
Implements PlotCanvasLayout::coordToIndex().
Implements casa::PlotCanvasLayout.
|
virtual |
Implements PlotCanvasLayout::isValid().
Implements casa::PlotCanvasLayout.
unsigned int casa::PlotLayoutGrid::rows | ( | ) | const |
Returns the number of rows.
|
virtual |
Implements PlotCanvasLayout::setCanvasAt().
Implements casa::PlotCanvasLayout.
|
virtual |
Implements PlotCanvasLayout::setSpacing().
Implements casa::PlotCanvasLayout.
|
virtual |
Implements PlotCanvasLayout::spacing().
Implements casa::PlotCanvasLayout.
|
protected |
Definition at line 215 of file PlotCanvasLayout.h.
|
protected |
Definition at line 216 of file PlotCanvasLayout.h.
|
protected |
Definition at line 214 of file PlotCanvasLayout.h.
|
protected |
Definition at line 217 of file PlotCanvasLayout.h.