MWCEvents.h

Classes

ResetCrosshairEvent -- Event sent to tell MWCCrosshairTool to reset. (full description)
ResetRTRegionEvent -- Event sent to tell MWCRTRegionTool to reset. (full description)

class ResetCrosshairEvent : public DisplayEvent

Interface

Public Members
ResetCrosshairEvent(Bool skipRefresh=False): False(), skipRefresh_(skipRefresh)
virtual const Bool skipRefresh() const

Description

Synopsis

ResetCrosshairEvent is created and sent to MWCCrosshairTool (via WorldCanvas::handleEvent()) to tell the crosshair to reset itself.

Motivation

This allows display library objects (e.g. MSAsRaster) to remove the crosshair from the screen when appropriate (e.g. when it has received a selection event from it).

Member Description

ResetCrosshairEvent(Bool skipRefresh=False): False(), skipRefresh_(skipRefresh)

caller sets skipRefresh=True iff it is handling refresh itself.

virtual const Bool skipRefresh() const


class ResetRTRegionEvent : public DisplayEvent

Interface

ResetRTRegionEvent(Bool skipRefresh=False): False(), skipRefresh_(skipRefresh)
virtual const Bool skipRefresh() const

Description

Synopsis

ResetRTRegionEvent is created and sent to MWCRTRegionTool (via WorldCanvas::handleEvent()) to tell the RTRegion to reset itself.

Motivation

This allows display library objects (e.g. MSAsRaster) to remove the rectangle from the screen when appropriate (e.g. when it has received a selection event from it).

Member Description

ResetRTRegionEvent(Bool skipRefresh=False): False(), skipRefresh_(skipRefresh)

caller sets skipRefresh=True iff it is handling refresh itself.

virtual const Bool skipRefresh() const