28 #ifndef TRIALDISPLAY_HISTOGRAM2DDD_H
29 #define TRIALDISPLAY_HISTOGRAM2DDD_H
38 template <
class T>
class ImageInterface;
39 template <
class T>
class LatticeStatistics;
40 template <
class T>
class LatticeHistograms;
Class providing active behaviour for 2d CachingDisplayDatas.
Assistance class for auto-caching of DisplayData objects.
A DisplayMethod to draw histograms.
virtual casacore::Record getOptions(bool scrub=false) const
Retrieve the current and default options and parameter types.
virtual casacore::Bool setOptions(casacore::Record &rec, casacore::Record &recOut)
Apply options stored in rec to the DisplayData.
DisplayDataType
WorldCanvasHolder - what type of DisplayData is this, need to know for drawing order.
Buffer for storing Attributes.
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()
Return the data unit.
virtual ~Histogram2dDD()
Constructor taking a pointer to an already constructed casacore::Table, and a casacore::String indica...
Histogram2dDD()
(Required) default constructor.
virtual AttributeBuffer optionsAsAttributes()
Return the current options of this DisplayData as an AttributeBuffer.
virtual Display::DisplayDataType classType()
Return the type of this DisplayData.
casacore::LatticeStatistics< casacore::Float > * itsLatticeStatistics
Object to use for calculating statistics.
Base class for auto-caching DisplayData objects.
void operator=(const Histogram2dDD &other)
(Required) copy assignment.
A DisplayData to draw histograms.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
const casacore::MaskedLattice< casacore::Float > & maskedLattice() const
Provide read-only access to the MaskedLattce.
casacore::ImageInterface< casacore::Float > * itsBaseImage
The base image cloned at construction.
virtual casacore::String showValue(const casacore::Vector< casacore::Double > &world)
casacore::Format the histogram value at the given world position.
const casacore::Lattice< casacore::Float > & lattice() const
Provide read-only access to the Lattice.
Implementation of drawing in world coordinates on top of a PixelCanvas.
virtual void setDefaultOptions()
Install the default options for this DisplayData.
casacore::LatticeHistograms< casacore::Float > * itsLatticeHistograms
Object ot use for calculating histograms.
String: the storage and methods of handling collections of characters.
casacore::MaskedLattice< casacore::Float > * itsMaskedLattice
The masked lattice, effectively referencing one of itsBaseImage, ...
Canvas annotation - can draw outside draw area.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.