28 #ifndef TRIALDISPLAY_WCCSNLAXISLABELLER_H
29 #define TRIALDISPLAY_WCCSNLAXISLABELLER_H
Base class for WorldCanvas axis labelling using a DisplayCoordinateSystem.
Class which stores WorldCanvas refresh event information.
virtual ~WCCSNLAxisLabeller()
Destructor.
casacore::uInt itsDrawListNumber
our drawlist number
Buffer for storing Attributes.
virtual casacore::Record getOptions() const
retrieve the current and default options and parameter types.
virtual void setDefaultOptions()
install the default options for this DisplayData
void setWorldRanges(const casacore::Vector< casacore::Double > &worldMin, const casacore::Vector< casacore::Double > &worldMax, const casacore::Vector< casacore::String > &units)
Set the world min and max ranges (and their associated units) to be used by the DisplayCoordinateSyst...
virtual casacore::Bool draw(const WCRefreshEvent &ev)
Draw axis labels for the provided WorldCanvas refresh event.
WorldCanvas * itsLastWorldCanvas
last WorldCanvas drawn upon
Class which provides non-linear axis labelling using a DisplayCoordinateSystem.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
casacore::Bool itsValid
Is the drawlist state below valid?
virtual casacore::Bool setOptions(const casacore::Record &rec, casacore::Record &updatedOptions)
apply options stored in rec to the DisplayData; return value true means a refresh is needed...
Implementation of drawing in world coordinates on top of a PixelCanvas.
virtual void setCoordinateSystem(const DisplayCoordinateSystem &coordsys)
Install the DisplayCoordinateSystem to use.
virtual void invalidate()
Invalidate/return any cached drawing list.
AttributeBuffer itsDrawStateBuffer
attribute buffer that suits the drawlist we have made
WCCSNLAxisLabeller()
Constructor.