28 #ifndef TRIALDISPLAY_SKYCATOVERLAYDD_H
29 #define TRIALDISPLAY_SKYCATOVERLAYDD_H
47 class SkyCatOverlayDM;
Implementation of DParameterChoice to store color selection parameters.
void operator=(const SkyCatOverlayDD &other)
(Required) copy assignment.
casacore::Unit columnUnit(const casacore::String columnName) const
Return the unit of a given column in the table.
Simple implementation of a cached DisplayData for sky catalogue overlays.
Assistance class for auto-caching of DisplayData objects.
DParameterChoice * itsParamMapColumn
Main interface class to a read/write table.
casacore::Unit itsLongitudeUnit
DParameterChoice * itsParamCharacterFont
Labelling character font, size, color and angle.
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 Display::Marker markerType() const
Get the marker type, size and color.
DParameterChoice * itsParamNameColumn
Option: which column is mapped to the name?
DParameterMapKeyChoice * itsParamMarkerType
Marker type, size and color.
DParameterRange< casacore::Float > * itsParamLabelYOffset
void constructParameters()
Construct and destruct the parameter set.
virtual void setDefaultOptions()
Install the default options for this DisplayData.
DParameterRange< casacore::Int > * itsParamCharacterAngle
DParameterRange< casacore::Float > * itsParamLabelXOffset
Labelling character offsets in character height units.
virtual casacore::Float labelYOffset() const
virtual casacore::String charColor() const
virtual casacore::Record getOptions(bool scrub=false) const
Retrieve the current and default options and parameter types.
virtual casacore::Int markerSize() const
casacore::Vector< casacore::String > itsColumnNames
Store the column names here.
virtual casacore::Float lineWidth() const
Get the line width for labelling.
virtual casacore::String markerColor() const
virtual casacore::Float labelXOffset() const
Get the label x and y offsets (in character height).
Base class for auto-caching DisplayData objects.
casacore::String itsLongitudeColumn
Option: what type of coordinates are provided? casacore::String itsCoordinateType; ...
casacore::String itsLatitudeColumn
Which column is mapped to the latitude coordinate, and what is its unit?
casacore::Table * table()
Return the casacore::Table pointer for use by derived classes.
void destructParameters()
DParameterRange< casacore::Float > * itsParamCharacterSize
casacore::String itsDirectionTypeColumn
Which column is mapped to epoch.
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...
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual casacore::String mapColumn() const
Get the column name for value-size mapping.
virtual casacore::Float charSize() const
Class to draw catalogue overlays for SkyCatOverlayDD.
Implementation of DisplayParameter to store choice parameters.
DParameterRange< casacore::Int > * itsParamMarkerSize
Implementation of DParameterChoice to store parameter and associated key.
casacore::Int keyValue()
Return the current value of this parameter.
DParameterColorChoice * itsParamMarkerColor
virtual casacore::Bool conformsToCS(const WorldCanvas &wch)
Determine ability to draw, given current canvas coordinate state.
T value()
Return the current value of this parameter.
virtual casacore::Int charAngle() const
virtual casacore::String charFont() const
Get the character font, size, color and angle for labelling.
virtual casacore::Bool determineDirectionColumnMapping()
Attempt to determine which columns map to longitude, latitude, and type.
Class adding casacore::Table-specific support functions to PassiveCachingDD.
Implementation of drawing in world coordinates on top of a PixelCanvas.
virtual casacore::String nameColumn() const
Get the column name for text labelling.
DParameterColorChoice * itsParamCharacterColor
casacore::String value()
Return the current value of this parameter.
casacore::Unit itsLatitudeUnit
String: the storage and methods of handling collections of characters.
SkyCatOverlayDD()
(Required) default constructor.
DParameterRange< casacore::Int > * itsParamLineWidth
plot line width
virtual ~SkyCatOverlayDD()
Destructor.
casacore::String dataType() const
Pure virtual function from DisplayData...
std::string errorMessage() const
Canvas annotation - can draw outside draw area.
virtual Display::DisplayDataType classType()
Return the type of this DisplayData.
virtual AttributeBuffer optionsAsAttributes()
Return the current options of this DisplayData as an AttributeBuffer.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.