28 #ifndef TRIALDISPLAY_ACTIVECACHING2DDD_H
29 #define TRIALDISPLAY_ACTIVECACHING2DDD_H
casacore::Vector< casacore::Double > worldAxisIncrements() const
Return the world axis increments.
Class providing active behaviour for 2d CachingDisplayDatas.
void setSpectralFormatting(DisplayCoordinateSystem &cSys, const casacore::String &velTypeString, const casacore::String &unitString)
Set Spectral formatting.
virtual casacore::Bool conformsToCS(const WorldCanvas &wc)
Determine whether DD can draw on the current coordinate system of the given WC[H].
ActiveCaching2dDD()
(Required) default constructor.
Buffer for storing Attributes.
virtual Type type()
Return the type enum.
casacore::Bool itsAbsolute
virtual casacore::Vector< casacore::String > worldAxisUnits() const
casacore::Bool itsShowWorldCoordinate
void identifyWorldAxis(casacore::Coordinate::Type &type, casacore::Int &coordinate, casacore::Int &axisincoord, const casacore::uInt worldaxisnum)
Identify a specified world axis by its casacore::Coordinate type, number, and axis in that coordinate...
casacore::Vector< casacore::Double > itsPixelBlc
Store the 2d pixel corners here.
virtual casacore::Bool linToWorld(casacore::Vector< casacore::Double > &world, const casacore::Vector< casacore::Double > &lin)
casacore::Coordinate transformation handlers, called by WorldCanvasHolder.
DisplayCoordinateSystem itsCoordinateSystem
Store the 2d DisplayCoordinateSystem here.
void setCoordinateSystem(const DisplayCoordinateSystem &coordsys, const casacore::Vector< casacore::Double > &pixblc, const casacore::Vector< casacore::Double > &pixtrc)
Install a DisplayCoordinateSystem and limits.
virtual casacore::Bool setOptions(casacore::Record &rec, casacore::Record &recOut)
Apply options stored in rec to the DisplayData.
virtual casacore::Bool worldToLin(casacore::Vector< casacore::Double > &lin, const casacore::Vector< casacore::Double > &world)
virtual casacore::String showPosition(const casacore::Vector< casacore::Double > &world, const casacore::Bool &displayAxesOnly=false)
casacore::Format a string containing coordinate information at the given world coordinate.
casacore::Vector< casacore::Double > itsPixelTrc
casacore::Bool itsFractionalPixels
Base class for auto-caching DisplayData objects.
casacore::String itsOptionsAspect
Option: aspect ratio for pixels.
virtual casacore::uInt nelements() const
and non-specific
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual casacore::Vector< casacore::String > worldAxisNames() const
World axis information suppliers.
Type
This enum lists the types of the derived classes.
casacore::String itsVelocityType
casacore::String codeWorldAxis(const casacore::uInt worldaxisnum)
Generate a casacore::String code for the specified world axis, describing the coordinate type...
virtual casacore::Bool sizeControl(WorldCanvasHolder &wcHolder, AttributeBuffer &holderBuf)
Negotiatiate WorldCanvas linear coordinate system when asked to do so by the WorldCanvasHolder.
void operator=(const ActiveCaching2dDD &other)
(Required) copy assignment.
A holder to interface between DisplayDatas and a WorldCanvas.
Implementation of drawing in world coordinates on top of a PixelCanvas.
virtual void setDefaultOptions()
Install the default options for this DisplayData.
virtual casacore::uInt nelements(const WorldCanvasHolder &) const
Return the number of display elements (ie.
virtual casacore::Bool worldCoordTracking() const
Return whether tracking is currently world (T) or pixel (F) coordinates.
String: the storage and methods of handling collections of characters.
virtual ~ActiveCaching2dDD()
Destructor.
casacore::String itsSpectralUnit
Position tracking.
virtual void cleanup()
Tidy up the elements of this DisplayData.
virtual casacore::Record getOptions(bool scrub=false) const
Retrieve the current and default options and parameter types.
virtual AttributeBuffer optionsAsAttributes()
Return the current options of this DisplayData as an AttributeBuffer.