Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkIDataStorageService.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 mitkIDataStorageService_h
14 #define mitkIDataStorageService_h
15 
18 
19 #include <string>
20 
21 #include <QtPlugin>
22 
23 namespace mitk
24 {
25 
30 {
32 
33  virtual IDataStorageReference::Pointer CreateDataStorage(const QString& label) = 0;
34  virtual std::vector<IDataStorageReference::Pointer> GetDataStorageReferences() const = 0;
35 
37 
39 
41  virtual void SetActiveDataStorage(IDataStorageReference::Pointer dataStorageRef) = 0;
42 
43  virtual void AddDataStorageReference(IDataStorageReference::Pointer dataStorageRef) = 0;
45 };
46 
47 }
48 
49 Q_DECLARE_INTERFACE(mitk::IDataStorageService, "org.mitk.service.IDataStorageService")
50 
51 #endif
Implements transparent reference counting.
Find image slices visible on a given plane.
#define MITK_CORE_SERVICES_PLUGIN
virtual void AddDataStorageReference(IDataStorageReference::Pointer dataStorageRef)=0
virtual IDataStorageReference::Pointer GetDefaultDataStorage() const =0
virtual IDataStorageReference::Pointer CreateDataStorage(const QString &label)=0
virtual void SetActiveDataStorage(IDataStorageReference::Pointer dataStorageRef)=0
virtual IDataStorageReference::Pointer GetActiveDataStorage() const =0
virtual bool RemoveDataStorageReference(IDataStorageReference::Pointer dataStorageRef)=0
virtual std::vector< IDataStorageReference::Pointer > GetDataStorageReferences() const =0
virtual IDataStorageReference::Pointer GetDataStorage() const =0