Medical Imaging Interaction Toolkit  2025.12.02
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 
51 
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
#define MITKCORE_EXPORT
This Class is used to connect a DataStorage with the Dispatcher.
void SetDispatcher(Dispatcher::Pointer dispatcher)
Dispatcher::Pointer GetDispatcher() const
BindDispatcherInteractor(const std::string &)
void SetDataStorage(DataStorage::Pointer dataStorage)
Class for nodes of the DataTree.
Definition: mitkDataNode.h:64
Find image slices visible on a given plane.