Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkUIDManipulator.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 mitkUIDManipulator_h
14 #define mitkUIDManipulator_h
15 
16 #include <mitkIdentifiable.h>
17 #include <MitkCoreExports.h>
18 
19 namespace mitk
20 {
21  class Identifiable;
22 
29  {
30  public:
31  explicit UIDManipulator(Identifiable *identifiable);
32  ~UIDManipulator();
33 
37  void SetUID(const Identifiable::UIDType &uid);
38 
39  private:
40  Identifiable *m_Identifiable;
41  };
42 }
43 
44 #endif
mitkIdentifiable.h
mitk::Identifiable::UIDType
std::string UIDType
Definition: mitkIdentifiable.h:48
mitk::UIDManipulator
Change the unique ID of an mitk::Identifiable.
Definition: mitkUIDManipulator.h:28
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
mitk::Identifiable
Base class of identifiable objects.
Definition: mitkIdentifiable.h:45
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15