Event for when the user selects a region on a plot canvas with the mouse. More...
#include <PlotEvent.h>
Public Member Functions | |
| PlotSelectEvent (PlotCanvas *canvas, const PlotRegion ®ion) | |
| Constructor that takes the originating canvas and the selected region. | |
| ~PlotSelectEvent () | |
| Destructor. | |
| void * | origin () const |
| Overrides PlotEvent::origin(). | |
| PlotCanvas * | canvas () const |
| Returns the canvas upon which the selection was made. | |
| PlotRegion | region () const |
| Returns the region that was selected. | |
Protected Attributes | |
| PlotCanvas * | m_canvas |
| PlotRegion | m_region |
Event for when the user selects a region on a plot canvas with the mouse.
Definition at line 53 of file PlotEvent.h.
| casa::PlotSelectEvent::PlotSelectEvent | ( | PlotCanvas * | canvas, | |
| const PlotRegion & | region | |||
| ) |
Constructor that takes the originating canvas and the selected region.
| casa::PlotSelectEvent::~PlotSelectEvent | ( | ) |
Destructor.
| PlotCanvas* casa::PlotSelectEvent::canvas | ( | ) | const |
Returns the canvas upon which the selection was made.
Referenced by origin().
| void* casa::PlotSelectEvent::origin | ( | ) | const [inline, virtual] |
Overrides PlotEvent::origin().
Implements casa::PlotEvent.
Definition at line 62 of file PlotEvent.h.
References canvas().
| PlotRegion casa::PlotSelectEvent::region | ( | ) | const |
Returns the region that was selected.
PlotCanvas* casa::PlotSelectEvent::m_canvas [protected] |
Definition at line 71 of file PlotEvent.h.
PlotRegion casa::PlotSelectEvent::m_region [protected] |
Definition at line 72 of file PlotEvent.h.
1.6.1