28 #ifndef TRIALDISPLAY_WORLDCANVAS_H
29 #define TRIALDISPLAY_WORLDCANVAS_H
51 class WCCoordinateHandler;
52 class WCSizeControlHandler;
53 class WCResampleHandler;
54 class WCDataScaleHandler;
56 class DisplayCoordinateSystem;
1003 return x>=x0 && x<x1 && y>=y0 && y<y1 ;
1011 return x>=x0 && x<x1 && y>=y0 && y<y1 ;
1078 const std::list<DisplayData*> &
displaylist( )
const;
void updateFracSizesOffsets()
Display::ComplexToRealMethod complexToRealMethod() const
ComplexToRealMethod defines which real component of a Complex image to extract when it is necessary t...
bool drawMarkerMap(const casacore::Vector< casacore::Double > &blc, const casacore::Vector< casacore::Double > &trc, const casacore::Matrix< casacore::Float > &data, const casacore::Matrix< casacore::Bool > &mask, casacore::Int xPixelInc, casacore::Int yPixelInc, casacore::Float scale, casacore::Double xWorldInc, casacore::Double yWorldInc, const casacore::String &markeType, casacore::Bool usePixelEdges)
Draw marker maps.
void setDataMax(casacore::Double max)
casacore::uInt newList()
Display list support functions.
void setAttribute(Attribute &at)
Set an Attribute or Attributes on the WorldCanvas.
void setCoordinateHandler(WCCoordinateHandler *ch)
Set casacore::Coordinate, SizeControl, Resample and DataScale handlers for the WorldCanvas.
void drawImage(const casacore::Vector< casacore::Double > &blPos, const casacore::Vector< casacore::Double > &trPos, const casacore::Matrix< casacore::Float > &data, const casacore::Bool usePixelEdges=false, void *drawObj=0)
Draw an image, mapping data values to Colormap entries, and place the lower left pixel at blPos...
virtual casacore::Record getOptions() const
Retrieve the current and default options and parameter types.
casacore::Bool drawMappedMarkers(const casacore::Vector< casacore::Float > &px, const casacore::Vector< casacore::Float > &py, const casacore::Vector< casacore::Float > &values, const casacore::Int sizemin=1, const casacore::Int sizemax=20, const Display::Marker=Display::Cross, const casacore::Bool &linear=false)
void setLinearCoordinateSystem(const casacore::Vector< casacore::Double > &blc, const casacore::Vector< casacore::Double > &trc, casacore::Bool resetZoom=true)
Set the allowable range of the linear coordinate system.
void setJoinStyle(Display::JoinStyle style)
virtual void handleEvent(DisplayEvent &ev)
Handle other, generic types of events.
casacore::Bool itsOwnResampleHandler
casacore::Double itsLinXMin
Linear casacore::Coordinate System ranges.
Class to provide option parsing routines for display classes.
void addRefreshEventHandler(DisplayEH &eh)
Add the given refresh, motion and position event handlers to the WorldCanvas.
casacore::Bool inDrawArea(casacore::Int x, casacore::Int y) const
Convenience functions returning whether a pixel coordinate is within bounds of the WC's inner draw ar...
void setCoordinateSystem(const DisplayCoordinateSystem &csys)
Set and retrieve the DisplayCoordinateSystem of this WorldCanvas.
casacore::Bool drawColormappedPoints(const casacore::Matrix< casacore::Double > &points, const casacore::Vector< casacore::Float > &values, const casacore::Bool &linear=false)
Draw a set of points in colors which are taken from the current Colormap.
void setLineStyle(Display::LineStyle style)
Class which stores WorldCanvas refresh event information.
DisplayData * itsCSmaster
[First] responder to 'sizeControl', responsible for setting WC CS, zoom window and draw area...
casacore::Bool itsOwnCoordinateHandler
void removeAttribute(casacore::String &name)
Remove an Attribute.
WorldCanvas Event Handler for managing events.
Base class defining the interface to controlling the WorldCanvas size.
casacore::uInt canvasDrawXOffset() const
Provide information on the WorldCanvas drawable offset and size.
casacore::Bool redrawIndexedImage(void *drawObj, Display::RefreshReason reason, casacore::Bool opaqueMask=false)
Optimization to speed up colormap fiddling in 24bit mode (software Colormap); see images_...
casacore::Bool worldToPix(casacore::Vector< casacore::Double > &pix, const casacore::Vector< casacore::Double > &world)
const DisplayData * csMaster() const
The DD in charge of setting WC coordinate state (0 if none).
casacore::Bool castingClippingConversion(casacore::Vector< casacore::Int > &pixelx, casacore::Vector< casacore::Int > &pixely, casacore::Vector< casacore::Bool > &validConversions, const casacore::Vector< casacore::Float > &worldx, const casacore::Vector< casacore::Float > &worldy, const casacore::Bool linear)
Convert the given coordinate/s to pixel coordinates.
size_t nelements() const
How many elements does this array have? Product of all axis lengths.
const IPosition & shape() const
The length of each axis of the Matrix.
std::map< void *, ColorIndexedImage_ * > images_
Cache of pre-drawn ColorIndexedImage_'s.
void setCapStyle(Display::CapStyle style)
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
void removePositionEventHandler(const WCPositionEH &eh)
bool drawContourMap(const casacore::Vector< casacore::Double > &blPos, const casacore::Vector< casacore::Double > &trPos, const casacore::Matrix< casacore::Float > &data, const casacore::Vector< casacore::Float > &levels, const casacore::Bool usePixelEdges=false)
Draw a contour map at the specified levels, and place the lower left pixel at blPos, and the upper right pixel at trPos.
void copyBackBufferToFrontBuffer()
Buffer memory exchanges which operate only on the area of the WorldCanvas.
void addPositionEventHandler(WCPositionEH &eh)
casacore::uInt itsRef
WorldCanvas::refresh is a recursive function.
void setAttributes(AttributeBuffer &at)
casacore::Bool mapToColorAndDrawEllipses(const casacore::Matrix< casacore::Double > ¢res, const casacore::Vector< casacore::Float > &smajor, const casacore::Vector< casacore::Float > &sminor, const casacore::Vector< casacore::Float > &pangle, const casacore::Vector< casacore::uInt > scaledValues, const casacore::Float &scale, const casacore::Bool &outline, const casacore::Bool &linear)
Draw a set of ellipses where scaledValues gives the Colormap index of each point. ...
void operator()(const PCRefreshEvent &pev)
Handle implicit refresh, motion and position events occuring on the PixelCanvas on which this WorldCa...
casacore::uInt itsCanvasDrawYOffset
casacore::Double linYMaxLimit() const
void drawList(casacore::uInt list)
casacore::Bool drawLine(const casacore::Vector< casacore::Double > &a, const casacore::Vector< casacore::Double > &b, const casacore::Bool &linear=false)
Draw a single line using the current color.
ColorIndexedImage_ * makeColorIndexedImage(const casacore::Vector< casacore::Double > &blc, const casacore::Vector< casacore::Double > &trc, const casacore::Matrix< casacore::Float > &data, const casacore::Bool usePixelEdges, void *drawObj)
Base class defining a set of transformations for WorldCanvas coordinates.
void setZoomRectangleLCS(const casacore::Vector< casacore::Double > &min, const casacore::Vector< casacore::Double > &max)
Set the zoom rectangle to the specfied linear coordinate range.
Display::ImageCacheStrategy imageCacheStrategy() const
Buffer for storing Attributes.
Base class for handling WorldCanvas motion events.
static const casacore::String RIGHT_MARGIN_SPACE_PG
DisplayData *& csMaster()
casacore::Bool drawPoint(const casacore::Vector< casacore::Double > &point, const casacore::Bool &linear=false)
Draw a single point using the current color.
void setForeground(casacore::uLong color)
DrawBuffer
PixelCanvas target drawing destination.
casacore::uInt itsCanvasDrawXOffset
***Cached*** blc pixel where the world canvas 'draw area' (inside margins, labels) begins...
casacore::Bool drawColormappedEllipses(const casacore::Matrix< casacore::Double > ¢res, const casacore::Vector< casacore::Float > &smajor, const casacore::Vector< casacore::Float > &sminor, const casacore::Vector< casacore::Float > &pangle, const casacore::Vector< casacore::Float > &colors, const casacore::Float &scale=1.0, const casacore::Bool &outline=true, const casacore::Bool &linear=false)
Draw a set of colored ellipses, possibly with outlines.
virtual void releasePGPLOTdevice()
casacore::uInt itsCanvasXSize
***Cached*** number of pixels in each dimension given to the world canvas = itsPixelCanvas->width()*(...
virtual casacore::Vector< casacore::String > worldAxisUnits() const
void setRestriction(const Attribute &restriction)
Install a single restriction, or a buffer of restrictions, on the WorldCanvas which DisplayData must ...
casacore::Double itsLinXMax
casacore::Double linXMinLimit() const
Provide information on the limits of the linear coordinate system.
void setSizeControlHandler(WCSizeControlHandler *sh)
ColorIndexedImage_ * getClearedColorIndexedImage(void *drawObj=0)
Retrieve an indexed image to write onto.
std::list< DisplayEH * > itsRefreshEHList
Event handler lists and convenient iterators.
casacore::Bool maskValid()
casacore::Bool itsOwnDataScaleHandler
void setDataMin(casacore::Double min)
FillRule
Fill Rule Xlib programming guide, pg.132.
void setDataScaleHandler(WCDataScaleHandler *sh)
ComplexToRealMethod
WorldCanvas - what to do with complex data if it is presented to WorldCanvas::drawImage() ...
void mapToColorAndDrawImage(const casacore::Vector< casacore::Int > &blc, const casacore::Matrix< casacore::uInt > &scaledImage)
Draw an image where scaledImage gives the Colormap index of each screen (PixelCanvas) pixel...
Class which stores PixelCanvas motion event information.
virtual void setDefaultOptions()
Install the default options for this DisplayData.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
Bool isEqual(const IPosition &other) const
Element-by-element comparison for equality.
casacore::Bool pixToLin(casacore::Vector< casacore::Double > &lin, const casacore::Vector< casacore::Double > &pix)
Pixel, linear and world coordinate transformation functions.
class for handling any type of DisplayEvent.
WCPGFilter * itsPGFilter
PGPLOT filter.
casacore::Matrix< casacore::uInt > mapToColor(const casacore::Matrix< casacore::uInt > &scaledImage)
WCResampleHandler * itsResampleHandler
Arbitrary name-value pairs used in the display classes.
void removeRefreshEventHandler(const DisplayEH &eh)
Remove the given refresh, motion and position event handlers from the WorldCanvas.
const std::list< DisplayData * > & displaylist() const
bool removeDD(const DisplayData *dd)
void callPositionEventHandlers(const WCPositionEvent &ev)
bool drawVectorMap(const casacore::Vector< casacore::Double > &blc, const casacore::Vector< casacore::Double > &trc, const casacore::Matrix< casacore::Complex > &data, const casacore::Matrix< casacore::Bool > &mask, casacore::Float angleConversionFactor, casacore::Float phasePolarity, casacore::Bool debias, casacore::Float variance, casacore::Int xPixelInc, casacore::Int yPixelInc, casacore::Float scale, casacore::Bool arrow, casacore::Float barb, casacore::Float rotation, casacore::Double xWorldInc, casacore::Double yWorldInc, const casacore::Bool usePixelEdges)
Draw a vector map.
Base class defining interface to pixel-based output devices.
ValueType
The possible value types.
casacore::Bool isCSmaster(const DisplayData *dd) const
Is the specified DisplayData the one in charge of WC state? (During DD::sizeControl() execution...
void addMotionEventHandler(WCMotionEH &eh)
casacore::String getWorldForegroundColor()
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
casacore::Bool itsGrabbing
This state is set true when the pointer is in this WC and a pointer button is pressed (with no button...
CapStyle
Controls the appearance of thick lines near their endpoints.
reference point aligned to center of text
casacore::Bool drawTextStrings(const casacore::Vector< casacore::Float > &px, const casacore::Vector< casacore::Float > &py, const casacore::Vector< casacore::String > &strings, const casacore::Float rotation=0.0, const casacore::Float xoffset=0.0, const casacore::Float yoffset=0.0, const casacore::Bool linear=false)
Draw a set of text strings using the current color.
std::list< WCPositionEH * > itsPositionEHList
void setRestrictions(const AttributeBuffer &resBuff)
ColorComponent
Color components.
Class which stores PixelCanvas refresh event information.
DisplayCoordinateSystem * itsCoordinateSystem
The DisplayCoordinateSystem for this WorldCanvas.
void setWorldCanvasPosition(casacore::Double fracXOffset, casacore::Double fracYOffset, casacore::Double fracXSize, casacore::Double fracYSize)
Set the location of the WorldCanvas on its PixelCanvas.
casacore::Bool matchesRestrictions(const AttributeBuffer &buffer) const
casacore::String itsWorldForegroundColor
casacore::Bool matchesRestriction(const Attribute &restriction) const
Determine whether the restrictions installed on the WorldCanvas match the given restriction or buffer...
casacore::Bool setWorldForegroundColor(const casacore::String color)
Interface between the WorldCanvas and its PGPLOT driver.
casacore::Bool drawText(const casacore::Vector< casacore::Double > &point, const casacore::String &text, Display::TextAlign alignment=Display::AlignCenter, const casacore::Bool &linear=false)
Draw unrotated text at the given position.
void removeRestrictions()
casacore::Vector< casacore::Int > blc
void clearColormapChangeCache()
Clear the whole colormap change cache (see images_, below).
casacore::Double itsDataMin
Dynamic data minimum and maximum for this WorldCanvas.
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
casacore::uInt canvasYSize() const
casacore::Double linXMaxLimit() const
casacore::Double itsFracYSize
void clear()
Clear the WorldCanvas, or just the area on the WorldCanvas but outside the drawing area...
casacore::Int itsHoldCount
Status of hold/release.
Class which stores WorldCanvas motion event information.
void registerColormap(Colormap *cmap, casacore::Float weight=1.0)
Register/unregister a Colormap on the PixelCanvas.
casacore::Bool existRestriction(const casacore::String &name) const
Check if a named restriction exists.
casacore::Bool mapToColorAndDrawPoints(const casacore::Matrix< casacore::Double > &points, const casacore::Vector< casacore::uInt > &scaledValues, const casacore::Bool &linear=false)
Draw a set of points where scaledValues gives the Colormap index of each point.
casacore::uInt itsId
itsId & itsRef used to ensure thread-safe execution of pgplot
void setImageCacheStrategy(Display::ImageCacheStrategy strategy)
Set/retrieve the caching strategy on the PixelCanvas.
PixelCanvas * pixelCanvas() const
Return a pointer to the PixelCanvas on which this WorldCanvas is installed.
casacore::uInt itsCanvasDrawYSize
casacore::Double itsLinXMaxLimit
void setDataMinMax(casacore::Double min, casacore::Double max)
casacore::uInt canvasDrawYOffset() const
Class describing the most basic event information in the display classes.
LatticeExprNode amp(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds sqrt(left^2+right^2).
casacore::Double linXMax() const
void hold()
Hold and release response to refreshes requested with the refresh() member function.
void callRefreshEventHandlers(const WCRefreshEvent &ev)
Call all registered refresh handlers (public method is refresh()).
casacore::Bool refreshAllowed()
Is a refresh currently allowed?
void ctorInit()
Support for construction.
void flushComponentImages()
Flush the component images, ie.
casacore::Bool itsRefreshHeld
void setColormap(Colormap *cmap)
Set and retrieve the current Colormap on the PixelCanvas.
casacore::Double linYMin() const
static const casacore::String TOP_MARGIN_SPACE_PG
casacore::Bool inPC(casacore::Int x, casacore::Int y)
casacore::uInt itsCanvasDrawXSize
***Cached*** number of pixels in each dimension given to the drawable part of the world canvas ...
AttributeBuffer itsRestrictions
A buffer to contain the restrictions that DisplayDatas must match if they are to be allowed to draw t...
casacore::Bool getAttributeValue(const casacore::String &name, casacore::uInt &newValue) const
User interface to get individual values from the attribute buffer.
void setClearColor(const casacore::String &color)
A hierarchical collection of named fields of various types.
casacore::Double itsLinYMax
bool Bool
Define the standard types used by Casacore.
void updateCanvasSizesOffsets()
Update canvas sizes/offsets from the fracOffsets, and vice versa.
casacore::String itsWorldBackgroundColor
Background/foreground colors.
ColorIndexedImage_ stores the state of a WorldCanvas::drawImage() rendering after the chosen data pla...
casacore::Bool linToPix(casacore::Vector< casacore::Double > &pix, const casacore::Vector< casacore::Double > &lin)
static const casacore::String BOTTOM_MARGIN_SPACE_PG
WCDataScaleHandler * itsDataScaleHandler
casacore::uInt canvasDrawYSize() const
casacore::Bool drawPolygon(const casacore::Matrix< casacore::Double > &vertices, const casacore::Bool &linear=false)
Draw a polygon (closed line, or line loop using the points) using the current color.
Display::DrawBuffer drawBuffer() const
PixelCanvas Event Handler for managing keyboard and mouse button events.
casacore::Double itsLinXMinLimit
Linear casacore::Coordinate System Limits.
static const casacore::String LEFT_MARGIN_SPACE_PG
WorldCanvas(PixelCanvas *pc, casacore::Double xOrigin=0.0, casacore::Double yOrigin=0.0, casacore::Double xSize=1.0, casacore::Double ySize=1.0)
Construct a WorldCanvas on the given PixelCanvas, at the given origin (in fractions of the PixelCanva...
WCSizeControlHandler * itsSizeControlHandler
Other handler lists.
casacore::Bool drawLines(const casacore::Matrix< casacore::Double > &vertices, const casacore::Bool &linear=false)
Draw pairs of lines using the current color.
virtual ~WorldCanvas()
Destructor.
void setResampleHandler(WCResampleHandler *rh)
int zIndex() const
convienience function based on "restriction buffer"...
AttValue::ValueType attributeType(casacore::String &name) const
Get the type of an Attribute.
casacore::Double linXMin() const
Provide information on the extents of the linear coordinate system.
casacore::Matrix< casacore::Bool > mask
casacore::uInt colormapSize
casacore::Bool worldToLin(casacore::Vector< casacore::Double > &lin, const casacore::Vector< casacore::Double > &world)
casacore::Double itsFracYOffset
const DisplayCoordinateSystem & coordinateSystem() const
void setComplexToRealMethod(const Display::ComplexToRealMethod method)
PixelCanvas * itsPixelCanvas
PixelCanvas pointer.
Base class for resampling data pixels to World/PixelCanvas pixels.
void removeMotionEventHandler(const WCMotionEH &eh)
void callMotionEventHandlers(const WCMotionEvent &ev)
Call all of the motion and position event handlers that are installed on the WorldCanvas.
std::list< WCMotionEH * > itsMotionEHList
FillStyle
Controls fill style.
void setFillStyle(Display::FillStyle style)
casacore::Matrix< casacore::uInt > data
RefreshReason
Callback reasons for PCRefreshEvent and WCRefreshEvent.
Class which stores WorldCanvas position event information.
casacore::Bool hasCS() const
Describes a method of generating a table of colors.
virtual void setDrawBuffer(Display::DrawBuffer buf)
Set/retrieve the drawing buffer, the target destination for graphics.
void trimAndResampleImage(casacore::Vector< casacore::Double > &drawBlc, casacore::Vector< casacore::Double > &drawTrc, casacore::Matrix< casacore::Float > &sampledImage, const casacore::Vector< casacore::Double > &blc, const casacore::Vector< casacore::Double > &trc, const casacore::Matrix< casacore::Float > &data, const casacore::Bool &usePixelEdges=false)
Trim and resample an image, returning the actual world BLC and TRC for drawing, and the resampled ima...
Class which stores PixelCanvas position event information.
void setArcMode(Display::ArcMode mode)
casacore::Double itsFracXOffset
Fractional position of world canvas on pixel canvas.
void setFillRule(Display::FillRule rule)
Implementation of drawing in world coordinates on top of a PixelCanvas.
casacore::Double itsLinYMinLimit
casacore::Bool drawPoints(const casacore::Matrix< casacore::Double > &points, const casacore::Bool &linear=false)
Draw a bunch of points using the current color.
WCCoordinateHandler * itsCoordinateHandler
void removeRestriction(const casacore::String &restrictionName)
Remove the named restriction, or all restrictions, from the WorldCanvas.
std::string errorMessage() const
void unregisterColormap(Colormap *cmap)
casacore::Double itsLinYMaxLimit
casacore::Double linYMinLimit() const
void copyFrontBufferToBackBuffer()
casacore::Bool linToWorld(casacore::Vector< casacore::Double > &world, const casacore::Vector< casacore::Double > &lin)
casacore::Bool drawBeamEllipse(casacore::Float major, casacore::Float minor, casacore::Float pa, casacore::String majunit="arcsec", casacore::String minunit="arcsec", casacore::String paunit="deg", casacore::Float cx=.1f, casacore::Float cy=.1f, casacore::Bool outline=true)
This routine is specialized for drawing image restoring-beam ellipses.
casacore::Bool existsAttribute(casacore::String &name) const
Check if a certain Attribute exists.
virtual void acquirePGPLOTdevice(const casacore::Bool &linear=true)
Position the PGPLOT filter on the WorldCanvas.
casacore::Bool castingConversion(casacore::Vector< casacore::Int > &pixelpt, const casacore::Vector< casacore::Double > &worldpt, const casacore::Bool &linear)
Convert the given coordinate/s to pixel coordinates.
casacore::Double dataMin() const
Functions to set and retrieve the minimum and maximum data values for scaling data that is drawn on t...
Display::RefreshReason itsHeldReason
casacore::Double dataMax() const
virtual casacore::Int pgid() const
Return the PGPLOT device id for external use.
virtual casacore::Bool setOptions(const casacore::Record &rec, casacore::Record &updatedOptions)
Apply options stored in rec to the DisplayData; return value true means a refresh is needed...
casacore::uInt canvasYOffset() const
casacore::Bool validList(casacore::uInt list)
Colormap * colormap() const
virtual casacore::Vector< casacore::String > worldAxisNames() const
Return the names and units of the world coordinate axes.
String: the storage and methods of handling collections of characters.
casacore::Bool setWorldBackgroundColor(const casacore::String color)
Set/retrieve the background and foreground colors of the WorldCanvas.
void resize(size_t nx, size_t ny, Bool copyValues=False)
casacore::uInt canvasDrawXSize() const
casacore::String getWorldBackgroundColor()
casacore::Bool itsOwnSizeControlHandler
Store whether we "own" the various handlers.
void deleteList(casacore::uInt list)
Base class for handling WorldCanvas position events.
casacore::Bool drawMarkers(const casacore::Vector< casacore::Float > &px, const casacore::Vector< casacore::Float > &py, const Display::Marker=Display::Cross, const casacore::Int size=5, const casacore::Bool &linear=false)
Draw a set of markers using the current color and a given pixel size.
void refresh(const Display::RefreshReason &reason=Display::UserCommand, const casacore::Bool &explicitrequest=true)
Refresh the WorldCanvas for the given reason.
ImageCacheStrategy
How to cache images when displaying them on client-server graphics systems.
casacore::Bool pixToWorld(casacore::Vector< casacore::Double > &world, const casacore::Vector< casacore::Double > &pix)
Base class for display objects.
LatticeExprNode variance(const LatticeExprNode &expr)
PixelCanvas Event Handler for managing pointer motion events.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the color(i.e.,"000000"for black) and
casacore::uInt canvasXSize() const
casacore::uInt itsCanvasYSize
casacore::uInt itsCanvasXOffset
***Cached*** blc pixel where this world canvas begins = itsPixelCanvas->width()*frac(X|Y)Offset_.
casacore::Bool drawPolyline(const casacore::Matrix< casacore::Double > &vertices, const casacore::Bool &linear=false)
Draw a polyline (connected line) between the vertices using the current color.
casacore::Bool setFont(const casacore::String &fontName)
casacore::Double linYMax() const
casacore::uInt itsCanvasYOffset
JoinStyle
Controls the appearance of two joined lines.
void setBackground(casacore::uLong color)
casacore::Double itsFracXSize
casacore::Bool inWC(casacore::Int x, casacore::Int y) const
void setColor(const casacore::String &color)
Set various graphics attributes.
const AttributeBuffer * restrictionBuffer() const
Return the buffer of restrictions installed on this WorldCanvas.
void resetZoomRectangle()
Reset the zoom to show the entire allowable range of the linear coordinate system.
Display::ComplexToRealMethod itsComplexToRealMethod
Method to use to convert complex data into real values.
void setLineWidth(casacore::Float width)
User told PixelCanvas to refresh via PixelCanvas refresh()
casacore::uInt canvasXOffset() const
Provide information on the WorldCanvas offset and size.
Class implementing simple data scaling for the WorldCanvas.
casacore::Bool removeIndexedImage(void *drawObj)
Remove image from the colormap change cache, if any (see images_, below).
void moveZoomRectangleLCS(double dx, double dy)
Move the zoom rectangle across the screen, ie.
LineStyle
Style of line to use.
AttributeBuffer attributes
Buffer for Attributes.
casacore::Double itsLinYMin
casacore::Double itsDataMax