Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkBindDispatcherInteractor.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 mitkBindDispatcherInteractor_h
14 #define mitkBindDispatcherInteractor_h
15 
16 #include "mitkCommon.h"
17 #include <MitkCoreExports.h>
18 
19 #include "mitkDataNode.h"
20 #include "mitkDataStorage.h"
21 #include "mitkDispatcher.h"
22 
23 namespace mitk
24 {
36  {
37  public:
38  BindDispatcherInteractor(const std::string &);
40 
44  void SetDataStorage(DataStorage::Pointer dataStorage);
45 
50  void SetDispatcher(Dispatcher::Pointer dispatcher);
51 
55  Dispatcher::Pointer GetDispatcher() const;
56 
57  private:
64  void RegisterInteractor(const DataNode *dataNode);
65  void UnRegisterInteractor(const DataNode *dataNode);
66  void RegisterDataStorageEvents();
67  void UnRegisterDataStorageEvents();
68 
69  Dispatcher::Pointer m_Dispatcher;
70  DataStorage::Pointer m_DataStorage;
71  };
72 }
73 #endif
mitkDispatcher.h
mitkDataStorage.h
itk::SmartPointer< Self >
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
mitk::BindDispatcherInteractor
This Class is used to connect a DataStorage with the Dispatcher.
Definition: mitkBindDispatcherInteractor.h:35
mitkCommon.h
mitkDataNode.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63