28 #ifndef TRIALDISPLAY_MWCPTREGION_H
29 #define TRIALDISPLAY_MWCPTREGION_H
WorldCanvas event-based polygon region drawer.
void getWorldCoords(casacore::Vector< casacore::Double > &x, casacore::Vector< casacore::Double > &y)
get the world coords of the current polygon region
virtual ~MWCPTRegion()
Destructor.
virtual void doubleInside()
Handle double-click inside the polygon.
virtual void regionReady()
This function is called when a region is deliberately "finished" by the user.
MWCPTRegion(Display::KeySym keysym=Display::K_Pointer_Button3)
Constructor.
void getLinearCoords(casacore::Vector< casacore::Double > &x, casacore::Vector< casacore::Double > &y)
get the linear coords of the current ploygon region
KeySym
Keysyms for PixelCanvas keyboard events.