28 #ifndef TRIALDISPLAY_WCCSAXISLABELLER_H
29 #define TRIALDISPLAY_WCCSAXISLABELLER_H
146 if(uibase==0 || uibase==1)
uiBase_ = uibase;
Base class for WorldCanvas axis labelling using a DisplayCoordinateSystem.
WCCSAxisLabeller::SpecAxisType itsSpecAxisType
void setDirectionState()
Set new direction state in itsCoordinateSystem.
casacore::String itsRestValue
casacore::String axisText(casacore::Int worldAxis, WorldCanvas *wc) const
Generate axis text for specified axis.
casacore::String itsRestUnit
casacore::Int spectralprec() const
virtual DisplayCoordinateSystem coordinateSystem() const
Get the DisplayCoordinateSystem.
void setAbsRelState()
Set absolute/relative state in itsCoordinateSystem.
casacore::String axisText(casacore::Int worldAxis) const
casacore::Bool hasCoordinateSystem() const
Has a CS been set?
virtual void setDefaultOptions()
install the default options for this labeller.
casacore::Int itsSpectralPrecision
casacore::Bool itsWorldAxisLabels
Abstract class for drawing grids, axes, ticks and tick labels on a WorldCanvas.
casacore::String itsSpectralUnit
DisplayCoordinateSystem itsCoordinateSystem
casacore::String itsSpectralQuantity
virtual void setUIBase(casacore::Int uibase)
static const casacore::String FRAME_REST
casacore::String itsZLabelPos
virtual casacore::Record getOptions() const
retrieve the current and default options and parameter types.
casacore::Bool itsAbsolute
WCCSAxisLabeller()
Constructor.
virtual casacore::Bool setOptions(const casacore::Record &rec, casacore::Record &updatedOptions)
apply options stored in rec to the labeller; return value true means a refresh is needed...
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
casacore::Bool itsHasCoordinateSystem
casacore::String itsZLabelType
void distributeTypeUnit()
"optical velocity [m/s]" –> "optical velocity" and "m/s"
casacore::String itsSpectralTypeUnit
virtual void setZIndex(casacore::Int zindex)
const casacore::String & spectralunitStr() const
virtual void setCoordinateSystem(const DisplayCoordinateSystem &coordsys)
Install a DisplayCoordinateSystem.
virtual casacore::String zLabelPos() const
Implementation of drawing in world coordinates on top of a PixelCanvas.
casacore::String itsDirectionSystem
virtual casacore::String zLabelType() const
String: the storage and methods of handling collections of characters.
casacore::Bool useWCCS
Setting this true allows the labeller to use the WorldCanvas's own CS to draw labels (although itsCoo...
virtual casacore::String xAxisText() const
casacore::String itsDirectionUnit
void setSpectralState()
Set new spectral state in itsCoordinateSystem.
virtual ~WCCSAxisLabeller()
Destructor.
virtual casacore::String yAxisText() const
virtual casacore::Int uiBase() const
DD 'Absolute Pixel Coordinates', e.g.
casacore::String itsFrequencySystem