29 #ifndef TRIALDISPLAY_TBLASRASTERDD_H
30 #define TRIALDISPLAY_TBLASRASTERDD_H
270 #ifndef AIPS_NO_TEMPLATE_SRC
271 #include <display/DisplayDatas/TblAsRasterDDTemplates.tcc>
272 #endif //# AIPS_NO_TEMPLATE_SRC
virtual const casacore::Unit dataUnit()
casacore::Bool getTableKeyword(T &value, const casacore::String keyword) const
Get the value of the named keyword, or the first keyword matching regex, and return it in value...
Class providing active behaviour for 2d CachingDisplayDatas.
Assistance class for auto-caching of DisplayData objects.
virtual casacore::Bool setOptions(casacore::Record &rec, casacore::Record &recOut)
Apply options stored in rec to the DisplayData.
Class for displaying data within a table as a raster image.
Main interface class to a read/write table.
casacore::Table * table()
provide read-only access to the table
DisplayDataType
WorldCanvasHolder - what type of DisplayData is this, need to know for drawing order.
Buffer for storing Attributes.
virtual casacore::String showValue(const casacore::Vector< casacore::Double > &world)
format the table value at the give world position
virtual void setDefaultOptions()
install the default options for this DisplayData
virtual void cleanup()
Clean up (ie.
casacore::Vector< casacore::Double > itsLintrc
A DisplayMethod to draw Raster images from table data.
casacore::Table * itsTable
The table to be displayed.
void constructParameters()
Construct and destruct the parameter set.
casacore::Vector< casacore::String > itsColumnNames
store all the table column names
DisplayCoordinateSystem itsCoord
holder for the current coordinate system
casacore::String itsOptQueryString
options - what is the query string and is it unset?
casacore::Bool itsOptQueryStringUnset
void getCoordinateSystem()
update/set the coordinate system
TblAsRasterDD()
(Required) default constructor.
DParameterChoice * itsMColumnSet
void destructParameters()
Base class for auto-caching DisplayData objects.
Regular expression class.
casacore::Bool arrangeQueryTable()
Arrange the query table (called after changing an option).
void installDefaultOptions()
set the default options for this display data
DParameterChoice * itsYColumnName
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
Rastered data - should go first.
DParameterChoice * itsXColumnName
what columns are we displaying and do we have a movie axis available
casacore::Vector< double > columnStatistics(const casacore::String &columnName)
get the table column world coordinate range
DParameterChoice * itsMColumnName
virtual Display::DisplayDataType classType()
Return the type of this DisplayData.
Implementation of DisplayParameter to store choice parameters.
virtual CachingDisplayMethod * newDisplayMethod(WorldCanvas *worldCanvas, AttributeBuffer *wchAttributes, AttributeBuffer *ddAttributes, CachingDisplayData *dd)
Create a new TblAsRasterDM for drawing on the given WorldCanvas when the AttributeBuffers are suitabl...
virtual ~TblAsRasterDD()
Destructor.
virtual AttributeBuffer optionsAsAttributes()
Return the current options of this DisplayData as an AttributeBuffer.
void operator=(const TblAsRasterDD &other)
(Required) copy assignment.
void setCoordinateSystem()
casacore::Table * itsQueryTable
The result from a table query.
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
casacore::Vector< casacore::Double > itsLinblc
virtual casacore::Record getOptions(bool scrub=false) const
Retrieve the current and default options and parameter types.
Implementation of drawing in world coordinates on top of a PixelCanvas.
casacore::Vector< casacore::String > getColumnNamesOfType(const casacore::Bool isarray)
get all of the table columnNames with a certain data type
String: the storage and methods of handling collections of characters.
void getTableColumnNames()
get all of the table columnNames
casacore::Bool getColumnKeyword(T &value, const casacore::String column, const casacore::String keyword) const
Get the value of the named keyword, or the first keyword matching regex for the named column...
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.