|
| PanelDisplay (PixelCanvas *pixelcanvas, const casacore::Int nx=3, const casacore::Int ny=2, const casacore::Float xOrigin=0.0, const casacore::Float yOrigin=0.0, const casacore::Float xSize=1.0, const casacore::Float ySize=1.0, const casacore::Float dx=0.0, const casacore::Float dy=0.0, const PanelDisplay::FillOrder order=LEFT_TOP) |
| Constructor taking: a pointer to the PixelCanvas on which to lay the panels, the number of panels in the x and y directions, the extent of the PixelCanvas to cover with panels, and the fractional spacing between the panels. More...
|
|
virtual | ~PanelDisplay () |
| Destructor. More...
|
|
virtual void | setDefaultOptions () |
| Install the default options for this PanelDisplay. More...
|
|
virtual casacore::Bool | setOptions (const casacore::Record &rec, casacore::Record &updatedOptions) |
| Apply options stored in rec to the PanelDisplay; these get forwarded to all underlying WorldCanvases. More...
|
|
virtual casacore::Record | getOptions () const |
|
virtual void | setAttributes (AttributeBuffer &at) |
| Set attributes on all WolrdCanvases. More...
|
|
virtual void | getAttributeValue (const casacore::String &name, casacore::Int &newValue) const |
|
virtual void | getGeometry (casacore::Int &nx, casacore::Int &ny, casacore::Float &xOrigin, casacore::Float &yOrigin, casacore::Float &xSize, casacore::Float &ySize, casacore::Float &dx, casacore::Float &dy, PanelDisplay::FillOrder &order) const |
| Describe or set the geometry of the panels, either explicitly or in casacore::RecordInterface form. More...
|
|
virtual void | getGeometry (casacore::RecordInterface &rec) const |
|
virtual void | setGeometry (const casacore::Int nx, const casacore::Int ny, const casacore::Float xOrigin, const casacore::Float yOrigin, const casacore::Float xSize, const casacore::Float ySize, const casacore::Float dx, const casacore::Float dy, const PanelDisplay::FillOrder order) |
|
virtual void | setGeometry (const casacore::RecordInterface &rec) |
|
virtual void | clear () |
| Clear our part of the PC. More...
|
|
virtual WorldCanvasHolder * | wcHolder (WorldCanvas *wc) const |
|
virtual PixelCanvas * | pixelCanvas () |
|
bool | wcsApply (std::function< void(WorldCanvas *)> apply) |
| get controlled access to world canvases shared among a number of objects return value indicates if the operation was possible (in the future it may be necessary to serialize access so this function may return false if mutual exclusion prevents access to the world canvas list) More...
|
|
virtual void | addTool (const casacore::String &key, const std::shared_ptr< MultiWCTool > &) |
|
virtual void | removeTool (const casacore::String &key) |
|
virtual void | setToolKey (const casacore::String &toolname, const Display::KeySym &keysym) |
|
virtual casacore::Bool | hasTools () |
|
virtual void | updateTools (casacore::Bool remove=true, casacore::Bool add=true) |
|
virtual void | disableTools () |
|
virtual void | enableTools () |
|
virtual void | enableTool (const casacore::String &toolname) |
|
virtual void | disableTool (const casacore::String &toolname) |
|
virtual const std::shared_ptr
< MultiWCTool > | getTool (const casacore::String &key) |
|
virtual casacore::Bool | isCSmaster (const DisplayData *dd) const |
| Is the specified DisplayData the one in charge of coordinate state of the Panel's WCs? More...
|
|
void | setCSmaster (DisplayData *dd) |
|
float | getDrawUnit () const |
| Returns the current mapping of PGP units to pixel units. More...
|
|
int | getColumnCount () const |
| Returns the number of columns of plots that are currently being displayed. More...
|
|
int | getRowCount () const |
| Returns the number of rows of plots that are currently being displayed. More...
|
|
| MultiWCHolder () |
| Constructor which makes an empty MultiWCHolder. More...
|
|
| MultiWCHolder (WorldCanvasHolder &holder) |
| Constructor which makes a MultiWCHolder containing the single specified WorldCanvasHolder. More...
|
|
virtual | ~MultiWCHolder () |
| Destructor. More...
|
|
virtual void | addWCHolder (WorldCanvasHolder &holder) |
| Add or remove a WorldCanvasHolder, or remove all WorldCanvasHolders on this MultiWCHolder. More...
|
|
virtual void | removeWCHolder (WorldCanvasHolder &holder) |
|
virtual void | removeWCHolders () |
|
virtual void | addDisplayData (DisplayData &displaydata, int position=-1) |
| Add or remove a DisplayData, or remove all DisplayDatas on this MultiWCHolder. More...
|
|
virtual void | removeDisplayData (DisplayData &displaydata) |
|
virtual void | removeDisplayDatas () |
|
virtual void | setRestriction (const Attribute &restriction) |
| Install or remove a single restriction, or a buffer of restrictions, on all of the WorldCanvasHolders managed by this MultiWCHolder. More...
|
|
virtual void | setRestrictions (const AttributeBuffer &restrictions) |
|
virtual void | removeRestriction (const casacore::String &name) |
|
virtual void | removeRestrictions () |
|
virtual void | setLinearRestrictions (AttributeBuffer &restrictions, const AttributeBuffer &increments) |
| Incrementally distribute restrictions to all of the WorldCanvasHolders. More...
|
|
virtual void | hold () |
| Hold and release response to refreshes requested with the refresh() member function. More...
|
|
virtual void | release () |
|
virtual void | refresh (const Display::RefreshReason &reason=Display::UserCommand) |
| Distribute a refresh event to all the held WorldCanvasHolders. More...
|
|
virtual casacore::uInt | zLength () |
|
virtual casacore::Int | bLength () |
| These orrespond to 'zIndex, zLength' for animator's 'blink mode'. More...
|
|
virtual casacore::Int | bIndex () |
|
void | setBlinkMode (bool blinkMode) |
| Sets whether the viewer is in blink mode. More...
|
|
virtual casacore::Bool | isBlinkDD (DisplayData *dd) |
| Determines which DDs will be restricted, which are always active. More...
|
|
virtual casacore::Bool | conforms (DisplayData *dd, casacore::Bool testRstrs=true, casacore::Bool testCS=true, casacore::Bool testZ=true, casacore::Int wchIndex=0) |
| Test conformance of a DD to a WCH of this MWCH (by default, test against the first one (WCH 0), which always exists). More...
|
|
virtual casacore::Int | nWCHs () |
| Return number of WCHs (subpanels). More...
|
|
std::list< DisplayData * > & | displayDatas () |
| Added to collect region statistics from MultiRectTool::update_stats()... More...
|
|
| DisplayOptions () |
| Constructor. More...
|
|
virtual | ~DisplayOptions () |
| Destructor. More...
|
|
template<class T > |
casacore::Bool | readOptionRecord (casacore::Vector< T > &target, casacore::Bool &error, const casacore::Record &rec, const casacore::String &fieldname) const |
| Find the field fieldname in casacore::Record rec , containing the requested type (casacore::Bool, casacore::String, casacore::Float, casacore::Int) in itself or its "value" sub-field, and return the value in target . More...
|
|
template<class T > |
casacore::Bool | readOptionRecord (T &target, casacore::Bool &error, const casacore::Record &rec, const casacore::String &fieldname) const |
|
virtual casacore::Bool | readOptionRecord (casacore::String &target, casacore::Bool &unsetTarget, casacore::Bool &error, const casacore::Record &rec, const casacore::String &fieldname) const |
| Find the field fieldname in casacore::Record rec , containing the requested type (casacore::String) in itself or its "value" sub-field, and return the value in target . More...
|
|
casacore::Record | unset () const |
| Return a casacore::Record which is an "unset" casacore::Record, ie. More...
|
|
casacore::Bool | isUnset (const casacore::Record &rec) const |
| Return true or false indicating if the provided casacore::Record is equal to an "unset" Record. More...
|
|
A class which creates and manages "panelled" displays.
Intended use:
Public interface
Review Status
- Date Reviewed:
- yyyy/mm/dd
Prerequisite
Etymology
The PanelDisplay class provides a display consisting of a number of panels.
Synopsis
This class uses the MultiWCHolder class to provide a regular set of panels for display multi-view DisplayDatas.
Example
Motivation
Definition at line 79 of file PanelDisplay.h.