Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
Medical Imaging Interaction Toolkit
mitkIOConstants.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 (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 #include "mitkIOConstants.h"
14 
15 namespace mitk
16 {
18  {
19  static std::string s("org.mitk.io.Pixel Type");
20  return s;
21  }
22 
24  {
25  static std::string s("char");
26  return s;
27  }
28 
30  {
31  static std::string s("unsigned char");
32  return s;
33  }
34 
36  {
37  static std::string s("short");
38  return s;
39  }
40 
42  {
43  static std::string s("unsigned short");
44  return s;
45  }
46 
48  {
49  static std::string s("int");
50  return s;
51  }
52 
54  {
55  static std::string s("unsigned int");
56  return s;
57  }
58 
60  {
61  static std::string s("float");
62  return s;
63  }
64 
66  {
67  static std::string s("double");
68  return s;
69  }
70 
72  {
73  static std::string s("org.mitk.io.Pixel Type.enum");
74  return s;
75  }
76 
77  std::string IOConstants::DIMENSION()
78  {
79  static std::string s("org.mitk.io.Dimension");
80  return s;
81  }
82 
84  {
85  static std::string s("org.mitk.io.Dimension.enum");
86  return s;
87  }
88 
90  {
91  static std::string s("org.mitk.io.Endianness");
92  return s;
93  }
94 
96  {
97  static std::string s("Little Endian");
98  return s;
99  }
100 
102  {
103  static std::string s("Big Endian");
104  return s;
105  }
106 
108  {
109  static std::string s("org.mitk.io.Endianness.enum");
110  return s;
111  }
112 
113  std::string IOConstants::SIZE_X()
114  {
115  static std::string s("org.mitk.io.Size X");
116  return s;
117  }
118 
119  std::string IOConstants::SIZE_Y()
120  {
121  static std::string s("org.mitk.io.Size Y");
122  return s;
123  }
124 
125  std::string IOConstants::SIZE_Z()
126  {
127  static std::string s("org.mitk.io.Size Z");
128  return s;
129  }
130 
131  std::string IOConstants::SIZE_T()
132  {
133  static std::string s("org.mitk.io.Size t");
134  return s;
135  }
136 }
static std::string PIXEL_TYPE_USHORT()
static std::string PIXEL_TYPE_DOUBLE()
static std::string DIMENSION_ENUM()
static std::string ENDIANNESS_ENUM()
static std::string SIZE_T()
DataCollection - Class to facilitate loading/accessing structured data.
static std::string PIXEL_TYPE_CHAR()
static std::string ENDIANNESS_BIG()
static std::string SIZE_Z()
static std::string PIXEL_TYPE_UINT()
static std::string PIXEL_TYPE_INT()
static std::string DIMENSION()
static std::string SIZE_X()
static std::string ENDIANNESS_LITTLE()
static std::string PIXEL_TYPE_SHORT()
static std::string ENDIANNESS()
static std::string PIXEL_TYPE_FLOAT()
static std::string SIZE_Y()
static std::string PIXEL_TYPE_UCHAR()
static std::string PIXEL_TYPE_ENUM()
static std::string PIXEL_TYPE()