38 #ifndef OME_QTWIDGETS_TEXELPROPERTIES_H
39 #define OME_QTWIDGETS_TEXELPROPERTIES_H
41 #include <ome/bioformats/PixelProperties.h>
43 #include <ome/xml/model/enums/PixelType.h>
45 #include <QtGui/qopengl.h>
93 static const GLenum internal_format = GL_R8;
95 static const GLenum external_format = GL_RED;
99 static const GLint external_type = GL_BYTE;
101 static const bool conversion_required =
false;
103 static const bool normalization_required =
false;
105 static const GLint minification_filter = GL_LINEAR_MIPMAP_LINEAR;
107 static const GLint magnification_filter = GL_LINEAR;
116 static const GLenum internal_format = GL_R16;
118 static const GLenum external_format = GL_RED;
120 static const GLint external_type = GL_SHORT;
124 static const bool conversion_required =
false;
126 static const bool normalization_required =
false;
128 static const GLint minification_filter = GL_LINEAR_MIPMAP_LINEAR;
130 static const GLint magnification_filter = GL_LINEAR;
139 static const GLenum internal_format = GL_R16;
141 static const GLenum external_format = GL_RED;
143 static const GLint external_type = GL_INT;
147 static const bool conversion_required =
false;
149 static const bool normalization_required =
false;
151 static const GLint minification_filter = GL_LINEAR_MIPMAP_LINEAR;
153 static const GLint magnification_filter = GL_LINEAR;
162 static const GLenum internal_format = GL_R8;
164 static const GLenum external_format = GL_RED;
166 static const GLint external_type = GL_UNSIGNED_BYTE;
170 static const bool conversion_required =
false;
172 static const bool normalization_required =
false;
174 static const GLint minification_filter = GL_LINEAR_MIPMAP_LINEAR;
176 static const GLint magnification_filter = GL_LINEAR;
185 static const GLenum internal_format = GL_R16;
187 static const GLenum external_format = GL_RED;
189 static const GLint external_type = GL_UNSIGNED_SHORT;
193 static const bool conversion_required =
false;
195 static const bool normalization_required =
false;
197 static const GLint minification_filter = GL_LINEAR_MIPMAP_LINEAR;
199 static const GLint magnification_filter = GL_LINEAR;
208 static const GLenum internal_format = GL_R16;
210 static const GLenum external_format = GL_RED;
212 static const GLint external_type = GL_UNSIGNED_INT;
216 static const bool conversion_required =
false;
218 static const bool normalization_required =
false;
220 static const GLint minification_filter = GL_LINEAR_MIPMAP_LINEAR;
222 static const GLint magnification_filter = GL_LINEAR;
231 static const GLenum internal_format = GL_R32F;
233 static const GLenum external_format = GL_RED;
235 static const GLint external_type = GL_FLOAT;
239 static const bool conversion_required =
false;
241 static const bool normalization_required =
true;
243 static const GLint minification_filter = GL_LINEAR_MIPMAP_LINEAR;
245 static const GLint magnification_filter = GL_LINEAR;
254 static const GLenum internal_format = GL_R32F;
256 static const GLenum external_format = GL_RED;
258 static const GLint external_type = GL_DOUBLE;
262 static const bool conversion_required =
false;
264 static const bool normalization_required =
true;
266 static const GLint minification_filter = GL_LINEAR_MIPMAP_LINEAR;
268 static const GLint magnification_filter = GL_LINEAR;
277 static const GLenum internal_format = GL_R8;
279 static const GLenum external_format = GL_RED;
281 static const GLint external_type = GL_UNSIGNED_BYTE;
285 static const bool conversion_required =
true;
287 static const bool normalization_required =
false;
289 static const GLint minification_filter = GL_NEAREST_MIPMAP_LINEAR;
291 static const GLint magnification_filter = GL_NEAREST;
300 static const GLenum internal_format = GL_RG32F;
302 static const GLenum external_format = GL_RG;
304 static const GLint external_type = GL_FLOAT;
308 static const bool conversion_required =
false;
310 static const bool normalization_required =
true;
312 static const GLint minification_filter = GL_LINEAR_MIPMAP_LINEAR;
314 static const GLint magnification_filter = GL_LINEAR;
323 static const GLenum internal_format = GL_RG32F;
325 static const GLenum external_format = GL_RG;
327 static const GLint external_type = GL_DOUBLE;
331 static const bool conversion_required =
false;
333 static const bool normalization_required =
true;
335 static const GLint minification_filter = GL_LINEAR_MIPMAP_LINEAR;
337 static const GLint magnification_filter = GL_LINEAR;
445 #endif // OME_QTWIDGETS_TEXELPROPERTIES_H
uint32
Definition: PixelType.h:86
uint8
Definition: PixelType.h:82
bit
Definition: PixelType.h:90
int8
Definition: PixelType.h:76
int16
Definition: PixelType.h:78
uint16
Definition: PixelType.h:84
float
Definition: PixelType.h:88
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
complex
Definition: PixelType.h:94
double
Definition: PixelType.h:92
PixelType enumeration.
Definition: PixelType.h:69
int32
Definition: PixelType.h:80
double-complex
Definition: PixelType.h:96