Medical Imaging Interaction Toolkit  2016.11.0
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,
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 "mitkIOConstants.h"
18 
19 namespace mitk
20 {
22  {
23  static std::string s("org.mitk.io.Pixel Type");
24  return s;
25  }
26 
28  {
29  static std::string s("char");
30  return s;
31  }
32 
34  {
35  static std::string s("unsigned char");
36  return s;
37  }
38 
40  {
41  static std::string s("short");
42  return s;
43  }
44 
46  {
47  static std::string s("unsigned short");
48  return s;
49  }
50 
52  {
53  static std::string s("int");
54  return s;
55  }
56 
58  {
59  static std::string s("unsigned int");
60  return s;
61  }
62 
64  {
65  static std::string s("float");
66  return s;
67  }
68 
70  {
71  static std::string s("double");
72  return s;
73  }
74 
76  {
77  static std::string s("org.mitk.io.Pixel Type.enum");
78  return s;
79  }
80 
81  std::string IOConstants::DIMENSION()
82  {
83  static std::string s("org.mitk.io.Dimension");
84  return s;
85  }
86 
88  {
89  static std::string s("org.mitk.io.Dimension.enum");
90  return s;
91  }
92 
94  {
95  static std::string s("org.mitk.io.Endianness");
96  return s;
97  }
98 
100  {
101  static std::string s("Little Endian");
102  return s;
103  }
104 
106  {
107  static std::string s("Big Endian");
108  return s;
109  }
110 
112  {
113  static std::string s("org.mitk.io.Endianness.enum");
114  return s;
115  }
116 
117  std::string IOConstants::SIZE_X()
118  {
119  static std::string s("org.mitk.io.Size X");
120  return s;
121  }
122 
123  std::string IOConstants::SIZE_Y()
124  {
125  static std::string s("org.mitk.io.Size Y");
126  return s;
127  }
128 
129  std::string IOConstants::SIZE_Z()
130  {
131  static std::string s("org.mitk.io.Size Z");
132  return s;
133  }
134 
135  std::string IOConstants::SIZE_T()
136  {
137  static std::string s("org.mitk.io.Size t");
138  return s;
139  }
140 }
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()