Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkDICOMEnums.cpp
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #include "mitkDICOMEnums.h"
18 
19 std::string
21 {
22  switch (value)
23  {
24  case SpacingInPatient: return "In Patient";
25  case SpacingAtDetector: return "At Detector";
26  case SpacingUnknown: return "Unknown spacing";
27  default: return "<unknown value of enum PixelSpacingInterpretation>";
28  };
29 }
30 
31 std::string
33 {
34  switch (value)
35  {
36  case SOPClassSupported: return "SOPClassSupported";
37  case SOPClassPartlySupported: return "SOPClassPartlySupported";
38  case SOPClassImplemented: return "SOPClassImplemented";
39  case SOPClassUnsupported: return "SOPClassUnsupported";
40  case SOPClassUnknown: return "SOPClassUnknown";
41  default: return "<unknown value of enum ReaderImplementationLevel>";
42  };
43 }
loader did not yet inspect any images, unknown fitness
NO spacing information is present, we use (1,1) as default.
std::string ReaderImplementationLevelToString(const ReaderImplementationLevel &enumValue)
Convert mitk::ReaderImplementationLevel to a human readable string.
loader code and tests are established
loader code is not known to work with this SOP Class
loader code is implemented but not accompanied by tests
ReaderImplementationLevel
Describes how well the reader is tested for a certain file type (see mitk::DICOMFileReader).
PixelSpacingInterpretation
How the mitk::Image spacing should be interpreted (see mitk::DICOMFileReader).
std::string PixelSpacingInterpretationToString(const PixelSpacingInterpretation &value)
Convert mitk::PixelSpacingInterpretation to a human readable string.
loader code and tests are establised for specific parts of a SOP Class
distances are mm at detector surface
distances are mm within a patient