Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkEventFactory.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkEventFactory_h
14 #define mitkEventFactory_h
15 
16 #include <mitkCommon.h>
17 #include <mitkInteractionEvent.h>
18 #include <mitkPropertyList.h>
19 #include <MitkCoreExports.h>
20 
21 namespace mitk
22 {
36  {
37  public:
51  static InteractionEvent::Pointer CreateEvent(PropertyList::Pointer eventDescription);
52 
59  static std::string EventToXML(InteractionEvent *event);
60  };
61 }
62 
63 #endif
#define MITKCORE_EXPORT
Generates InteractionEvent-Objects/XML.
static InteractionEvent::Pointer CreateEvent(PropertyList::Pointer eventDescription)
Create an InteractionEvent from a property list description.
static std::string EventToXML(InteractionEvent *event)
Transform an event into an XML tag describing it.
Base class for all interaction events in MITK.
Find image slices visible on a given plane.