casa::PlotSelectEvent Class Reference

#include <PlotEvent.h>

Inheritance diagram for casa::PlotSelectEvent:

Inheritance graph
[legend]
Collaboration diagram for casa::PlotSelectEvent:

Collaboration graph
[legend]
List of all members.

Detailed Description

Event for when the user selects a region on a plot canvas with the mouse.

Definition at line 55 of file PlotEvent.h.

Public Member Functions

 PlotSelectEvent (PlotCanvas *canvas, const PlotRegion &region)
 Constructor that takes the originating canvas and the selected region.
 ~PlotSelectEvent ()
 Destructor.
void * origin () const
 Overrides PlotEvent::origin().
PlotCanvascanvas () const
 Returns the canvas upon which the selection was made.
PlotRegion region () const
 Returns the region that was selected.

Protected Attributes

PlotCanvasm_canvas
PlotRegion m_region


Constructor & Destructor Documentation

casa::PlotSelectEvent::PlotSelectEvent ( PlotCanvas canvas,
const PlotRegion region 
)

Constructor that takes the originating canvas and the selected region.

casa::PlotSelectEvent::~PlotSelectEvent (  ) 

Destructor.


Member Function Documentation

void* casa::PlotSelectEvent::origin (  )  const [inline, virtual]

Overrides PlotEvent::origin().

Implements casa::PlotEvent.

Definition at line 64 of file PlotEvent.h.

References canvas().

PlotCanvas* casa::PlotSelectEvent::canvas (  )  const

Returns the canvas upon which the selection was made.

Referenced by origin().

PlotRegion casa::PlotSelectEvent::region (  )  const

Returns the region that was selected.


Member Data Documentation

PlotCanvas* casa::PlotSelectEvent::m_canvas [protected]

Definition at line 73 of file PlotEvent.h.

PlotRegion casa::PlotSelectEvent::m_region [protected]

Definition at line 74 of file PlotEvent.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 27 21:28:16 2009 for NRAOCASA by  doxygen 1.5.1