casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::SliceEH Class Reference

An event handler to negotiate between three different PanelDisplays. More...

#include <SlicePanelDisplay.h>

Inheritance diagram for casa::SliceEH:
casa::WCMotionEH casa::WCPositionEH casa::DTVisible

Public Member Functions

 SliceEH (PanelDisplay *mwch, casacore::uInt axis=0, casacore::uInt daxis=0)
 
virtual ~SliceEH ()
 
virtual void draw (const WCMotionEvent &ev)
 
virtual void operator() (const WCMotionEvent &ev)
 default sends event to cout More...
 
virtual void operator() (const WCPositionEvent &ev)
 Default just prints the event to cout. More...
 
virtual void matchKey (Display::KeySym key)
 
- Public Member Functions inherited from casa::WCMotionEH
 WCMotionEH ()
 Default Constructor Required. More...
 
virtual ~WCMotionEH ()
 Destructor. More...
 
- Public Member Functions inherited from casa::WCPositionEH
 WCPositionEH ()
 Default Constructor Required. More...
 
virtual ~WCPositionEH ()
 Destructor. More...
 
- Public Member Functions inherited from casa::DTVisible
 DTVisible ()
 Default constructor. More...
 
virtual ~DTVisible ()
 Destructor. More...
 
virtual casacore::String drawColor () const
 Return the color to use. More...
 
virtual casacore::Int lineWidth () const
 Return the line width to use. More...
 
virtual casacore::Double doubleClickInterval () const
 Return the double click interval (in seconds). More...
 

Private Attributes

PanelDisplayitsPD
 
MWCAnimator itsAni
 
casacore::uInt itsAxis
 
casacore::uInt itsDrawAxis
 
Display::KeySym itsPositionKey
 
Display::KeyModifier itsMotionKey
 

Additional Inherited Members

- Protected Member Functions inherited from casa::DTVisible
 DTVisible (const DTVisible &other)
 (Required) copy constructor. More...
 
DTVisibleoperator= (const DTVisible &other)
 (Required) copy assignment. More...
 

Detailed Description

An event handler to negotiate between three different PanelDisplays.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Definition at line 67 of file SlicePanelDisplay.h.

Constructor & Destructor Documentation

casa::SliceEH::SliceEH ( PanelDisplay mwch,
casacore::uInt  axis = 0,
casacore::uInt  daxis = 0 
)
virtual casa::SliceEH::~SliceEH ( )
virtual

Member Function Documentation

virtual void casa::SliceEH::draw ( const WCMotionEvent ev)
virtual
virtual void casa::SliceEH::matchKey ( Display::KeySym  key)
virtual
virtual void casa::SliceEH::operator() ( const WCMotionEvent ev)
virtual

default sends event to cout

Implements casa::WCMotionEH.

virtual void casa::SliceEH::operator() ( const WCPositionEvent ev)
virtual

Default just prints the event to cout.

Implements casa::WCPositionEH.

Member Data Documentation

MWCAnimator casa::SliceEH::itsAni
private

Definition at line 77 of file SlicePanelDisplay.h.

casacore::uInt casa::SliceEH::itsAxis
private

Definition at line 78 of file SlicePanelDisplay.h.

casacore::uInt casa::SliceEH::itsDrawAxis
private

Definition at line 79 of file SlicePanelDisplay.h.

Display::KeyModifier casa::SliceEH::itsMotionKey
private

Definition at line 81 of file SlicePanelDisplay.h.

PanelDisplay* casa::SliceEH::itsPD
private

Definition at line 76 of file SlicePanelDisplay.h.

Display::KeySym casa::SliceEH::itsPositionKey
private

Definition at line 80 of file SlicePanelDisplay.h.


The documentation for this class was generated from the following file: