Medical Imaging Interaction Toolkit  2026.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:
37  explicit UIDManipulator(Identifiable *identifiable);
39 
45  void SetUID(const Identifiable::UIDType &uid);
46 
47  private:
48  Identifiable *m_Identifiable;
49  };
50 }
51 
52 #endif
#define MITKCORE_EXPORT
Base class of identifiable objects.
std::string UIDType
Type alias for unique identifiers.
Change the unique ID of an mitk::Identifiable.
void SetUID(const Identifiable::UIDType &uid)
Set the unique ID of the associated identifiable object.
UIDManipulator(Identifiable *identifiable)
Construct a UIDManipulator for the given Identifiable object.
Find image slices visible on a given plane.