Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkIDICOMTagsOfInterest.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 mitkIDICOMTagsOfInterest_h
14 #define mitkIDICOMTagsOfInterest_h
15 
16 #include <mitkServiceInterface.h>
17 #include <string>
18 #include <vector>
20 #include <MitkDICOMExports.h>
21 
22 namespace mitk
23 {
34  {
35  public:
37 
43  virtual void AddTagOfInterest(const DICOMTagPath& tag, bool makePersistant = true) = 0;
44 
47 
49  virtual bool HasTag(const DICOMTagPath& tag) const = 0;
50 
54  virtual void RemoveTag(const DICOMTagPath& tag) = 0;
55 
58  virtual void RemoveAllTags() = 0;
59  };
60 }
61 
62 MITK_DECLARE_SERVICE_INTERFACE(mitk::IDICOMTagsOfInterest, "org.mitk.IDICOMTagsOfInterest")
63 
64 #endif
#define MITKDICOM_EXPORT
Class is used to identify (nested) attributes in a DICOM dataset. In contrast to the class DICOMTag,...
Interface of DICOM tags of interest service.
virtual void AddTagOfInterest(const DICOMTagPath &tag, bool makePersistant=true)=0
Add an tag to the TOI. If the tag was already added it will be overwritten with the passed values.
virtual bool HasTag(const DICOMTagPath &tag) const =0
virtual void RemoveTag(const DICOMTagPath &tag)=0
Remove specific tag. If it not exists the function will do nothing.
virtual DICOMTagPathMapType GetTagsOfInterest() const =0
virtual void RemoveAllTags()=0
Remove all tags.
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Find image slices visible on a given plane.
std::map< DICOMTagPath, std::string > DICOMTagPathMapType