#include <mask_overlay.hh>
Inherits Overlay.
Definition at line 42 of file mask_overlay.hh.
◆ MaskOverlay() [1/2]
◆ MaskOverlay() [2/2]
◆ ApplyShiftToMask()
void ApplyShiftToMask |
( |
| ) |
|
◆ ClearMask()
◆ ClearShift()
◆ GetMask()
◆ GetMenu()
virtual QMenu* GetMenu |
( |
| ) |
|
|
virtual |
return overlay specific pulldown menu
Reimplemented from Overlay.
◆ GetShift()
◆ OnDraw()
virtual void OnDraw |
( |
QPainter & |
pnt, |
|
|
DataViewerPanel * |
dvp, |
|
|
bool |
is_active |
|
) |
| |
|
virtual |
call when redrawing is necessary
params: the drawing context, the parent data viewer, as well as a flag to indicate wether this overlay is currently active
Reimplemented from Overlay.
◆ OnKeyEvent()
key event handler
see comments for the mouse events
Reimplemented from Overlay.
◆ OnMouseEvent()
virtual bool OnMouseEvent |
( |
QMouseEvent * |
e, |
|
|
DataViewerPanel * |
dvp, |
|
|
const QPoint & |
lastmouse |
|
) |
| |
|
virtual |
mouse event handler
if an overlay is active, it receives the mouse events. if it handles the event for itself, it should return true, otherwise false should be returned to give the data viewer a chance to handle the event for itself
Reimplemented from Overlay.
◆ SetMask()
◆ SetShift()
◆ active_
◆ add_mode_
◆ menu_
◆ new_poly_
◆ old_mouse_pos_
◆ polygons_
◆ shift_
The documentation for this class was generated from the following file: