28 #ifndef TRIALDISPLAY_LATTICEASCONTOUR_H
29 #define TRIALDISPLAY_LATTICEASCONTOUR_H
43 template <
class T>
class Array;
51 template <
class T>
class LatticePADMContour;
162 template <
class T>
class LatticeAsContour :
public LatticePADisplayData<T> {
299 #ifndef AIPS_NO_TEMPLATE_SRC
300 #include <display/DisplayDatas/LatticeAsContour.tcc>
301 #endif //# AIPS_NO_TEMPLATE_SRC
virtual void setupElements()
Create the various elements in the sequence of displayable maps.
A Vector of integers, for indexing into Array<T> objects.
casacore::Bool itsDashNeg
casacore::String itsColor
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.
DisplayDataType
WorldCanvasHolder - what type of DisplayData is this, need to know for drawing order.
virtual casacore::Bool setOptions(casacore::Record &rec, casacore::Record &recOut)
Apply the options stored in the provided casacore::Record to the LatticeAsContour object...
DParameterRange< casacore::Float > * itsUnitContour
virtual casacore::Record getOptions(bool scrub=false) const
Retrieve the currently set options, and their types, default values, and any help text associated wit...
virtual Display::DisplayDataType classType()
Return the DisplayData type; used by the WorldCanvasHolder to determine the order of drawing...
A base class for astronomical images.
virtual casacore::Vector< casacore::Float > levels()
Actual selected contour levels.
DParameterRange< casacore::Float > * itsBaseContour
Min and Max actual contours.
casacore::Vector< casacore::Float > itsLevels
Relative contour levels.
LatticeExprNode abs(const LatticeExprNode &expr)
Numerical 1-argument functions which result in a real number regardless of input expression type...
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
Partial implementation of PrincipalAxesDD for casacore::Lattice-based data.
virtual casacore::String className() const
class name
virtual casacore::String showPosition(const casacore::Vector< casacore::Double > &wld, const casacore::Bool &abs, const casacore::Bool &dsp)
Adds contour level information to the standard position tracking string from PADD.
template <class T, class U> class vector;
virtual ~LatticeAsContour()
Destructor.
virtual void constructParameters_()
Construct user option DisplayParameters (for min/max contour.) (To be used by constructors only...
virtual void setDefaultOptions()
install the default options for display
casacore::Vector data - can go next
casacore::Bool itsDashPos
String: the storage and methods of handling collections of characters.
virtual void setStdContourLimits_(casacore::Record *recOut=0)
Set standard limits/values for contour sliders.
virtual casacore::String levelString(casacore::Int prec=0)
Actual levels, in casacore::String format.
Class to draw a single contour map of a slice from an AIPS++ Lattice.
LatticeAsContour(casacore::Array< T > *array, const casacore::uInt xAxis, const casacore::uInt yAxis, const casacore::uInt mAxis, const casacore::IPosition fixedPos)
casacore::Array-based constructors: >2d and 2d.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.