NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
niftk::StateMachineEventFilter Class Reference

StateMachineEventFilter represents a condition that has to be fulfilled so that an event is processed by a tool or interactor that derives from niftk::FilteringStateMachine. More...

Inheritance diagram for niftk::StateMachineEventFilter:
Inheritance graph
[legend]

Public Member Functions

 mitkClassMacroNoParent (StateMachineEventFilter) StateMachineEventFilter()
 
virtual ~StateMachineEventFilter ()
 
virtual bool EventFilter (const mitk::StateEvent *stateEvent) const
 Returns true if the event should be filtered, i.e. not processed, otherwise false. More...
 
virtual bool EventFilter (mitk::InteractionEvent *event) const
 

Detailed Description

StateMachineEventFilter represents a condition that has to be fulfilled so that an event is processed by a tool or interactor that derives from niftk::FilteringStateMachine.

This can be used e.g. to restrict the scope of a tool or interactor to specific render windows.

Constructor & Destructor Documentation

niftk::StateMachineEventFilter::~StateMachineEventFilter ( )
virtual

Member Function Documentation

virtual bool niftk::StateMachineEventFilter::EventFilter ( const mitk::StateEvent *  stateEvent) const
inlinevirtual

Returns true if the event should be filtered, i.e. not processed, otherwise false.

Reimplemented in niftk::BaseSegmentorController.

virtual bool niftk::StateMachineEventFilter::EventFilter ( mitk::InteractionEvent *  event) const
inlinevirtual

Reimplemented in niftk::BaseSegmentorController.

niftk::StateMachineEventFilter::mitkClassMacroNoParent ( StateMachineEventFilter  )

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