28 #ifndef TRIALDISPLAY_MWCRTZOOMER_H
29 #define TRIALDISPLAY_MWCRTZOOMER_H
Multi WorldCanvas event-based zoomer.
virtual void zoomIn(casacore::Double factor=2.)
zoom in/out by given factor
virtual void doubleOutside()
virtual void doubleInside()
Handle double-click inside or outside the rectangle; called by the base class when these events occu...
virtual void zoomOut(casacore::Double factor=2.)
virtual ~MWCRTZoomer()
Destructor.
virtual void unzoom()
This function resets the zoom.
void getLinearCoords(casacore::Vector< casacore::Double > &blc, casacore::Vector< casacore::Double > &trc)
get the linear coords of the current zoom box
virtual void zoomed(const casacore::Vector< casacore::Double > &linBlc, const casacore::Vector< casacore::Double > &linTrc)
This function is called when a zoom occurs.
virtual void zoom(const casacore::Vector< casacore::Double > &linBlc, const casacore::Vector< casacore::Double > &linTrc)
This function zooms with a given blc,trc.
MWCRTZoomer(Display::KeySym keysym=Display::K_Pointer_Button1)
Constructor.
KeySym
Keysyms for PixelCanvas keyboard events.