casa
5.7.0-16
|
#include <QtDisplayPanel.qo.h>
Classes | |
class | panel_state |
Public Types | |
enum | CursorBoundaryCondition { ENTER, LEAVE } |
included in cursor boundary signals... More... | |
Public Slots | |
void | extendRegion (casacore::String, casacore::String) |
respond to region manager to set casacore::ImageRegion extension More... | |
virtual void | registerDD (QtDisplayData *, int postion=-1) |
Register / unregister [all] DDs created by user through QtViewer. More... | |
virtual void | unregisterDD (QtDisplayData *) |
virtual void | unregisterAll () |
virtual void | registerAll (std::list< QtDisplayData * > registerDatas) |
virtual void | setOptions (casacore::Record opts, bool emitAll=false) |
Set display panel options such as margins or number of panels. More... | |
virtual void | setMode (bool modez, bool channelCubes=false) |
virtual void | setMode (casacore::String mode) |
void | toChannelMovieStart () |
void | toImageMovieStart () |
virtual void | toChannelMovieEnd () |
virtual void | toImageMovieEnd () |
virtual void | revStepChannelMovie () |
virtual void | revStepImageMovie () |
virtual void | fwdStepChannelMovie () |
virtual void | fwdStepImageMovie () |
virtual void | revPlayChannelMovie () |
virtual void | revPlayImageMovie () |
virtual void | fwdPlayChannelMovie () |
virtual void | fwdPlayImageMovie () |
virtual void | stopChannelMovie () |
virtual void | stopImageMovie () |
void | setChannelMovieRate (int) |
virtual void setRate(int rate); More... | |
void | setImageMovieRate (int) |
void | lowerBoundAnimatorImageChanged (int) |
void | upperBoundAnimatorImageChanged (int) |
void | stepSizeAnimatorImageChanged (int) |
void | lowerBoundAnimatorChannelChanged (int) |
void | upperBoundAnimatorChannelChanged (int) |
void | stepSizeAnimatorChannelChanged (int) |
void | goToChannel (int channel) |
void | goToImage (int image) |
virtual void | goTo (int frm, bool channelFrame=false) |
virtual void | goToZ (int frm) |
virtual void | goToB (int frm) |
virtual void | emitAnimState () |
virtual void | resetRTRegion () |
(Will remove mouse-tools' own visual feedback from screen; usually called after selection has been processed). More... | |
virtual void | resetPTRegion () |
virtual void | resetETRegion () |
virtual void | resetZoomer () |
virtual void | resetCrosshair () |
virtual void | resetPolyline () |
virtual void | resetPanner () |
virtual void | resetRegionTools () |
virtual void | resetSelectionTools () |
virtual void | resetTool (casacore::String toolname) |
virtual void | resetTools () |
virtual void | zoomIn (double fctr=2.) |
Expose Zoomer functions: zoom in/out, zoom out to whole image. More... | |
virtual void | zoomOut (double fctr=2.) |
virtual void | zoom (const casacore::Vector< double > &blc, const casacore::Vector< double > &trc) |
virtual void | unzoom () |
bool | worldToLin (casacore::Vector< double > &lin, const casacore::Vector< double > &world) |
QSize | canvasSize () |
Returns the pixel canvas's current size. More... | |
virtual void | refresh () |
Refresh everything: main panel and colorbar panels (if any). More... | |
virtual void | setBlen_ (int len) |
viewer::RegionToolManager * | toolMgr () |
Signals | |
void | animatorChange () |
void | oldDDRegistered (QtDisplayData *) |
signals from registration methods. More... | |
void | oldDDUnregistered (QtDisplayData *) |
void | newRegisteredDD (QtDisplayData *) |
void | newUnregisteredDD (QtDisplayData *) |
void | RegisteredDDRemoved (QtDisplayData *) |
void | UnregisteredDDRemoved (QtDisplayData *) |
void | allDDsRegistered () |
void | allDDsUnregistered () |
void | registrationChange () |
void | mouseRegionReady (casacore::Record mouseRegion, WorldCanvasHolder *) |
This raw mouse region signal is probably less useful to connect to than the ones processed through the DDs (below), which contain true 'image regions'. More... | |
void | imageRegionReady (casacore::ImageRegion imgRegion, casacore::String ddName) |
Higher-level (casacore::ImageRegion) signal. More... | |
void | trackingInfo (casacore::Record trackingRec) |
signal from cursor position tracking. More... | |
void | optionsChanged (casacore::Record chgOpt) |
signal from option setting (probably unused at present). More... | |
void | dpHidden (QtDisplayPanel *dp) |
Emitted when this QDP is hidden (closed). More... | |
void | newRegion (casacore::String imagePath) |
Emitted when a new casacore::ImageRegion has been stored internally (in lastRgn_). More... | |
void | resized (QSize panelSize, QSize canvasSize) |
Emitted when the panel has been resized. More... | |
void | creatingRstrDoc (QDomDocument *restoredoc) |
Emitted when creating a restore xml doc. More... | |
void | restoring (QDomDocument *restoredoc) |
Emitted when restoring panel state from an xml doc. More... | |
void | activate (casacore::Record) |
void | cursorBoundary (QtDisplayPanel::CursorBoundaryCondition) |
signal cursor boundary transitions More... | |
void | cursorPosition (viewer::Position) |
Public Member Functions | |
QtDisplayPanel (QtDisplayPanelGui *panel, const QtDisplayPanel *other, QWidget *parent=0, const std::list< std::string > &args=std::list< std::string >()) | |
QtDisplayPanel (QtDisplayPanelGui *panel, QWidget *parent=0, const std::list< std::string > &args=std::list< std::string >()) | |
~QtDisplayPanel () | |
bool | isEmptyRegistered () const |
int | getRegisteredCount () const |
DisplayDataHolder::DisplayDataIterator | beginRegistered () const |
Manipulation of the QtDisplayData's. More... | |
DisplayDataHolder::DisplayDataIterator | endRegistered () const |
QtDisplayData * | getRegistered (int index) |
QtDisplayData * | getDD (const std::string &name) const |
QtDisplayData * | getDD (const DisplayData *dd) const |
std::shared_ptr < DisplayDataHolder > | getDataHolder () const |
bool | isCoordinateMaster (QtDisplayData *displayData) const |
void | setControllingDD (QtDisplayData *controllingDD) |
virtual bool | isRegistered (QtDisplayData *) |
true if DD is on our list. More... | |
QtDisplayData * | getControllingDD () const |
QtDisplayData * | getChannelDD (int index) const |
Returns the DD that will be animating the channels in normal mode. More... | |
void | registrationOrderChanged () |
Reorders panels in response to a change in the registration order. More... | |
virtual casacore::Record | getOptions () |
Return Options record (of margins and no. More... | |
virtual QPixmap * | contents () |
Return a QPixmap* with a copy of currently-displayed widget contents. More... | |
virtual QPixmap * | getBackBuffer () |
virtual PanelDisplay * | panelDisplay () |
Return underlying library PanelDisplay (used by Annotations, e.g.) (You better know what you're doing if you reach underneath the Qt layer. More... | |
virtual void | hold () |
Hold and release of refresh. More... | |
virtual void | release () |
virtual casacore::Vector < casacore::String > | mouseToolNames () |
Return names of resident mouse tools (order is a suggestion for order in gui). More... | |
virtual void | operator() (const WCMotionEvent &ev) |
This callback method is automatically registered with the appropriate objects, and is not intended for general use (it has a similar role to a protected, self-connected slot). More... | |
void | operator() (const PCPositionEvent &pev) |
This callback method is automatically registered with the appropriate PC object, and is not intended for general use (it has a similar role to a protected, self-connected slot). More... | |
int | nPanels () |
Return total number of (main) subpanels (e.g. More... | |
virtual bool | modeZ () |
virtual casacore::String | mode () |
virtual int | nFrames () |
virtual int | nZFrames () |
virtual int | nBFrames () |
virtual int | frame () |
virtual int | index () |
virtual int | zIndex () |
virtual int | bIndex () |
virtual int | startFrame () |
virtual int | zStart () |
virtual int | bStart () |
virtual int | lastFrame () |
virtual int | endFrame () |
virtual int | zEnd () |
virtual int | bEnd () |
virtual int | step () |
virtual int | zStep () |
virtual int | bStep () |
virtual int | animRate () |
virtual int | minRate () |
virtual int | maxRate () |
virtual int | animating () |
bool | saveLastRegion (casacore::String path) |
Save the last region created (via an image DD) with the mouse. More... | |
casacore::String | saveRegionInImage (casacore::String regname, const casacore::ImageRegion &imreg) |
same as above except it is saved in the last registered image as a keyword More... | |
void | removeRegionInImage (casacore::String regname) |
Delete the region regname from last registered image does not care if its casacore::RegionHandler::Masks or casacore::RegionHandler::Regions. More... | |
casacore::String | listRegions () |
give the regions already stored in last dd image a coma separated list More... | |
casacore::Vector < casacore::String > | listRegionsInImage () |
a vector list More... | |
casacore::ImageRegion | getRegion (const casacore::String &name) |
get an casacore::ImageRegion from active Image More... | |
void | setRegionExtent (int ext) |
Set current extension policy to use to for (subsequent) image region creation (and for printed region statistics): 0: Region should apply to viewed plane only. More... | |
casacore::ImageRegion | lastRegion () |
Return the last region created (via an image DD) with the mouse. More... | |
bool | hasRegion () |
void | setShapeManager (QtRegionShapeManager *manager) |
Sets the region shape manager from QtDisplayPanelGui. More... | |
void | registerRegionShape (RegionShape *rs) |
Register the given RegionShape on this display panel. More... | |
void | unregisterRegionShape (RegionShape *rs) |
Unregister the given RegionShape on this display panel. More... | |
bool | isRegistered (RegionShape *rs) |
Returns true if the given RegionShape is registered on this display panel, false otherwise. More... | |
casacore::String | suggestedRestoreFilename () |
Suggest name for restore file (based on first-registered DD). More... | |
casacore::String | dpState (casacore::String restorefilename="") |
Returns an xml casacore::String of displayPanel state. More... | |
virtual bool | savePanelState (casacore::String filename="", bool overwrite=true) |
Save panel state to a file (as xml). More... | |
virtual bool | restorePanelState (casacore::String filename="") |
Restore panel state from a file or from lastSavedState_ if filename=="". More... | |
virtual bool | setPanelState (casacore::String xmlState="") |
set panel state from xml casacore::String (lastSavedState_, by default). More... | |
virtual bool | setPanelState (QDomDocument &restoredoc, QString restorefiledir="") |
[re]set panel state from a QDomDocument. More... | |
panel_state | getPanelState () const |
void | setPanelState (const panel_state &) |
void | loadRegions (const std::string &path, const std::string &type) |
new Region code – load casa (or DS9?) region files... More... | |
void | revokeRegion (viewer::Region *r) |
new Region code – revoke region from region source... More... | |
void | activate (bool) |
called to indicate application activation state... More... | |
void | setAllowBackToFront (bool allowed=true) |
void | setUpdateAllowed (bool allowed=true) |
void | pushCurrentDrawingState () |
void | popCurrentDrawingState () |
float | getLabelLineWidth () |
void | setLabelLineWidth (float value) |
float | getTickLength () |
void | setTickLength (float value) |
void | setLineWidthPS (float &w) |
void | setBackgroundPS (casacore::String &w, casacore::String &c) |
void | beginLabelAndAxisCaching () |
void | endLabelAndAxisCaching (QPainter &qp) |
Public Member Functions inherited from casa::WCMotionEH | |
WCMotionEH () | |
Default Constructor Required. More... | |
virtual | ~WCMotionEH () |
Destructor. More... | |
Public Member Functions inherited from casa::PCPositionEH | |
PCPositionEH () | |
Default Constructor Required. More... | |
virtual | ~PCPositionEH () |
Destructor. More... | |
Public Member Functions inherited from casa::ImageDisplayer | |
ImageDisplayer () | |
virtual | ~ImageDisplayer () |
virtual void | registerDD (QtDisplayData *dd, int position=-1)=0 |
virtual void | unregisterDD (QtDisplayData *dd)=0 |
Static Public Member Functions | |
static casacore::String | regionPathname (casacore::String origPath) |
Transform origPath to a plausible pathname for a new image region file. More... | |
Public Attributes | |
bool | printStats |
bool | useRegion |
Protected Types | |
enum | CursorBoundaryState { INSIDE_PLOT, OUTSIDE_PLOT } |
keep track or where the (USER) cursor currently is... More... | |
Protected Slots | |
virtual void | ddCreated_ (QtDisplayData *, bool autoRegister, int position=-1, bool csMaster=false) |
reacts to similar-named signals from QtViewer More... | |
virtual void | ddRemoved_ (QtDisplayData *) |
virtual void | setAnimatorOptions_ (casacore::Record opts) |
virtual void | setAnimator_ (casacore::Record sarec) |
virtual void | setLen_ (int len) |
virtual void | setZlen_ (int len) |
virtual void | stop_ () |
virtual void | goTo_ (int frm) |
virtual void | goToZ_ (int frm) |
virtual void | goToB_ (int frm) |
virtual void | playStep_ () |
virtual void | prev_ () |
virtual void | next_ () |
virtual void | chgMouseBtn_ (std::string tool, int button) |
Connected to QtMouseToolState::mouseBtnChg() signal: changes button assignment for a mouse tool. More... | |
virtual void | mouseRegionReady_ (casacore::Record mouseRegion, WorldCanvasHolder *) |
Connected to corresp. More... | |
virtual void | reorientColorBars_ () |
virtual void | checkColorBars_ () |
virtual void | pcResizing_ () |
virtual void | refreshTracking_ (QtDisplayData *qdd=0) |
triggered by internal dd change (not mouse movement; see operator()(WCMotionEvent) for that.) More... | |
void | clicked (casacore::Record) |
Protected Member Functions | |
virtual void | setupMouseTools_ (bool new_region_tools) |
Called during construction. More... | |
virtual void | registerDD_ (QtDisplayData *qdd, int position=-1) |
The workhorse part of [un]registering; these do not send the highest-level signals. More... | |
virtual void | unregisterDD_ (QtDisplayData *qdd) |
virtual void | installEventHandlers_ () |
Maintain monitors of events on underlying canvases. More... | |
virtual void | removeEventHandlers_ () |
virtual bool | myWC_ (const WorldCanvas *wc) |
Utility function: is the given wc one belonging to the main pd_? More... | |
virtual void | arrangeColorBars_ (bool reorient=false, bool resizing=false) |
This routine corresponds to the old viewerdisplaypanel.g routine called 'arrangewedgerequirements'. More... | |
virtual void | updateColorBarDDLists_ () |
Update Lists of registered DDs which have color bar display activated (allColorBarDDs_ and colorBarDDsToDisplay_). More... | |
virtual int | marginb_ (QtDisplayData *dd, float shrink=1.) |
Used by arrangeColorBars_(). More... | |
virtual float | cbPanelSpace_ (QtDisplayData *dd) |
Used by arrangeColorBars_(). More... | |
virtual void | refreshCBPanels_ () |
Refresh (only) the colorbar panels (if any). More... | |
virtual bool | ddFileMatch_ (const std::string &path, const std::string &dataType, const std::string &displayType, QtDisplayData *&dd, QString origrestorefile, QString restoredir) |
Tries to find existing DD (or create one from a file) that matches the given path. More... | |
void | hideEvent (QHideEvent *ev) |
void | resizeEvent (QResizeEvent *ev) |
(emits Qt signal with QDP and PC sizes. More... | |
Protected Attributes | |
QtDisplayPanelGui * | panel_ |
central (unique) viewer object: for viewer-global state / methods. More... | |
PanelDisplay * | pd_ |
'Main' panel of pc_, where qdds_ draw themselves. More... | |
QtPixelCanvas * | pc_ |
The entire display canvas for this object (the area with black (default) background). More... | |
std::shared_ptr < DisplayDataHolder > | displayDataHolder |
QDDs registered on this QDP, in registration order. More... | |
viewer::RegionToolManager * | toolmgr |
MWCRTZoomer * | zoom_ |
MWCPannerTool * | panner_ |
QtOldCrossTool * | ocrosshair_ |
QtOldRectTool * | ortregion_ |
QtOldEllipseTool * | oelregion_ |
QtOldPolyTool * | optregion_ |
viewer::QtRegionSourceFactory * | region_source_factory |
MWCPolylineTool * | polyline_ |
MWCRulerlineTool * | rulerline_ |
MWCPositionVelocityTool * | pvtool_ |
PCITFiddler * | snsFidd_ |
PCITFiddler * | bncFidd_ |
casacore::Vector < casacore::String > | mouseToolNames_ |
QTimer | tmr_ |
bool | tracking_ |
bool | modeZ_ |
int | zLen_ |
int | bLen_ |
int | zIndex_ |
int | bIndex_ |
int | animRate_ |
int | minRate_ |
int | maxRate_ |
int | animating_ |
std::list< QtDisplayData * > | allColorBarDDs_ |
Registered QDDs which have color bar display activated (in registration order). More... | |
std::list< QtDisplayData * > | colorBarDDsToDisplay_ |
Subset of the list above: those which should actually display now (which would exclude, e.g., a DD which is 'off blink'). More... | |
std::list< PanelDisplay * > | colorBarPanels_ |
Corresponding casacore::List of PanelDisplays in which color bars are placed – one for each QDD in colorBarDDsToDisplay_. More... | |
PanelDisplay * | blankCBPanel_ |
A panel that takes unused PC space in the colorbar area, if any. More... | |
casacore::Vector< float > | colorBarPanelSizes_ |
Proportion of the pc_ that each color bar panel will use along the direction of colorbar thickness (e.g., along the horizontal axis for a vertical bar). More... | |
float | mainPanelSize_ |
The portion of the PixelCanvas allocated to the main (image display) PanelDisplay (pd_);. More... | |
int | pcthsz_ |
The following are used (only) by arrangeColorBars_() and its auxiliary routines, and are set for current conditions every time arrangeColorBars_() is called. More... | |
int | pclnsz_ |
float | marginUnit_ |
int | mrgna_ |
int | mrgnb_ |
int | lnmrgna_ |
int | lnmrgnb_ |
casacore::ImageRegion | lastRgn_ |
The last region created with a mouse tool. More... | |
casacore::String | rgnImgPath_ |
path (if any) to image of DD that produced the region (needed?) More... | |
bool | hasRgn_ |
Has any such region (ever) been saved? More... | |
int | rgnExtent_ |
Extension policy to use to for saved region (and for statistics: 0: Region applies to viewed plane only. More... | |
std::list< RegionShape * > | rshapes_ |
RegionShapes registered on this display panel, in registration order. More... | |
QtRegionShapeManager * | qsm_ |
Pointer to shape manager. More... | |
casacore::String | lastSavedState_ |
last saved state for this panel (this session – "" if none). More... | |
WCMotionEvent * | lastMotionEvent_ |
last valid mouse motion event; for use by refreshTracking_() in case something besides mouse motion dictates that tracking data should be refreshed. More... | |
DParameterChoice * | bkgdClrOpt_ |
User interface parsing object for background/foreground color. More... | |
casacore::String | extChan_ |
image region extension flags More... | |
casacore::String | extPol_ |
CursorBoundaryState | cursorBoundaryState |
Private Types | |
enum | ColorBarIndex { ORIGIN, SIZE, LENGTH_SIDE_ORIGIN, LENGTH_SIDE_SIZE, MARGIN_A, MARGIN_B, LENGTH_SIDE_MARGIN_A, LENGTH_SIDE_MARGIN_B } |
Private Member Functions | |
void | construct_ (QtPixelCanvas *canvas, const std::list< std::string > &args) |
portion of construction shared by multiple constructor functions... More... | |
void | processTracking (const casacore::Record &trackingRec, const WCMotionEvent &ev) |
Sends a signal containing information about the data pinpointed by the mouse & displays flyover information about the data. More... | |
void | setColorBarMargins (bool vertical, float plotPercentage, PanelDisplay *cbp, bool resizing) |
Estimates appropriate margins for the color bars in the long direction. More... | |
void | setPanelGeometry (PanelDisplay *pd, float orgn, float siz) |
Stores the x-offset and side length of the passed in panel. More... | |
void | setPanelMargins (PanelDisplay *pd, int marginA=LEFT_MARGIN_SPACE_DEFAULT, int marginB=RIGHT_MARGIN_SPACE_DEFAULT, int lengthMarginA=BOTTOM_MARGIN_SPACE_DEFAULT, int lengthMarginB=TOP_MARGIN_SPACE_DEFAULT) |
Sets the margins of the passed in panel to the indicated amounts. More... | |
void | setLabelFontSize () |
void | setMarginSize () |
Attempts to set appropriate plot margins based on the number of plots that are displayed. More... | |
void | initializeSettingsMap (bool vertical) |
Initializes the settings map based on whether the color bar is vertical or horizontal. More... | |
void | plotCountChangeAdjustment () |
Fixes a bug where the color bar disappears if the number of plots that are displayed decreases. More... | |
Private Attributes | |
const int | PGP_MARGIN_UNIT |
An estimate for the number of pixels that correspond to one PGP plot unit. More... | |
std::map< ColorBarIndex, casacore::String > | settingsMap |
float | oldPlotPercentage |
Used for coming up with estimates for the new font and margin sizes. More... | |
int | oldPixelCanvasHeight |
int | oldPixelCanvasWidth |
int | oldRowCount |
int | oldColumnCount |
int | zStart_ |
int | zEnd_ |
int | zStep_ |
int | bStart_ |
int | bEnd_ |
int | bStep_ |
std::stack< casacore::Record * > | drawing_state |
Static Private Attributes | |
static const int | LEFT_MARGIN_SPACE_DEFAULT |
Default sizes for the margins. More... | |
static const int | BOTTOM_MARGIN_SPACE_DEFAULT |
static const int | TOP_MARGIN_SPACE_DEFAULT |
static const int | RIGHT_MARGIN_SPACE_DEFAULT |
Definition at line 81 of file QtDisplayPanel.qo.h.
|
private |
Enumerator | |
---|---|
ORIGIN | |
SIZE | |
LENGTH_SIDE_ORIGIN | |
LENGTH_SIDE_SIZE | |
MARGIN_A | |
MARGIN_B | |
LENGTH_SIDE_MARGIN_A | |
LENGTH_SIDE_MARGIN_B |
Definition at line 1161 of file QtDisplayPanel.qo.h.
included in cursor boundary signals...
Enumerator | |
---|---|
ENTER | |
LEAVE |
Definition at line 91 of file QtDisplayPanel.qo.h.
|
protected |
keep track or where the (USER) cursor currently is...
Enumerator | |
---|---|
INSIDE_PLOT | |
OUTSIDE_PLOT |
Definition at line 1063 of file QtDisplayPanel.qo.h.
casa::QtDisplayPanel::QtDisplayPanel | ( | QtDisplayPanelGui * | panel, |
const QtDisplayPanel * | other, | ||
QWidget * | parent = 0 , |
||
const std::list< std::string > & | args = std::list< std::string >() |
||
) |
casa::QtDisplayPanel::QtDisplayPanel | ( | QtDisplayPanelGui * | panel, |
QWidget * | parent = 0 , |
||
const std::list< std::string > & | args = std::list< std::string >() |
||
) |
casa::QtDisplayPanel::~QtDisplayPanel | ( | ) |
void casa::QtDisplayPanel::activate | ( | bool | ) |
called to indicate application activation state...
true -> activated, false -> deactivated
|
signal |
|
signal |
|
signal |
|
inlinevirtual |
Definition at line 323 of file QtDisplayPanel.qo.h.
References animating_.
Referenced by casa::QtDisplayPanelGui::fwdPlayChannelMovie_(), casa::QtDisplayPanelGui::fwdPlayImageMovie_(), casa::QtDisplayPanelGui::revPlayChannelMovie_(), and casa::QtDisplayPanelGui::revPlayImageMovie_().
|
signal |
Referenced by emitAnimState().
|
inlinevirtual |
Definition at line 314 of file QtDisplayPanel.qo.h.
References animRate_.
|
protectedvirtual |
This routine corresponds to the old viewerdisplaypanel.g routine called 'arrangewedgerequirements'.
It responds to events which may require change to the relative placement or number of colorbars and their panels. 'reorient' is true if color bars are changing from horizontal to vertical (or vise versa); it helps determine how much action (if any) this routine needs to take. Only the pcResizing_() slot should set resizing=true; in this case, arrangeColorBars_ lets the PC take care of refresh.
Referenced by checkColorBars_(), pcResizing_(), and reorientColorBars_().
|
inline |
Definition at line 1095 of file QtDisplayPanel.qo.h.
References pc_.
DisplayDataHolder::DisplayDataIterator casa::QtDisplayPanel::beginRegistered | ( | ) | const |
Manipulation of the QtDisplayData's.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Definition at line 285 of file QtDisplayPanel.qo.h.
References bStart_.
Referenced by startFrame(), and toImageMovieStart().
|
inlinevirtual |
|
inlineslot |
Returns the pixel canvas's current size.
Definition at line 589 of file QtDisplayPanel.qo.h.
References pc_.
|
protectedvirtual |
Used by arrangeColorBars_().
Return the nominal proportion of the PixelCanvas to use for dd's colorbar panel. (This is allocated along the direction of the colorbar's thickness; in the direction its length the panel uses the entire PC size).
|
inlineprotectedvirtualslot |
Definition at line 775 of file QtDisplayPanel.qo.h.
References arrangeColorBars_().
|
protectedvirtualslot |
Connected to QtMouseToolState::mouseBtnChg() signal: changes button assignment for a mouse tool.
|
protectedslot |
|
private |
portion of construction shared by multiple constructor functions...
|
inlinevirtual |
Return a QPixmap* with a copy of currently-displayed widget contents.
Caller is responsible for deleting.
Definition at line 184 of file QtDisplayPanel.qo.h.
References pc_.
|
signal |
Emitted when creating a restore xml doc.
QtDisplayPanelGui (in particular) can process by adding intormation to restoredoc.
|
signal |
signal cursor boundary transitions
|
signal |
|
protectedvirtualslot |
reacts to similar-named signals from QtViewer
|
protectedvirtual |
Tries to find existing DD (or create one from a file) that matches the given path.
Used for restoring DDs from a restore file. Several directories are checked, not just the one in path, to provide flexibility. If dd is non-zero, it is tested for suitability to path, datatype and displaytype. If dd is zero, the filesystem is searched and an attempt is made to create dd from a matching file (if any); if creation succeeds, dd will contain the new DD. Note: the DD will not be registered automatically. origrestorefile and (current) restoredir aid in locating data files relative to the current restore file location.
|
protectedvirtualslot |
|
signal |
Emitted when this QDP is hidden (closed).
Referenced by hideEvent().
casacore::String casa::QtDisplayPanel::dpState | ( | casacore::String | restorefilename = "" | ) |
Returns an xml casacore::String of displayPanel state.
This includes registered DDs and their options, panel options, animation and zoom state, etc. (QtDisplayPanelGui adds some gui/window state to this, and has file-saving interface). If a restorefilename where you intend to store the state is given, it will be set as attribute 'restorefile' of the root node. This allows data files to be moved and still restored later, relative to the restore file location.
|
inlinevirtualslot |
Definition at line 543 of file QtDisplayPanel.qo.h.
References animatorChange().
|
inlinevirtual |
Definition at line 292 of file QtDisplayPanel.qo.h.
References bEnd(), modeZ(), and zEnd().
Referenced by lastFrame().
|
inline |
Definition at line 1098 of file QtDisplayPanel.qo.h.
References pc_.
DisplayDataHolder::DisplayDataIterator casa::QtDisplayPanel::endRegistered | ( | ) | const |
|
slot |
respond to region manager to set casacore::ImageRegion extension
|
inlinevirtual |
Definition at line 266 of file QtDisplayPanel.qo.h.
References index().
|
virtualslot |
Referenced by casa::QtDisplayPanelGui::fwdPlayChannelMovie_().
|
virtualslot |
Referenced by casa::QtDisplayPanelGui::fwdPlayImageMovie_().
|
inlinevirtualslot |
Definition at line 499 of file QtDisplayPanel.qo.h.
|
inlinevirtualslot |
Definition at line 504 of file QtDisplayPanel.qo.h.
|
inlinevirtual |
Definition at line 187 of file QtDisplayPanel.qo.h.
References pc_.
QtDisplayData* casa::QtDisplayPanel::getChannelDD | ( | int | index | ) | const |
Returns the DD that will be animating the channels in normal mode.
QtDisplayData* casa::QtDisplayPanel::getControllingDD | ( | ) | const |
std::shared_ptr<DisplayDataHolder> casa::QtDisplayPanel::getDataHolder | ( | ) | const |
QtDisplayData* casa::QtDisplayPanel::getDD | ( | const std::string & | name | ) | const |
QtDisplayData* casa::QtDisplayPanel::getDD | ( | const DisplayData * | dd | ) | const |
float casa::QtDisplayPanel::getLabelLineWidth | ( | ) |
|
virtual |
Return Options record (of margins and no.
-of-panels settings, e.g.) The form of the record is suitable for automatically creating controlling user interface. These options are set with the corresponding setOptions() slot (below).
Referenced by casa::QtCanvasManagerOptions::QtCanvasManagerOptions().
panel_state casa::QtDisplayPanel::getPanelState | ( | ) | const |
casacore::ImageRegion casa::QtDisplayPanel::getRegion | ( | const casacore::String & | name | ) |
get an casacore::ImageRegion from active Image
QtDisplayData* casa::QtDisplayPanel::getRegistered | ( | int | index | ) |
int casa::QtDisplayPanel::getRegisteredCount | ( | ) | const |
float casa::QtDisplayPanel::getTickLength | ( | ) |
|
inlinevirtualslot |
Definition at line 531 of file QtDisplayPanel.qo.h.
References goToB(), goToZ(), and modeZ().
Referenced by toChannelMovieEnd(), toChannelMovieStart(), toImageMovieEnd(), and toImageMovieStart().
|
inlineprotectedvirtualslot |
Definition at line 740 of file QtDisplayPanel.qo.h.
|
virtualslot |
Referenced by goTo(), and goToImage().
|
protectedvirtualslot |
Referenced by goTo_().
|
inlineslot |
Definition at line 528 of file QtDisplayPanel.qo.h.
References goToZ().
|
inlineslot |
Definition at line 529 of file QtDisplayPanel.qo.h.
References goToB().
|
virtualslot |
Referenced by goTo(), and goToChannel().
|
protectedvirtualslot |
Referenced by goTo_().
|
inline |
Definition at line 376 of file QtDisplayPanel.qo.h.
References hasRgn_.
|
inlineprotected |
Definition at line 877 of file QtDisplayPanel.qo.h.
References dpHidden().
|
virtual |
Hold and release of refresh.
In order to draw, every call to hold() must be accompanied by a subsequent call to release() (so don't neglect: beware of exceptions, e.g.). Calls can nest (they are counted). Panel may be deleted in a held state. Also, excess calls to release() will have no effect. The calls are propagated to the main PanelDisplay as well as to those used for color bars (and thence to their WorldCanvases).
|
signal |
Higher-level (casacore::ImageRegion) signal.
ddName is the name() of a registered [casacore::Lattice] QDD which conforms to the panel's current state (see DD:conformsTo()) and can compute true-region information from the latest 'mouse tool region event'. The ImageRegion parameter has the dimensions [and CS] of the DD's Image (currently, only Image PADDs are supported). It will correspond to the 2-D mouse region on its display axes. On 'animator' and 'hidden' axes (if any), the region will be 1 element wide, positioned at the current 'slice' for each of these axes.
|
inlinevirtual |
|
private |
Initializes the settings map based on whether the color bar is vertical or horizontal.
|
protectedvirtual |
Maintain monitors of events on underlying canvases.
Called during construction/destruction, or when the set of canvases might change.
|
virtual |
Implements casa::ImageDisplayer.
bool casa::QtDisplayPanel::isEmptyRegistered | ( | ) | const |
|
virtual |
true if DD is on our list.
(It may not be on viewer's list any longer, in particular when reacting to ddRemoved signal). Either qdd pointer or its name can be given.
bool casa::QtDisplayPanel::isRegistered | ( | RegionShape * | rs | ) |
Returns true if the given RegionShape is registered on this display panel, false otherwise.
|
inlinevirtual |
Definition at line 289 of file QtDisplayPanel.qo.h.
References endFrame().
Referenced by toChannelMovieEnd(), and toImageMovieEnd().
|
inline |
Return the last region created (via an image DD) with the mouse.
Definition at line 372 of file QtDisplayPanel.qo.h.
References lastRgn_.
casacore::String casa::QtDisplayPanel::listRegions | ( | ) |
give the regions already stored in last dd image a coma separated list
casacore::Vector<casacore::String> casa::QtDisplayPanel::listRegionsInImage | ( | ) |
a vector list
void casa::QtDisplayPanel::loadRegions | ( | const std::string & | path, |
const std::string & | type | ||
) |
new Region code – load casa (or DS9?) region files...
|
slot |
|
slot |
|
protectedvirtual |
Used by arrangeColorBars_().
Return the margin to give to dd's colorbar panel on the side where colorbar labelling is done (right margin for vertical bars, e.g.). shrink will usually be 1.; in rare cases where many colorbars are crowding the main panel and each other, it may be less (and then the returned margin allowance may also be less than ideal...).
|
inlinevirtual |
Definition at line 320 of file QtDisplayPanel.qo.h.
References maxRate_.
|
inlinevirtual |
Definition at line 317 of file QtDisplayPanel.qo.h.
References minRate_.
|
inlinevirtual |
Definition at line 252 of file QtDisplayPanel.qo.h.
References modeZ().
|
inlinevirtual |
Definition at line 249 of file QtDisplayPanel.qo.h.
References modeZ_.
Referenced by endFrame(), goTo(), goTo_(), index(), mode(), nFrames(), setLen_(), startFrame(), and step().
|
signal |
This raw mouse region signal is probably less useful to connect to than the ones processed through the DDs (below), which contain true 'image regions'.
|
protectedvirtualslot |
Connected to corresp.
signals from 'region' mouse tools. Emits that signal verbatum, but also processes it through the registered DDs, and emits higher-level 'Image Regions' from those DDs which can create one from the 'mouse region' record.
|
inlinevirtual |
Return names of resident mouse tools (order is a suggestion for order in gui).
Definition at line 212 of file QtDisplayPanel.qo.h.
References mouseToolNames_.
|
protectedvirtual |
Utility function: is the given wc one belonging to the main pd_?
|
inlinevirtual |
|
signal |
Emitted when a new casacore::ImageRegion has been stored internally (in lastRgn_).
It can be saved to disk with saveLastRegion().
|
signal |
|
signal |
|
protectedvirtualslot |
Referenced by fwdStepChannelMovie(), fwdStepImageMovie(), and playStep_().
|
inlinevirtual |
Definition at line 256 of file QtDisplayPanel.qo.h.
References modeZ(), nBFrames(), and nZFrames().
|
inline |
Return total number of (main) subpanels (e.g.
12 for 3x4-panel display).
Definition at line 236 of file QtDisplayPanel.qo.h.
References casa::MultiWCHolder::nWCHs(), and pd_.
|
inlinevirtual |
|
signal |
signals from registration methods.
If you connect to any of these registrationChange signals and/or to ddCreated or ddRemoved signals (from QtViewerBase), the following are true when the slot is invoked: Any removed QDD still exists until after the signal's directly connected slots have returned. Any new QDD has been created before the corresp. signal is emitted. The list of existing QDDs (QtViewerBase::dds()) and [un]registered QDDS (registeredDDs(), unregisteredDDs()) reflect the new state.
However, if you connect to a registrationChange signal and to ddCreated or ddRemoved, it is not certain which slot will be invoked first.
|
signal |
|
virtual |
This callback method is automatically registered with the appropriate objects, and is not intended for general use (it has a similar role to a protected, self-connected slot).
Overrides (null) base WCMotionEH operator to forward cursor position tracking events from any of the panel's WorldCanvases as Qt signals.
Implements casa::WCMotionEH.
|
inlinevirtual |
This callback method is automatically registered with the appropriate PC object, and is not intended for general use (it has a similar role to a protected, self-connected slot).
Reimplemented from casa::PCPositionEH.
Definition at line 228 of file QtDisplayPanel.qo.h.
References casa::Display::K_space, casa::PCPositionEvent::key(), and tracking_.
|
signal |
signal from option setting (probably unused at present).
|
inlinevirtual |
Return underlying library PanelDisplay (used by Annotations, e.g.) (You better know what you're doing if you reach underneath the Qt layer.
You are responsible for consistency between the layers, etc...).
Definition at line 194 of file QtDisplayPanel.qo.h.
References pd_.
|
inlineprotectedvirtualslot |
Definition at line 778 of file QtDisplayPanel.qo.h.
References arrangeColorBars_().
|
inlineprotectedvirtualslot |
Definition at line 747 of file QtDisplayPanel.qo.h.
References animating_, next_(), and prev_().
|
private |
Fixes a bug where the color bar disappears if the number of plots that are displayed decreases.
void casa::QtDisplayPanel::popCurrentDrawingState | ( | ) |
|
protectedvirtualslot |
Referenced by playStep_(), revStepChannelMovie(), and revStepImageMovie().
|
private |
Sends a signal containing information about the data pinpointed by the mouse & displays flyover information about the data.
void casa::QtDisplayPanel::pushCurrentDrawingState | ( | ) |
|
inlinevirtualslot |
Refresh everything: main panel and colorbar panels (if any).
Definition at line 596 of file QtDisplayPanel.qo.h.
References pd_, casa::MultiWCHolder::refresh(), and refreshCBPanels_().
|
protectedvirtual |
Refresh (only) the colorbar panels (if any).
(An attempt to reduce flashing during blink animation).
Referenced by refresh().
|
protectedvirtualslot |
triggered by internal dd change (not mouse movement; see operator()(WCMotionEvent) for that.)
|
static |
Transform origPath to a plausible pathname for a new image region file.
Assures the filename ends in '.rgn' and that no such file already exists.
|
virtualslot |
|
virtualslot |
Register / unregister [all] DDs created by user through QtViewer.
|
protectedvirtual |
The workhorse part of [un]registering; these do not send the highest-level signals.
Called internally when the DD is new or being removed, or from corresponding public methods.
|
signal |
void casa::QtDisplayPanel::registerRegionShape | ( | RegionShape * | rs | ) |
Register the given RegionShape on this display panel.
|
signal |
|
virtual |
Reorders panels in response to a change in the registration order.
Implements casa::ImageDisplayer.
|
virtual |
|
protectedvirtual |
void casa::QtDisplayPanel::removeRegionInImage | ( | casacore::String | regname | ) |
Delete the region regname from last registered image does not care if its casacore::RegionHandler::Masks or casacore::RegionHandler::Regions.
|
inlineprotectedvirtualslot |
Definition at line 772 of file QtDisplayPanel.qo.h.
References arrangeColorBars_().
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
(Will remove mouse-tools' own visual feedback from screen; usually called after selection has been processed).
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
signal |
Emitted when the panel has been resized.
|
protected |
(emits Qt signal with QDP and PC sizes.
(You probably really want to take action on QPC resizeEvents (based on QPC size) instead...))
|
virtual |
Restore panel state from a file or from lastSavedState_ if filename=="".
|
signal |
Emitted when restoring panel state from an xml doc.
QtDisplayPanelGui (in particular) can respond by setting its own state from certain elements of restoredoc.
void casa::QtDisplayPanel::revokeRegion | ( | viewer::Region * | r | ) |
new Region code – revoke region from region source...
Referenced by casa::QtDisplayPanelGui::revokeRegion().
|
virtualslot |
Referenced by casa::QtDisplayPanelGui::revPlayChannelMovie_().
|
virtualslot |
Referenced by casa::QtDisplayPanelGui::revPlayImageMovie_().
|
inlinevirtualslot |
Definition at line 489 of file QtDisplayPanel.qo.h.
|
inlinevirtualslot |
Definition at line 494 of file QtDisplayPanel.qo.h.
bool casa::QtDisplayPanel::saveLastRegion | ( | casacore::String | path | ) |
Save the last region created (via an image DD) with the mouse.
Return value indicates success. (The casacore::ImageRegion is transformed to a casacore::TableRecord then saved via casacore::AipsIO).
|
virtual |
Save panel state to a file (as xml).
State is also stored to an internal lastSavedState_ casacore::String (only there, if filename==""). By default, the file will be overwritten if necessary.
casacore::String casa::QtDisplayPanel::saveRegionInImage | ( | casacore::String | regname, |
const casacore::ImageRegion & | imreg | ||
) |
same as above except it is saved in the last registered image as a keyword
|
inline |
Definition at line 1076 of file QtDisplayPanel.qo.h.
References pc_.
|
protectedvirtualslot |
|
protectedvirtualslot |
void casa::QtDisplayPanel::setBackgroundPS | ( | casacore::String & | w, |
casacore::String & | c | ||
) |
|
virtualslot |
Referenced by setLen_().
|
slot |
virtual void setRate(int rate);
|
private |
Estimates appropriate margins for the color bars in the long direction.
vertical | true if the long side of the color bar is in the vertical direction. |
plotPercentage | a float giving the approximate percentage of the screen real estate that will be reserved for plots (as opposed to the color bars). |
cbp | the PanelDisplay containing the color bar |
resizing | a boolean that will be true if the calculation was triggered by the screen size changing. |
|
virtual |
Implements casa::ImageDisplayer.
|
slot |
|
private |
void casa::QtDisplayPanel::setLabelLineWidth | ( | float | value | ) |
|
inlineprotectedvirtualslot |
Definition at line 732 of file QtDisplayPanel.qo.h.
References modeZ(), setBlen_(), and setZlen_().
void casa::QtDisplayPanel::setLineWidthPS | ( | float & | w | ) |
|
private |
Attempts to set appropriate plot margins based on the number of plots that are displayed.
|
virtualslot |
|
inlinevirtualslot |
Definition at line 474 of file QtDisplayPanel.qo.h.
References casacore::downcase(), and setMode().
|
virtualslot |
Set display panel options such as margins or number of panels.
The form of the record (along with current settings) is returned by getOptions(). (These Records are an older form of 'parameter sets' which are used in various places within the display library). Set emitAll = true if the call was not initiated by the options gui itself (e.g. via scripting or save-restore); that will assure that the options gui does receive all option updates (via the optionsChanged signal) and updates its user interface accordingly.
|
private |
Stores the x-offset and side length of the passed in panel.
pd | the PanelDisplay whose geometry will be set. |
orgn | the offset of the panel |
siz | the side length of the panel. |
|
private |
Sets the margins of the passed in panel to the indicated amounts.
marginA | in PGP plot units. |
marginB | in PGP plot units. |
lengthMarginA | in PGP plot units. |
lengthMarginB | in PGP plot units. |
|
virtual |
set panel state from xml casacore::String (lastSavedState_, by default).
|
virtual |
[re]set panel state from a QDomDocument.
void casa::QtDisplayPanel::setPanelState | ( | const panel_state & | ) |
|
inline |
Set current extension policy to use to for (subsequent) image region creation (and for printed region statistics): 0: Region should apply to viewed plane only.
1: Extend to all channels (iff spectral axis not on display). 2: Extend along all non-displayed axes. (The mouse polygon/rectangle always determines the region on the displayed axes).
The default policy is 0.
Definition at line 367 of file QtDisplayPanel.qo.h.
References casacore::max(), casacore::min(), and rgnExtent_.
void casa::QtDisplayPanel::setShapeManager | ( | QtRegionShapeManager * | manager | ) |
Sets the region shape manager from QtDisplayPanelGui.
void casa::QtDisplayPanel::setTickLength | ( | float | value | ) |
|
inline |
Definition at line 1080 of file QtDisplayPanel.qo.h.
References pc_.
|
protectedvirtual |
Called during construction.
|
protectedvirtualslot |
Referenced by setLen_().
|
inlinevirtual |
Definition at line 279 of file QtDisplayPanel.qo.h.
|
inlinevirtual |
Definition at line 304 of file QtDisplayPanel.qo.h.
|
slot |
|
slot |
|
protectedvirtualslot |
Referenced by fwdStepChannelMovie(), fwdStepImageMovie(), revStepChannelMovie(), and revStepImageMovie().
|
virtualslot |
|
virtualslot |
casacore::String casa::QtDisplayPanel::suggestedRestoreFilename | ( | ) |
Suggest name for restore file (based on first-registered DD).
|
inlinevirtualslot |
Definition at line 481 of file QtDisplayPanel.qo.h.
References goTo(), lastFrame(), and setMode().
|
inlineslot |
Definition at line 478 of file QtDisplayPanel.qo.h.
|
inlinevirtualslot |
Definition at line 485 of file QtDisplayPanel.qo.h.
References goTo(), lastFrame(), and setMode().
|
inlineslot |
Definition at line 479 of file QtDisplayPanel.qo.h.
|
inlineslot |
Definition at line 602 of file QtDisplayPanel.qo.h.
References toolmgr.
|
signal |
signal from cursor position tracking.
The field names are the names of registered QDDs with tracking info; corresponding values are Strings with the formatted tracking information.
|
virtualslot |
|
virtualslot |
|
protectedvirtual |
|
signal |
void casa::QtDisplayPanel::unregisterRegionShape | ( | RegionShape * | rs | ) |
Unregister the given RegionShape on this display panel.
|
inlinevirtualslot |
Definition at line 580 of file QtDisplayPanel.qo.h.
References casa::MWCRTZoomer::unzoom(), and zoom_.
|
protectedvirtual |
Update Lists of registered DDs which have color bar display activated (allColorBarDDs_ and colorBarDDsToDisplay_).
Used by arrangeColorBars_().
|
slot |
|
slot |
|
slot |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtualslot |
Definition at line 577 of file QtDisplayPanel.qo.h.
References casa::MWCRTZoomer::zoom(), and zoom_.
|
inlinevirtualslot |
Expose Zoomer functions: zoom in/out, zoom out to whole image.
Definition at line 571 of file QtDisplayPanel.qo.h.
References zoom_, and casa::MWCRTZoomer::zoomIn().
|
inlinevirtualslot |
Definition at line 574 of file QtDisplayPanel.qo.h.
References zoom_, and casa::MWCRTZoomer::zoomOut().
|
inlinevirtual |
Definition at line 282 of file QtDisplayPanel.qo.h.
References zStart_.
Referenced by startFrame(), and toChannelMovieStart().
|
inlinevirtual |
|
protected |
Registered QDDs which have color bar display activated (in registration order).
See arrangeColorBars_() and updateColorBarDDLists_().
Definition at line 954 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 946 of file QtDisplayPanel.qo.h.
Referenced by animating(), and playStep_().
|
protected |
Definition at line 943 of file QtDisplayPanel.qo.h.
Referenced by animRate().
|
private |
Definition at line 1197 of file QtDisplayPanel.qo.h.
Referenced by bEnd().
|
protected |
Definition at line 941 of file QtDisplayPanel.qo.h.
Referenced by bIndex().
|
protected |
User interface parsing object for background/foreground color.
(Used in get/setOptions(), shows up in QDPG's 'Panel Display Options' window).
Definition at line 1054 of file QtDisplayPanel.qo.h.
|
protected |
A panel that takes unused PC space in the colorbar area, if any.
just to see that it's cleared when appropriate.
Definition at line 970 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 940 of file QtDisplayPanel.qo.h.
Referenced by nBFrames().
|
protected |
Definition at line 925 of file QtDisplayPanel.qo.h.
|
staticprivate |
Definition at line 1189 of file QtDisplayPanel.qo.h.
|
private |
Definition at line 1197 of file QtDisplayPanel.qo.h.
Referenced by bStart().
|
private |
Definition at line 1197 of file QtDisplayPanel.qo.h.
Referenced by bStep().
|
protected |
Subset of the list above: those which should actually display now (which would exclude, e.g., a DD which is 'off blink').
These DDs are ordered so that in multipanel blink displays the order of images in panels is the same as the display order of their corresponding colorbars.
Definition at line 961 of file QtDisplayPanel.qo.h.
|
protected |
Corresponding casacore::List of PanelDisplays in which color bars are placed – one for each QDD in colorBarDDsToDisplay_.
Assignment of QDDs to panels is maintained in the order of list above.
Definition at line 966 of file QtDisplayPanel.qo.h.
|
protected |
Proportion of the pc_ that each color bar panel will use along the direction of colorbar thickness (e.g., along the horizontal axis for a vertical bar).
arrangeColorBars_() gets nominal sizes for colorbar panels from cbPanelSpace_(), and that is usually what they get.
Definition at line 976 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 1064 of file QtDisplayPanel.qo.h.
|
protected |
QDDs registered on this QDP, in registration order.
(casacore::List of all (user-loaded) QDDs is v_->dds()). casacore::List<QtDisplayData*> qdds_;
Definition at line 903 of file QtDisplayPanel.qo.h.
|
private |
Definition at line 1199 of file QtDisplayPanel.qo.h.
|
protected |
image region extension flags
Definition at line 1059 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 1060 of file QtDisplayPanel.qo.h.
|
protected |
Has any such region (ever) been saved?
Definition at line 1007 of file QtDisplayPanel.qo.h.
Referenced by hasRegion().
|
protected |
last valid mouse motion event; for use by refreshTracking_() in case something besides mouse motion dictates that tracking data should be refreshed.
Definition at line 1045 of file QtDisplayPanel.qo.h.
|
protected |
The last region created with a mouse tool.
Definition at line 1001 of file QtDisplayPanel.qo.h.
Referenced by lastRegion().
|
protected |
last saved state for this panel (this session – "" if none).
Used for fast 'clipboard' save-restore. (Note: No user interface for this yet...).
Definition at line 1036 of file QtDisplayPanel.qo.h.
|
staticprivate |
Default sizes for the margins.
Definition at line 1188 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 994 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 994 of file QtDisplayPanel.qo.h.
|
protected |
The portion of the PixelCanvas allocated to the main (image display) PanelDisplay (pd_);.
Definition at line 980 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 993 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 944 of file QtDisplayPanel.qo.h.
Referenced by maxRate().
|
protected |
Definition at line 944 of file QtDisplayPanel.qo.h.
Referenced by minRate().
|
protected |
Definition at line 939 of file QtDisplayPanel.qo.h.
Referenced by modeZ().
|
protected |
Definition at line 928 of file QtDisplayPanel.qo.h.
Referenced by mouseToolNames().
|
protected |
Definition at line 994 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 994 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 912 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 914 of file QtDisplayPanel.qo.h.
|
private |
Definition at line 1185 of file QtDisplayPanel.qo.h.
|
private |
Definition at line 1182 of file QtDisplayPanel.qo.h.
|
private |
Definition at line 1183 of file QtDisplayPanel.qo.h.
|
private |
Used for coming up with estimates for the new font and margin sizes.
Definition at line 1181 of file QtDisplayPanel.qo.h.
|
private |
Definition at line 1184 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 915 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 913 of file QtDisplayPanel.qo.h.
|
protected |
central (unique) viewer object: for viewer-global state / methods.
Definition at line 888 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 910 of file QtDisplayPanel.qo.h.
|
protected |
The entire display canvas for this object
(the area with black (default) background).
Definition at line 895 of file QtDisplayPanel.qo.h.
Referenced by beginLabelAndAxisCaching(), canvasSize(), contents(), endLabelAndAxisCaching(), getBackBuffer(), setAllowBackToFront(), and setUpdateAllowed().
|
protected |
Definition at line 992 of file QtDisplayPanel.qo.h.
|
protected |
The following are used (only) by arrangeColorBars_() and its auxiliary routines, and are set for current conditions every time arrangeColorBars_() is called.
The margins (in 'pgp chars') are set onto the colorbar panels. PixelCanvas current sizes are in screen pixels. marginUnit_ is 1/65 of the PC's minimum dimansion. 'ln' and 'th' refer to the directions along the colorbar's length and thickness, respectively; 'ln' corresponds to vertical / horizontal according to the current orientation of color bars. mrgna_, mrgnb_ are margins in the colorbar thickness direction; mrgnb_ is where labelling occurs.
Definition at line 992 of file QtDisplayPanel.qo.h.
|
protected |
'Main' panel of pc_, where qdds_ draw themselves.
Definition at line 891 of file QtDisplayPanel.qo.h.
Referenced by nPanels(), panelDisplay(), and refresh().
|
private |
An estimate for the number of pixels that correspond to one PGP plot unit.
Definition at line 1160 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 919 of file QtDisplayPanel.qo.h.
bool casa::QtDisplayPanel::printStats |
Definition at line 1070 of file QtDisplayPanel.qo.h.
Referenced by casa::QtDisplayPanelGui::setStatsPrint().
|
protected |
Definition at line 922 of file QtDisplayPanel.qo.h.
|
protected |
Pointer to shape manager.
(within this class, please do not assume qsm_ has been set.)
Definition at line 1027 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 917 of file QtDisplayPanel.qo.h.
|
protected |
Extension policy to use to for saved region (and for statistics: 0: Region applies to viewed plane only.
1: Extend to all channels (iff spectral axis not on display). 2: Extend along all non-displayed axes. (The mouse polygon/rectangle always determines the region on the displayed axes).
Definition at line 1015 of file QtDisplayPanel.qo.h.
Referenced by setRegionExtent().
|
protected |
path (if any) to image of DD that produced the region (needed?)
Definition at line 1004 of file QtDisplayPanel.qo.h.
|
staticprivate |
Definition at line 1191 of file QtDisplayPanel.qo.h.
|
protected |
RegionShapes registered on this display panel, in registration order.
Definition at line 1023 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 921 of file QtDisplayPanel.qo.h.
|
private |
Definition at line 1165 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 924 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 932 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 906 of file QtDisplayPanel.qo.h.
Referenced by toolMgr().
|
staticprivate |
Definition at line 1190 of file QtDisplayPanel.qo.h.
|
protected |
Definition at line 934 of file QtDisplayPanel.qo.h.
Referenced by operator()().
bool casa::QtDisplayPanel::useRegion |
Definition at line 1072 of file QtDisplayPanel.qo.h.
Referenced by casa::QtDisplayPanelGui::setUseRegion().
|
private |
Definition at line 1196 of file QtDisplayPanel.qo.h.
Referenced by zEnd().
|
protected |
Definition at line 941 of file QtDisplayPanel.qo.h.
Referenced by zIndex().
|
protected |
Definition at line 940 of file QtDisplayPanel.qo.h.
Referenced by nZFrames().
|
protected |
|
private |
Definition at line 1196 of file QtDisplayPanel.qo.h.
Referenced by zStart().
|
private |
Definition at line 1196 of file QtDisplayPanel.qo.h.
Referenced by zStep().