casa
$Rev:20696$
|
#include <QtDisplayData.qo.h>
Public Slots | |
virtual void | registerNotice (QtDisplayPanel *) |
(Should only be used by QtDisplayPanels to notify the QDD that it has been registered, or is about to be unregistered, on the QDP). | |
virtual void | unregisterNotice (QtDisplayPanel *) |
virtual void | setOptions (Record opts, Bool emitAll=False) |
Apply option values to the DisplayData. | |
void | emitOptionsChanged (Record changedOpts) |
virtual void | done () |
virtual void | checkAxis () |
const String & | getColormap () |
void | setColormap (const String &clrMapName) |
void | setHistogramColorMapping (float minValue, float maxValue, float powerScale) |
void | setSaturationRange (double min, double max) |
This is used to get the display data to set a saturation range from another image. | |
Signals | |
void | optionsChanged (Record changedOptions) |
Signals changes the DD has made internally to option values, limits, etc., that ui (if any) will want to reflect. | |
void | qddError (String errmsg) |
Emitted when problems encountered (in setOptions, e.g.) | |
void | optionsSet () |
Emitted when options successfully set without error. | |
void | colorBarChange () |
Emitted when color bars may need rearrangement on panels where this QDD is registered. | |
void | trackingChange (QtDisplayData *) |
Emitted when something in the DD (besides mouse movement) means that tracking data for this QDD could be usefully recomputed and redisplayed. | |
void | axisChanged (String, String, String, std::vector< int >) |
(mkApr2012) axisChanged and axisChangedProfile have the identical functionality, to send out the names of the current x/y/z axes. | |
void | axisChangedProfile (String, String, String, std::vector< int >) |
void | spectrumChanged (String spcTypeUnit, String spcRval, String spcSys) |
void | statsReady (const String &) |
void | showColorHistogram (QtDisplayData *) |
void | globalOptionsChanged (QtDisplayData *, Record) |
Public Member Functions | |
QtDisplayData (QtDisplayPanelGui *panel, String path, String dataType, String displayType, const viewer::DisplayDataOptions &ddo=viewer::DisplayDataOptions(), const viewer::ImageProperties &props=viewer::ImageProperties()) | |
~QtDisplayData () | |
String | getPositionInformation (const Vector< double > world) |
virtual std::string | name () |
virtual const char * | nameChrs () |
virtual void | setName (const std::string &name) |
virtual std::string | dataType () const |
virtual std::string | displayType () |
Bool | isRaster () const |
Display Type. | |
Bool | isContour () const |
Bool | isVector () const |
Bool | isMarker () const |
Bool | isImage () const |
virtual void | delTmpData () const |
virtual Bool delTmpData() const; | |
virtual void | setDelTmpData (Bool delTmpData) |
std::string | description () const |
std::string | path () const |
virtual String | errMsg () |
virtual Record | getOptions () |
retrieve the Record of options. | |
virtual DisplayData * | dd () |
retrieve wrapped DisplayData. | |
virtual Bool | isEmpty () |
Did creation of wrapped DD fail? | |
virtual Display::DisplayDataType | ddType () |
Possible valuse: Raster, Vector, Annotation, CanvasAnnotation. | |
bool | isSkyCatalog () const |
virtual Bool | usesTracking () |
Can the QDD display tracking information? | |
virtual pair< String, String > | trackingInfo (const WCMotionEvent &ev) |
Returns a String with value and position information, suitable for a cursor tracking display. | |
virtual ImageRegion * | mouseToImageRegion (Record mouseRegion, WorldCanvasHolder *wch, Bool allChannels=False, Bool allPols=False, Bool allRAs=False, Bool allDECs=False, Bool allAxes=False) |
Convert 2-D 'pseudoregion' (or 'mouse region' Record, from the region mouse tools) to a full Image Region, with same number of axes as the DD's Lattice (and relative to its CoordinateSystem). | |
virtual ImageRegion * | mouseToImageRegion (Record mouseRegion, WorldCanvasHolder *wch, String &extChan, String &extPol) |
virtual Bool | printRegionStats (ImageRegion &imgReg) |
Print statistics on image for given region. | |
virtual Bool | printLayerStats (ImageRegion &imgReg) |
virtual Int | getAxisIndex (String axtype=String("Spectral")) |
Return the number of the spectral axis within the DD's original image lattice and coordinate system (-1 if none). | |
virtual Bool | wouldDisplayColorBar () |
Would this QDD want to display a color bar if registered and conformant for drawing? | |
virtual Bool | hasColorBar () |
Is a color bar WDD defined for this QDD? | |
virtual Float | colorBarSizeAdj () |
User-requested adjustment to colorbar thickness (will probably remain at the default value of 1). | |
virtual Float | colorBarLabelSpaceAdj () |
Used (by QtDisplayPanel) to compute margin space for colorbar labels. | |
virtual WedgeDD * | colorBar () |
Retrieve color bar ('wedge') DD. | |
virtual Bool | hasColormap () const |
Does this DD currently own a colormap? | |
virtual bool | isValidColormap (const QString &name) const |
Different DisplayDatas could have different colormap palettes thus this is non-static and specific to a display data. | |
void | setColorMap (Colormap *colorMap) |
void | removeColorMap (const String &name) |
virtual Bool | getCMShiftSlope (Vector< Float > ¶ms) const |
Get/set colormap shift/slope ('fiddle') and brightness/contrast settings. | |
virtual Bool | getCMBrtCont (Vector< Float > ¶ms) const |
virtual Bool | setCMShiftSlope (const Vector< Float > ¶ms) |
virtual Bool | setCMBrtCont (const Vector< Float > ¶ms) |
ImageInterface< Float > * | imageInterface () |
const viewer::ImageProperties & | imageProperties () |
void | unlock () |
force unlocking of paged images | |
void | init () |
void | initImage () |
void | setImage (ImageInterface< Float > *img) |
void | setInvertColorMap (bool invert) |
Static Public Member Functions | |
static std::string | path (const DisplayData *) |
static void | setGlobalColorOptions (bool global) |
Static Public Attributes | |
static const String | WEDGE_LABEL_CHAR_SIZE |
static const String | WEDGE_YES |
Protected Types | |
typedef std::map< const DisplayData *, QtDisplayData * > | data_to_qtdata_map_type |
Protected Slots | |
virtual void | setColorBarOrientation_ () |
Set the color bar orientation option according to the master value stored in the QtViewerBase (panel_->viewer()->colorBarsVertical_). | |
Protected Member Functions | |
virtual void | getInitialAxes_ (Block< uInt > &axs, const IPosition &shape, const CoordinateSystem *cs=0) |
Heuristic used internally to set initial axes to display on X, Y and Z, for PADDs. | |
virtual void | setColormap_ (const String &clrMapName, bool invertChanged=false) |
Set named colormap onto underlying dd (called from public setOptions()). | |
virtual void | removeColormap_ () |
virtual Bool | usesClrMap_ () |
Does this DD use/need a public colormap? | |
virtual Bool | usesColorBar_ () |
Can this QDD use a color bar? | |
Static Protected Attributes | |
static data_to_qtdata_map_type | dd_source_map |
Private Types | |
typedef ColormapDefinition::colormapnamemap | colormapnamemap |
All the valid ('primary') colormap names. | |
typedef std::map< String, Colormap * > | colormapmap |
Set of colormaps currently or previously used by this DD. | |
Private Member Functions | |
QtDisplayData () | |
Not intended for use. | |
bool | setColorBarOptions (Record &opts, Record &chgdOpts) |
void | checkGlobalChange (Record &chgdOpts) |
void | setPlotTitle () |
Private Attributes | |
QtDisplayPanelGui * | panel_ |
std::string | path_ |
std::string | dataType_ |
std::string | displayType_ |
const std::string | DISPLAY_RASTER |
const std::string | DISPLAY_CONTOUR |
const std::string | DISPLAY_VECTOR |
const std::string | DISPLAY_MARKER |
const std::string | TYPE_IMAGE |
ImageInterface< Float > * | im_ |
ImageInterface< Complex > * | cim_ |
DisplayData * | dd_ |
std::string | name_ |
bool | invertColorMap |
String | clrMapName_ |
Name of colormap used by dd_ ("" if none) | |
String | restoreColorMapName |
Color maps can be removed. | |
Colormap * | clrMap_ |
Will be set onto underlying dd_ if needed (0 if none) | |
DParameterChoice * | clrMapOpt_ |
Parses colormap choice out of a setOptions record. | |
colormapnamemap | clrMapNames_ |
colormapmap | clrMaps_ |
String | errMsg_ |
Latest error message, retrievable via errMsg(). | |
WedgeDD * | colorBar_ |
The DD that draws the color bar key for the main DD -- 0 if N/A. | |
DParameterChoice * | colorBarDisplayOpt_ |
Is color bar display turned on? ("Yes" / "No") | |
DParameterRange< Float > * | colorBarThicknessOpt_ |
Manual user adjustment factor for color bar thickness. | |
DParameterRange< Float > * | colorBarLabelSpaceOpt_ |
Manual user adjustment factor for color bar label space. | |
DParameterChoice * | colorBarOrientationOpt_ |
"horizontal" / "vertical" | |
DParameterRange< Float > * | colorBarCharSizeOpt_ |
Size of label characters on color bar (affects margins only). | |
viewer::ImageProperties | image_properties |
Static Private Attributes | |
static bool | globalColorSettings |
static const String | COLOR_MAP |
Definition at line 65 of file QtDisplayData.qo.h.
typedef std::map<String, Colormap*> casa::QtDisplayData::colormapmap [private] |
Set of colormaps currently or previously used by this DD.
Once a Colormap is created, it is retained for the life of the DD.
Definition at line 445 of file QtDisplayData.qo.h.
typedef ColormapDefinition::colormapnamemap casa::QtDisplayData::colormapnamemap [private] |
All the valid ('primary') colormap names.
(This interface doesn't support use of 'synonym' names).
Definition at line 437 of file QtDisplayData.qo.h.
typedef std::map<const DisplayData*,QtDisplayData*> casa::QtDisplayData::data_to_qtdata_map_type [protected] |
Definition at line 397 of file QtDisplayData.qo.h.
casa::QtDisplayData::QtDisplayData | ( | QtDisplayPanelGui * | panel, |
String | path, | ||
String | dataType, | ||
String | displayType, | ||
const viewer::DisplayDataOptions & | ddo = viewer::DisplayDataOptions() , |
||
const viewer::ImageProperties & | props = viewer::ImageProperties() |
||
) |
casa::QtDisplayData::QtDisplayData | ( | ) | [inline, private] |
Not intended for use.
Definition at line 402 of file QtDisplayData.qo.h.
void casa::QtDisplayData::axisChanged | ( | String | , |
String | , | ||
String | , | ||
std::vector< int > | |||
) | [signal] |
(mkApr2012) axisChanged and axisChangedProfile have the identical functionality, to send out the names of the current x/y/z axes.
The profiler needs to be notified first such subsequent plot request from regions are accepted. For that reason there is the signal axisChangedProfile which connects to the profiler and is emitted prior to axisChanged (in QtDisplayData::checkAxis())
void casa::QtDisplayData::axisChangedProfile | ( | String | , |
String | , | ||
String | , | ||
std::vector< int > | |||
) | [signal] |
virtual void casa::QtDisplayData::checkAxis | ( | ) | [virtual, slot] |
void casa::QtDisplayData::checkGlobalChange | ( | Record & | chgdOpts | ) | [private] |
virtual WedgeDD* casa::QtDisplayData::colorBar | ( | ) | [inline, virtual] |
Retrieve color bar ('wedge') DD.
(0 if none. It will exist if hasColorBar() is True). (Not for general use).
Definition at line 221 of file QtDisplayData.qo.h.
References colorBar_.
void casa::QtDisplayData::colorBarChange | ( | ) | [signal] |
Emitted when color bars may need rearrangement on panels where this QDD is registered.
QDP connects this to its checkColorBars_() slot.
virtual Float casa::QtDisplayData::colorBarLabelSpaceAdj | ( | ) | [virtual] |
Used (by QtDisplayPanel) to compute margin space for colorbar labels.
It is the (pgplot) character size for colorbar labels (default 1.2) times a label space 'adjustment' user option (default 1.).
virtual Float casa::QtDisplayData::colorBarSizeAdj | ( | ) | [inline, virtual] |
User-requested adjustment to colorbar thickness (will probably remain at the default value of 1).
Used by QtDisplayPanel to aid in sizing colorbar panels.
Definition at line 204 of file QtDisplayData.qo.h.
References colorBarThicknessOpt_, casa::max(), casa::DParameterRange< T >::maximum(), casa::min(), casa::DParameterRange< T >::minimum(), casa::DParameterRange< T >::value(), and wouldDisplayColorBar().
virtual std::string casa::QtDisplayData::dataType | ( | ) | const [inline, virtual] |
Definition at line 84 of file QtDisplayData.qo.h.
References dataType_.
virtual DisplayData* casa::QtDisplayData::dd | ( | ) | [inline, virtual] |
virtual Display::DisplayDataType casa::QtDisplayData::ddType | ( | ) | [virtual] |
Possible valuse: Raster, Vector, Annotation, CanvasAnnotation.
Referenced by usesTracking().
virtual void casa::QtDisplayData::delTmpData | ( | ) | const [virtual] |
virtual Bool delTmpData() const;
std::string casa::QtDisplayData::description | ( | ) | const |
virtual std::string casa::QtDisplayData::displayType | ( | ) | [inline, virtual] |
Definition at line 85 of file QtDisplayData.qo.h.
References displayType_.
virtual void casa::QtDisplayData::done | ( | ) | [virtual, slot] |
void casa::QtDisplayData::emitOptionsChanged | ( | Record | changedOpts | ) | [slot] |
virtual String casa::QtDisplayData::errMsg | ( | ) | [inline, virtual] |
Definition at line 101 of file QtDisplayData.qo.h.
References errMsg_.
virtual Int casa::QtDisplayData::getAxisIndex | ( | String | axtype = String("Spectral") | ) | [virtual] |
Return the number of the spectral axis within the DD's original image lattice and coordinate system (-1 if none).
virtual Int spectralAxis();
virtual Bool casa::QtDisplayData::getCMBrtCont | ( | Vector< Float > & | params | ) | const [virtual] |
virtual Bool casa::QtDisplayData::getCMShiftSlope | ( | Vector< Float > & | params | ) | const [virtual] |
Get/set colormap shift/slope ('fiddle') and brightness/contrast settings.
(At present this is usually set for the PC's current colormap via mouse tools. These may want to to into get/setOptions (thus into guis) eventually...). Return value will be False if DD has no colormap [at present].
const String& casa::QtDisplayData::getColormap | ( | ) | [inline, slot] |
Definition at line 290 of file QtDisplayData.qo.h.
References clrMapName_.
virtual void casa::QtDisplayData::getInitialAxes_ | ( | Block< uInt > & | axs, |
const IPosition & | shape, | ||
const CoordinateSystem * | cs = 0 |
||
) | [protected, virtual] |
Heuristic used internally to set initial axes to display on X, Y and Z, for PADDs.
shape should be that of Image/Array, and have same nelements as axs. On return, axs[0], axs[1] and (if it exists) axs[2] will be axes to display initially on X, Y, and animator, respectively. If you pass a CS for the image, it will give special consideration to Spectral [/ Direction] axes (users expect their spectral axes on Z, e.g.)
virtual Record casa::QtDisplayData::getOptions | ( | ) | [virtual] |
retrieve the Record of options.
This is similar to a 'Parameter Set', containing option types, default values, and meta-information, suitable for building a user interface for controlling the DD.
Referenced by casa::QtDisplayDataGui::QtDisplayDataGui().
String casa::QtDisplayData::getPositionInformation | ( | const Vector< double > | world | ) |
void casa::QtDisplayData::globalOptionsChanged | ( | QtDisplayData * | , |
Record | |||
) | [signal] |
virtual Bool casa::QtDisplayData::hasColorBar | ( | ) | [inline, virtual] |
Is a color bar WDD defined for this QDD?
Definition at line 192 of file QtDisplayData.qo.h.
References colorBar_.
Referenced by wouldDisplayColorBar().
virtual Bool casa::QtDisplayData::hasColormap | ( | ) | const [inline, virtual] |
Does this DD currently own a colormap?
Definition at line 225 of file QtDisplayData.qo.h.
References clrMap_.
ImageInterface<Float>* casa::QtDisplayData::imageInterface | ( | ) | [inline] |
void casa::QtDisplayData::init | ( | ) |
void casa::QtDisplayData::initImage | ( | ) |
Bool casa::QtDisplayData::isContour | ( | ) | const |
virtual Bool casa::QtDisplayData::isEmpty | ( | ) | [inline, virtual] |
Did creation of wrapped DD fail?
Definition at line 114 of file QtDisplayData.qo.h.
References dd_.
Referenced by usesTracking().
Bool casa::QtDisplayData::isImage | ( | ) | const |
Bool casa::QtDisplayData::isMarker | ( | ) | const |
Bool casa::QtDisplayData::isRaster | ( | ) | const |
Display Type.
Referenced by usesClrMap_(), and usesColorBar_().
bool casa::QtDisplayData::isSkyCatalog | ( | ) | const |
virtual bool casa::QtDisplayData::isValidColormap | ( | const QString & | name | ) | const [virtual] |
Different DisplayDatas could have different colormap palettes thus this is non-static and specific to a display data.
Bool casa::QtDisplayData::isVector | ( | ) | const |
virtual ImageRegion* casa::QtDisplayData::mouseToImageRegion | ( | Record | mouseRegion, |
WorldCanvasHolder * | wch, | ||
Bool | allChannels = False , |
||
Bool | allPols = False , |
||
Bool | allRAs = False , |
||
Bool | allDECs = False , |
||
Bool | allAxes = False |
||
) | [virtual] |
Convert 2-D 'pseudoregion' (or 'mouse region' Record, from the region mouse tools) to a full Image Region, with same number of axes as the DD's Lattice (and relative to its CoordinateSystem).
Return value is 0 if the conversion can't be made or does not apply to this DD for any reason (ignored by non-Lattice DDs, e.g.).
If allChannels==True, the region is extended along spectral axis, if it exists (but ONLY if the spectral axis is not also on display; the visible mouse region always defines region shape on the display axes).
If allAxes is True, the region is extended over all (non-display) axes (including any spectral axis; allAxes=True makes the allChannels setting irrelevant).
If both allchannels and allAxes are False (the default), the region will be confined to the currently-displayed plane.
-->If the returned ImageRegion* is non-zero, the caller -->is responsible for deleting it.
virtual ImageRegion* casa::QtDisplayData::mouseToImageRegion | ( | Record | mouseRegion, |
WorldCanvasHolder * | wch, | ||
String & | extChan, | ||
String & | extPol | ||
) | [virtual] |
virtual std::string casa::QtDisplayData::name | ( | ) | [inline, virtual] |
Definition at line 80 of file QtDisplayData.qo.h.
References name_.
Referenced by casa::QtDisplayDataGui::QtDisplayDataGui(), and setName().
virtual const char* casa::QtDisplayData::nameChrs | ( | ) | [inline, virtual] |
Definition at line 81 of file QtDisplayData.qo.h.
References name_.
void casa::QtDisplayData::optionsChanged | ( | Record | changedOptions | ) | [signal] |
Signals changes the DD has made internally to option values, limits, etc., that ui (if any) will want to reflect.
Calling setOptions() to change one option value may cause this to be emitted with any other options which have changed as a result.
void casa::QtDisplayData::optionsSet | ( | ) | [signal] |
Emitted when options successfully set without error.
static std::string casa::QtDisplayData::path | ( | const DisplayData * | ) | [static] |
std::string casa::QtDisplayData::path | ( | ) | const [inline] |
Definition at line 99 of file QtDisplayData.qo.h.
References path_.
virtual Bool casa::QtDisplayData::printLayerStats | ( | ImageRegion & | imgReg | ) | [virtual] |
virtual Bool casa::QtDisplayData::printRegionStats | ( | ImageRegion & | imgReg | ) | [virtual] |
Print statistics on image for given region.
Returns False if unable to do so.
void casa::QtDisplayData::qddError | ( | String | errmsg | ) | [signal] |
Emitted when problems encountered (in setOptions, e.g.)
virtual void casa::QtDisplayData::registerNotice | ( | QtDisplayPanel * | ) | [virtual, slot] |
(Should only be used by QtDisplayPanels to notify the QDD that it has been registered, or is about to be unregistered, on the QDP).
void casa::QtDisplayData::removeColorMap | ( | const String & | name | ) |
virtual void casa::QtDisplayData::removeColormap_ | ( | ) | [inline, protected, virtual] |
Definition at line 383 of file QtDisplayData.qo.h.
References setColormap_().
virtual Bool casa::QtDisplayData::setCMBrtCont | ( | const Vector< Float > & | params | ) | [virtual] |
virtual Bool casa::QtDisplayData::setCMShiftSlope | ( | const Vector< Float > & | params | ) | [virtual] |
bool casa::QtDisplayData::setColorBarOptions | ( | Record & | opts, |
Record & | chgdOpts | ||
) | [private] |
virtual void casa::QtDisplayData::setColorBarOrientation_ | ( | ) | [protected, virtual, slot] |
Set the color bar orientation option according to the master value stored in the QtViewerBase (panel_->viewer()->colorBarsVertical_).
Connected to QtViewerBase's colorBarOrientationChange() signal; also called during initialization.
void casa::QtDisplayData::setColorMap | ( | Colormap * | colorMap | ) |
void casa::QtDisplayData::setColormap | ( | const String & | clrMapName | ) | [inline, slot] |
Definition at line 291 of file QtDisplayData.qo.h.
References setColormap_().
virtual void casa::QtDisplayData::setColormap_ | ( | const String & | clrMapName, |
bool | invertChanged = false |
||
) | [protected, virtual] |
Set named colormap onto underlying dd (called from public setOptions()).
Pass "" to remove/delete any existing colormap for the QDD. In the case that no colormap is set on a dd that needs one (raster dds, mostly), the drawing canvas will provide a default. See ColormapDefinition.h, and the Table gui/colormaps/default.tbl (in the data repository) for the list of valid default colormap names (and information on creating/installing custom ones). If an invalid name is passed, an (ignorable) error message is signalled, and the dd's colormap will remain unchanged.
Referenced by removeColormap_(), and setColormap().
virtual void casa::QtDisplayData::setDelTmpData | ( | Bool | delTmpData | ) | [virtual] |
static void casa::QtDisplayData::setGlobalColorOptions | ( | bool | global | ) | [static] |
void casa::QtDisplayData::setHistogramColorMapping | ( | float | minValue, |
float | maxValue, | ||
float | powerScale | ||
) | [slot] |
void casa::QtDisplayData::setImage | ( | ImageInterface< Float > * | img | ) |
void casa::QtDisplayData::setInvertColorMap | ( | bool | invert | ) |
virtual void casa::QtDisplayData::setName | ( | const std::string & | name | ) | [inline, virtual] |
Definition at line 82 of file QtDisplayData.qo.h.
virtual void casa::QtDisplayData::setOptions | ( | Record | opts, |
Bool | emitAll = False |
||
) | [virtual, slot] |
Apply option values to the DisplayData.
Method will emit optionsChanged() if other option values, limits, etc. should also change as a result. 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.
void casa::QtDisplayData::setPlotTitle | ( | ) | [private] |
void casa::QtDisplayData::setSaturationRange | ( | double | min, |
double | max | ||
) | [slot] |
This is used to get the display data to set a saturation range from another image.
void casa::QtDisplayData::showColorHistogram | ( | QtDisplayData * | ) | [signal] |
void casa::QtDisplayData::spectrumChanged | ( | String | spcTypeUnit, |
String | spcRval, | ||
String | spcSys | ||
) | [signal] |
void casa::QtDisplayData::statsReady | ( | const String & | ) | [signal] |
void casa::QtDisplayData::trackingChange | ( | QtDisplayData * | ) | [signal] |
Emitted when something in the DD (besides mouse movement) means that tracking data for this QDD could be usefully recomputed and redisplayed.
Underlying DDs can indicate this in setOptions by defining the "trackingchange" field in chgdOpts (recOut).
virtual pair<String,String> casa::QtDisplayData::trackingInfo | ( | const WCMotionEvent & | ev | ) | [virtual] |
Returns a String with value and position information, suitable for a cursor tracking display.
void casa::QtDisplayData::unlock | ( | ) |
force unlocking of paged images
virtual void casa::QtDisplayData::unregisterNotice | ( | QtDisplayPanel * | ) | [virtual, slot] |
virtual Bool casa::QtDisplayData::usesClrMap_ | ( | ) | [inline, protected, virtual] |
Does this DD use/need a public colormap?
Definition at line 389 of file QtDisplayData.qo.h.
References displayType_, and isRaster().
virtual Bool casa::QtDisplayData::usesColorBar_ | ( | ) | [inline, protected, virtual] |
Can this QDD use a color bar?
Definition at line 395 of file QtDisplayData.qo.h.
References isRaster().
virtual Bool casa::QtDisplayData::usesTracking | ( | ) | [inline, virtual] |
Can the QDD display tracking information?
Definition at line 123 of file QtDisplayData.qo.h.
References casa::Display::Annotation, casa::Display::CanvasAnnotation, ddType(), and isEmpty().
virtual Bool casa::QtDisplayData::wouldDisplayColorBar | ( | ) | [inline, virtual] |
Would this QDD want to display a color bar if registered and conformant for drawing?
Definition at line 178 of file QtDisplayData.qo.h.
References colorBarDisplayOpt_, hasColorBar(), casa::DParameterChoice::value(), and WEDGE_YES.
Referenced by colorBarSizeAdj().
ImageInterface<Complex>* casa::QtDisplayData::cim_ [private] |
Definition at line 416 of file QtDisplayData.qo.h.
Colormap* casa::QtDisplayData::clrMap_ [private] |
Will be set onto underlying dd_ if needed (0 if none)
Definition at line 430 of file QtDisplayData.qo.h.
Referenced by hasColormap().
String casa::QtDisplayData::clrMapName_ [private] |
Name of colormap used by dd_ ("" if none)
Definition at line 423 of file QtDisplayData.qo.h.
Referenced by getColormap().
Definition at line 438 of file QtDisplayData.qo.h.
DParameterChoice* casa::QtDisplayData::clrMapOpt_ [private] |
Parses colormap choice out of a setOptions record.
Definition at line 433 of file QtDisplayData.qo.h.
colormapmap casa::QtDisplayData::clrMaps_ [private] |
Definition at line 446 of file QtDisplayData.qo.h.
const String casa::QtDisplayData::COLOR_MAP [static, private] |
Definition at line 447 of file QtDisplayData.qo.h.
WedgeDD* casa::QtDisplayData::colorBar_ [private] |
The DD that draws the color bar key for the main DD -- 0 if N/A.
Definition at line 457 of file QtDisplayData.qo.h.
Referenced by colorBar(), and hasColorBar().
Size of label characters on color bar (affects margins only).
Definition at line 486 of file QtDisplayData.qo.h.
Is color bar display turned on? ("Yes" / "No")
Definition at line 469 of file QtDisplayData.qo.h.
Referenced by wouldDisplayColorBar().
Manual user adjustment factor for color bar label space.
Hopefully the automatic choice (by QtDisplayPanel) will be adequate in most cases, and this can remain at the default value of 1.
Definition at line 479 of file QtDisplayData.qo.h.
"horizontal" / "vertical"
Definition at line 482 of file QtDisplayData.qo.h.
Manual user adjustment factor for color bar thickness.
Hopefully the automatic choice (by QtDisplayPanel) will be adequate in most cases, and this can remain at the default value of 1.
Definition at line 474 of file QtDisplayData.qo.h.
Referenced by colorBarSizeAdj().
std::string casa::QtDisplayData::dataType_ [private] |
Definition at line 409 of file QtDisplayData.qo.h.
Referenced by dataType().
DisplayData* casa::QtDisplayData::dd_ [private] |
Definition at line 417 of file QtDisplayData.qo.h.
data_to_qtdata_map_type casa::QtDisplayData::dd_source_map [static, protected] |
Definition at line 398 of file QtDisplayData.qo.h.
const std::string casa::QtDisplayData::DISPLAY_CONTOUR [private] |
Definition at line 411 of file QtDisplayData.qo.h.
const std::string casa::QtDisplayData::DISPLAY_MARKER [private] |
Definition at line 413 of file QtDisplayData.qo.h.
const std::string casa::QtDisplayData::DISPLAY_RASTER [private] |
Definition at line 410 of file QtDisplayData.qo.h.
const std::string casa::QtDisplayData::DISPLAY_VECTOR [private] |
Definition at line 412 of file QtDisplayData.qo.h.
std::string casa::QtDisplayData::displayType_ [private] |
Definition at line 409 of file QtDisplayData.qo.h.
Referenced by displayType(), and usesClrMap_().
String casa::QtDisplayData::errMsg_ [private] |
Latest error message, retrievable via errMsg().
(Where possible, errors are indicated via the qddError signal rather than a throw, and the code attempts something sensible in case the caller chooses to ignore it).
Definition at line 453 of file QtDisplayData.qo.h.
Referenced by errMsg().
bool casa::QtDisplayData::globalColorSettings [static, private] |
Definition at line 403 of file QtDisplayData.qo.h.
ImageInterface<Float>* casa::QtDisplayData::im_ [private] |
Definition at line 415 of file QtDisplayData.qo.h.
Referenced by imageInterface().
Definition at line 488 of file QtDisplayData.qo.h.
bool casa::QtDisplayData::invertColorMap [private] |
Definition at line 421 of file QtDisplayData.qo.h.
std::string casa::QtDisplayData::name_ [private] |
Definition at line 419 of file QtDisplayData.qo.h.
Referenced by name(), nameChrs(), and setName().
QtDisplayPanelGui* casa::QtDisplayData::panel_ [private] |
Definition at line 408 of file QtDisplayData.qo.h.
std::string casa::QtDisplayData::path_ [private] |
Definition at line 409 of file QtDisplayData.qo.h.
Referenced by path().
Color maps can be removed.
In such a case, the restoreColorMapName holds the previous one so we can reset to that in case the one we are using is removed.
Definition at line 427 of file QtDisplayData.qo.h.
const std::string casa::QtDisplayData::TYPE_IMAGE [private] |
Definition at line 414 of file QtDisplayData.qo.h.
const String casa::QtDisplayData::WEDGE_LABEL_CHAR_SIZE [static] |
Definition at line 254 of file QtDisplayData.qo.h.
const String casa::QtDisplayData::WEDGE_YES [static] |
Definition at line 255 of file QtDisplayData.qo.h.
Referenced by wouldDisplayColorBar().