28 #ifndef TRIALDISPLAY_CROSSHAIREVENT_H
29 #define TRIALDISPLAY_CROSSHAIREVENT_H
WorldCanvasEvent:contains info on the WC point selected by MWCCrosshairTool.
CrosshairEvent(WorldCanvas *wc, const casacore::Int pixX, const casacore::Int pixY, const casacore::String &evtype)
Constructor taking a pointer to the WorldCanvas where the event occured, and the pixel coordinates of...
casacore::Int itsPixX
pixel position of the event
casacore::String itsEvType
"down", "move", or "up", according to mouse state.
virtual casacore::Int pixX() const
The x and y pixel position of the crosshair when the event occurred.
virtual casacore::String evtype() const
virtual casacore::Int pixY() const
Implementation of drawing in world coordinates on top of a PixelCanvas.
String: the storage and methods of handling collections of characters.
Base class describing event information for WorldCanvases.