27 #ifndef TRIALDISPLAY_DISPLAYSHAPEWITHCOORDS_H
28 #define TRIALDISPLAY_DISPLAYSHAPEWITHCOORDS_H
36 template <
class T>
class Vector;
37 template <
class T>
class Matrix;
virtual casacore::Record getRawOptions()=0
std::vector< double > Vector
static casacore::Vector< casacore::Float > screenToRel(const casacore::Vector< casacore::Float > &screen, PixelCanvas *pc)
static void matrixFloatFromQuant(casacore::Record &inHere, const casacore::String &field, const casacore::String &onlyParseTheseUnits)
static void matrixFloatToQuant(casacore::Record &inHere, const casacore::String &field, const casacore::String &unit)
static void floatFromPix(casacore::Record &inHere, const casacore::String &field)
virtual ~DisplayShapeWithCoords()
static WorldCanvas * chooseWCFromWorldPoints(const casacore::Record &settings, const casacore::String &fieldWithPoints, PanelDisplay *pd)
static WorldCanvas * chooseWCFromWorldPoint(const casacore::Record &settings, PanelDisplay *pd)
static void floatPointFromPix(casacore::Record &inHere, const casacore::String &field)
Base class defining interface to pixel-based output devices.
static void floatToPix(casacore::Record &inHere, const casacore::String &field)
static casacore::Vector< casacore::Float > floatPointFromQuant(const casacore::Record &inHere, const casacore::String &field, casacore::String &units)
static void pixelToWorldPoints(casacore::Record &inHere, const casacore::String &fieldname, WorldCanvas *wc)
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
static casacore::Vector< casacore::Float > relToScreen(const casacore::Vector< casacore::Float > &rel, PixelCanvas *pc)
static WorldCanvas * chooseWCFromPixPoints(const casacore::Matrix< casacore::Float > points, PanelDisplay *pd)
static void floatPointToPix(casacore::Record &inHere, const casacore::String &field)
Implementation of drawing in world coordinates on top of a PixelCanvas.
A class which creates and manages "panelled" displays.
String: the storage and methods of handling collections of characters.
static casacore::Bool inWorldCanvasDrawArea(const casacore::Matrix< casacore::Float > points, WorldCanvas *wc)
static WorldCanvas * chooseWCFromPixPoint(const casacore::Float &xPos, const casacore::Float &yPos, PanelDisplay *pd)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.