13 #ifndef mitkDispatcher_h
14 #define mitkDispatcher_h
16 #include <itkLightObject.h>
17 #include <itkObjectFactory.h>
29 class InteractionEvent;
30 struct InteractionEventObserver;
126 void RemoveOrphanedInteractors();
Base class for interactors that operate on DataNodes.
Central node class of the MITK data tree, associating a data object with properties and mappers.
Central event distribution hub for interaction events.
std::list< itk::SmartPointer< InteractionEvent > > ListEventsType
List type for storing queued InteractionEvents.
void QueueEvent(InteractionEvent *event)
Queue an event for deferred processing.
Dispatcher(const std::string &rendererName)
bool ProcessEvent(InteractionEvent *event)
Process an interaction event by dispatching it to registered DataInteractors.
void RemoveDataInteractor(const DataNode *dataNode)
Remove all DataInteractors associated with the given DataNode.
size_t GetNumberOfInteractors()
Get the number of currently registered DataInteractors.
void AddDataInteractor(const DataNode *dataNode)
Register the DataInteractor associated with the given DataNode.
std::list< mitk::WeakPointer< DataInteractor > > ListInteractorType
List type for storing weak pointers to DataInteractors.
mitkNewMacro1Param(Self, const std::string &)
mitkClassMacroItkParent(Dispatcher, itk::LightObject)
Base class for all interaction events in MITK.
Class to create events from within the application to signal about internal events.
Find image slices visible on a given plane.