28 #ifndef TRIALDISPLAY_WCDATASCALEHANDLER_H
29 #define TRIALDISPLAY_WCDATASCALEHANDLER_H
37 template <
class T>
class Array;
Class to provide option parsing routines for display classes.
virtual casacore::Bool setOptions(casacore::Record &rec, casacore::Record &recOut)
apply options stored in val to the DisplayData; return value true means a refresh is needed...
casacore::uInt rangeMax_
range limits rangeMin is always zero
virtual casacore::Record getOptions(bool scrub=false) const
retrieve the current and default options and parameter types.
void setDomainMinMax(casacore::Double min, casacore::Double max)
void setRangeMax(casacore::uInt max)
WCDataScaleHandler()
Default Constructor Required.
casacore::Double domainMin_
domain limits to use
virtual casacore::Bool operator()(casacore::Array< casacore::uInt > &out, const casacore::Array< casacore::Bool > &in)
op() returns true if the casacore::Array in was converted to the casacore::Array out successfully...
virtual ~WCDataScaleHandler()
Destructor (does nothing)
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
casacore::Double domainMax_
virtual void setDefaultOptions()
install the default options for this DisplayData
casacore::uInt rangeMax() const
set/get the maximum value to use for the output array Note: the minimum value is always zero ...
casacore::Double domainMax() const
casacore::Double domainMin() const
set/get the min/max to use for the input Array
Class implementing simple data scaling for the WorldCanvas.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.