27 #ifndef TRIALDISPLAY_WEDGEDD_H
28 #define TRIALDISPLAY_WEDGEDD_H
37 template <
class T>
class Matrix;
42 class WCPowerScaleHandler;
114 return std::vector<int>( );
virtual casacore::Record getOptions(bool scrub=false) const
Retrieve the current and default options and parameter types.
A Vector of integers, for indexing into Array<T> objects.
Class providing active behaviour for 2d CachingDisplayDatas.
virtual Display::DisplayDataType classType()
Return the type of this DisplayData.
Assistance class for auto-caching of DisplayData objects.
Class which stores WorldCanvas refresh event information.
virtual casacore::String showValue(const casacore::Vector< casacore::Double > &world)
casacore::Format the wedge value at the given world position.
virtual casacore::Bool labelAxes(const WCRefreshEvent &ev)
Axis labeller, 5th step in the WCHolder refresh cycle.
WCCSNLAxisLabeller itsAxisLabeller
the axis labeller
DisplayDataType
WorldCanvasHolder - what type of DisplayData is this, need to know for drawing order.
Buffer for storing Attributes.
std::string errorMessage() const
virtual casacore::Bool setOptions(casacore::Record &rec, casacore::Record &recOut)
Apply options stored in rec to the DisplayData.
virtual void notifyUnregister(WorldCanvasHolder &wcHolder, casacore::Bool ignoreRefresh=false)
Take actions on removal from WC[H] (notably, deletion of drawlists).
casacore::Float itsPowerCycles
the power law adjustment for for the scle handler
virtual AttributeBuffer optionsAsAttributes()
Return the current options of this DisplayData as an AttributeBuffer.
WCPowerScaleHandler * itsPowerScaleHandler
static const casacore::String WEDGE_PREFIX
casacore::String itsOptionsMode
void operator=(const WedgeDD &other)
(Required) copy assignment.
bool isDisplayable() const
virtual void setup()
Constructor help function, creates coordinatesystem and fills data Matrix.
virtual void updateCsys()
The coordinate sydtem needs to be update when the data range changes.
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 sui...
virtual const casacore::Unit dataUnit() const
Return the data unit.
Base class for auto-caching DisplayData objects.
WedgeDD(DisplayData *image)
Class which provides non-linear axis labelling using a DisplayCoordinateSystem.
virtual ~WedgeDD()
Destructor.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
Rastered data - should go first.
DisplayCoordinateSystem itsCoordinateSystem
the local coordinate system - gets exported to the parent DD
The DisplayMethod to draw Wedges.
A holder to interface between DisplayDatas and a WorldCanvas.
Implementation of drawing in world coordinates on top of a PixelCanvas.
A DisplayData to draw color wedges.
casacore::Matrix< casacore::Float > itsColorbar
The actual colorbar data.
casacore::uInt itsLength
the length of the Vector
String: the storage and methods of handling collections of characters.
casacore::String itsDataUnit
the unit of the input data
virtual void setDefaultOptions()
Install the default options for this DisplayData.
virtual casacore::Bool canLabelAxes() const
Base class for display objects.
std::vector< int > displayAxes() const
DlHandle< DisplayData > ihandle_
Linear, logarithmic and exponential scaling of data for the WorldCanvas.
casacore::String dataType() const
Pure virtual function from DisplayData...
casacore::Float itsMin
casacore::Data minimum and maximum to set up the coordinate system
casacore::uInt dataDim() const
const casacore::IPosition dataShape() const
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.