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

StateMachineRendererFilter represents a condition that allows only the events coming from certain renderers to be processed. More...

Inheritance diagram for niftk::StateMachineRendererFilter:
Inheritance graph
[legend]
Collaboration diagram for niftk::StateMachineRendererFilter:
Collaboration graph
[legend]

Public Member Functions

void AddRenderer (mitk::BaseRenderer *renderer)
 Adds the renderer to the list of allowed event sources. More...
 
void RemoveRenderer (mitk::BaseRenderer *renderer)
 Removes the renderer from the list of allowed event sources. More...
 
- Public Member Functions inherited from niftk::StateMachineEventFilter
 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
 

Protected Member Functions

 StateMachineRendererFilter ()
 
virtual ~StateMachineRendererFilter ()
 

Detailed Description

StateMachineRendererFilter represents a condition that allows only the events coming from certain renderers to be processed.

Events from other renderers will be rejected.

Constructor & Destructor Documentation

niftk::StateMachineRendererFilter::StateMachineRendererFilter ( )
protected
niftk::StateMachineRendererFilter::~StateMachineRendererFilter ( )
protectedvirtual

Member Function Documentation

void niftk::StateMachineRendererFilter::AddRenderer ( mitk::BaseRenderer *  renderer)

Adds the renderer to the list of allowed event sources.

void niftk::StateMachineRendererFilter::RemoveRenderer ( mitk::BaseRenderer *  renderer)

Removes the renderer from the list of allowed event sources.


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