Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkPropertyNameHelper.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 mitkPropertyNameHelper_h
14 #define mitkPropertyNameHelper_h
15 
16 #include <mitkPropertyList.h>
17 #include <string>
18 
19 #include <MitkCoreExports.h>
20 namespace mitk
21 {
33  std::string MITKCORE_EXPORT GeneratePropertyNameForDICOMTag(unsigned int group, unsigned int element);
34 
59  bool MITKCORE_EXPORT GetDICOMPropertyValue(unsigned int group,
60  unsigned int element,
61  PropertyList const *propertyList,
62  std::string &propertyValue);
63 
85  unsigned int element,
86  std::string const &backwardsCompatiblePropertyName,
87  PropertyList const *propertyList,
88  std::string &propertyValue);
89 }
90 
91 #endif
#define MITKCORE_EXPORT
Key-value list holding instances of BaseProperty.
Find image slices visible on a given plane.
bool MITKCORE_EXPORT GetDICOMPropertyValue(unsigned int group, unsigned int element, PropertyList const *propertyList, std::string &propertyValue)
Retrieve a DICOM tag's value as a string from a property list.
std::string MITKCORE_EXPORT GeneratePropertyNameForDICOMTag(unsigned int group, unsigned int element)
Returns the correct property name for a simple DICOM tag.
bool MITKCORE_EXPORT GetBackwardsCompatibleDICOMPropertyValue(unsigned int group, unsigned int element, std::string const &backwardsCompatiblePropertyName, PropertyList const *propertyList, std::string &propertyValue)
Retrieve a DICOM property value as a string, with backwards-compatible naming.