casa
$Rev:20696$
|
A DisplayData to setup a World coordinate plot. More...
#include <WorldAxesDD.h>
Public Member Functions | |
WorldAxesDD () | |
Constructor. | |
virtual | ~WorldAxesDD () |
Destructor. | |
virtual void | setDefaultOptions () |
Install the default options for this DisplayData. | |
virtual Bool | setOptions (Record &rec, Record &recOut) |
Apply options stored in rec to the DisplayData. | |
virtual Record | getOptions () |
Retrieve the current and default options and parameter types. | |
virtual CachingDisplayMethod * | newDisplayMethod (WorldCanvas *worldCanvas, AttributeBuffer *wchAttributes, AttributeBuffer *ddAttributes, CachingDisplayData *dd) |
Create a new AxesDisplayMethod for drawing on the given WorldCanvas when the AttributeBuffers are suitably matched to the current state of this DisplayData and of the WorldCanvas/Holder. | |
virtual AttributeBuffer | optionsAsAttributes () |
Return the current options of this DisplayData as an AttributeBuffer. | |
virtual String | spectralUnit () const |
virtual String | velocityType () const |
virtual String | axisText (const WorldCanvas *wc, const uInt axisNo) const |
virtual String | xAxisText (const WorldCanvas *wc=0) const |
Get the X and Y axis text Strings for labelling. | |
virtual String | yAxisText (const WorldCanvas *wc=0) const |
String | dataType () const |
Pure virtual function from DisplayData... | |
Protected Member Functions | |
WorldAxesDD (const WorldAxesDD &other) | |
(Required) copy constructor. | |
void | operator= (const WorldAxesDD &other) |
(Required) copy assignment. | |
Private Member Functions | |
void | installDefaultOptions () |
Install the default options for this DisplayData. | |
Private Attributes | |
DParameterChoice * | itsParamSpectralUnit |
Set Spectral preference (options) | |
DParameterChoice * | itsParamVelocityType |
A DisplayData to setup a World coordinate plot.
Public interface
Definition at line 58 of file WorldAxesDD.h.
Constructor.
virtual casa::WorldAxesDD::~WorldAxesDD | ( | ) | [virtual] |
Destructor.
casa::WorldAxesDD::WorldAxesDD | ( | const WorldAxesDD & | other | ) | [protected] |
(Required) copy constructor.
virtual String casa::WorldAxesDD::axisText | ( | const WorldCanvas * | wc, |
const uInt | axisNo | ||
) | const [virtual] |
String casa::WorldAxesDD::dataType | ( | ) | const [inline, virtual] |
Pure virtual function from DisplayData...
Implements casa::DisplayData.
Definition at line 105 of file WorldAxesDD.h.
virtual Record casa::WorldAxesDD::getOptions | ( | ) | [virtual] |
Retrieve the current and default options and parameter types.
Reimplemented from casa::AxesDisplayData.
void casa::WorldAxesDD::installDefaultOptions | ( | ) | [private] |
Install the default options for this DisplayData.
Reimplemented from casa::CachingDisplayData.
virtual CachingDisplayMethod* casa::WorldAxesDD::newDisplayMethod | ( | WorldCanvas * | worldCanvas, |
AttributeBuffer * | wchAttributes, | ||
AttributeBuffer * | ddAttributes, | ||
CachingDisplayData * | dd | ||
) | [virtual] |
Create a new AxesDisplayMethod for drawing on the given WorldCanvas when the AttributeBuffers are suitably matched to the current state of this DisplayData and of the WorldCanvas/Holder.
The tag is a unique number used to identify the age of the newly constructed CachingDisplayMethod.
Reimplemented from casa::AxesDisplayData.
void casa::WorldAxesDD::operator= | ( | const WorldAxesDD & | other | ) | [protected] |
(Required) copy assignment.
virtual AttributeBuffer casa::WorldAxesDD::optionsAsAttributes | ( | ) | [virtual] |
Return the current options of this DisplayData as an AttributeBuffer.
Reimplemented from casa::AxesDisplayData.
virtual void casa::WorldAxesDD::setDefaultOptions | ( | ) | [virtual] |
Install the default options for this DisplayData.
Reimplemented from casa::AxesDisplayData.
virtual Bool casa::WorldAxesDD::setOptions | ( | Record & | rec, |
Record & | recOut | ||
) | [virtual] |
Apply options stored in rec
to the DisplayData.
A return value of True
means a refresh is needed. recOut
contains any fields which were implicitly changed as a result of the call to this function.
Reimplemented from casa::AxesDisplayData.
virtual String casa::WorldAxesDD::spectralUnit | ( | ) | const [inline, virtual] |
Definition at line 94 of file WorldAxesDD.h.
References itsParamSpectralUnit, and casa::DParameterChoice::value().
virtual String casa::WorldAxesDD::velocityType | ( | ) | const [inline, virtual] |
Definition at line 97 of file WorldAxesDD.h.
References itsParamVelocityType, and casa::DParameterChoice::value().
virtual String casa::WorldAxesDD::xAxisText | ( | const WorldCanvas * | wc = 0 | ) | const [virtual] |
Get the X and Y axis text Strings for labelling.
a WC can be supplied in order to retrieve default titles from the WC CS.
Reimplemented from casa::AxesDisplayData.
virtual String casa::WorldAxesDD::yAxisText | ( | const WorldCanvas * | wc = 0 | ) | const [virtual] |
Reimplemented from casa::AxesDisplayData.
Set Spectral preference (options)
Definition at line 121 of file WorldAxesDD.h.
Referenced by spectralUnit().
Definition at line 122 of file WorldAxesDD.h.
Referenced by velocityType().