bioformats
5.1.6
|
Qt5 widgets for image display with OpenGL. More...
Namespaces | |
gl | |
OpenGL rendering. | |
glsl | |
OpenGL Shader Language (GLSL) program wrappers. | |
Functions | |
GLenum | textureInternalFormat (::ome::xml::model::enums::PixelType pixeltype) |
Get the default internal (GL) pixel format of a PixelType. More... | |
GLenum | textureExternalFormat (::ome::xml::model::enums::PixelType pixeltype) |
Get the default external (GL) pixel format of a PixelType. More... | |
GLint | textureExternalType (::ome::xml::model::enums::PixelType pixeltype) |
Get the default external (GL) type of a PixelType. More... | |
::ome::xml::model::enums::PixelType | texturePixelTypeFallback (::ome::xml::model::enums::PixelType pixeltype) |
Get a fallback pixel type. More... | |
bool | textureConversionRequired (::ome::xml::model::enums::PixelType pixeltype) |
Check if type conversion is required. More... | |
bool | textureNormalizationRequired (::ome::xml::model::enums::PixelType pixeltype) |
Check if normalization is required. More... | |
GLint | textureMinificationFilter (::ome::xml::model::enums::PixelType pixeltype) |
Get the default minification filter. More... | |
GLint | textureMagnificationFilter (::ome::xml::model::enums::PixelType pixeltype) |
Get the default magnification filter. More... | |
GLenum | textureInternalFormatFallback (GLenum format) |
Get a fallback internal (GL) pixel format. More... | |
Qt5 widgets for image display with OpenGL.
bool ome::qtwidgets::textureConversionRequired | ( | ::ome::xml::model::enums::PixelType | pixeltype | ) |
Check if type conversion is required.
Conversion will be required if the GL type does not match the corresponding PixelType language type.
pixeltype | the PixelType to query. |
true
if conversion is required, false
otherwise. GLenum ome::qtwidgets::textureExternalFormat | ( | ::ome::xml::model::enums::PixelType | pixeltype | ) |
Get the default external (GL) pixel format of a PixelType.
pixeltype | the PixelType to query. |
GLint ome::qtwidgets::textureExternalType | ( | ::ome::xml::model::enums::PixelType | pixeltype | ) |
Get the default external (GL) type of a PixelType.
pixeltype | the PixelType to query. |
GLenum ome::qtwidgets::textureInternalFormat | ( | ::ome::xml::model::enums::PixelType | pixeltype | ) |
Get the default internal (GL) pixel format of a PixelType.
pixeltype | the PixelType to query. |
GLenum ome::qtwidgets::textureInternalFormatFallback | ( | GLenum | format | ) |
Get a fallback internal (GL) pixel format.
The fallback format will have the same channel count as the specified format, lower quality (smaller size) or different type (int rather than float).
format | the format which is not suitable. |
GLint ome::qtwidgets::textureMagnificationFilter | ( | ::ome::xml::model::enums::PixelType | pixeltype | ) |
Get the default magnification filter.
pixeltype | the PixelType to query. |
GLint ome::qtwidgets::textureMinificationFilter | ( | ::ome::xml::model::enums::PixelType | pixeltype | ) |
Get the default minification filter.
pixeltype | the PixelType to query. |
bool ome::qtwidgets::textureNormalizationRequired | ( | ::ome::xml::model::enums::PixelType | pixeltype | ) |
Check if normalization is required.
Normalization will be required if the GL type is not automatically normalized. For example, this is usually automatic for integer types when using a floating point internal format, but will be required when using a floating point data, e.g. in a fragment shader, or before setting the texture.
pixeltype | the PixelType to query. |
true
if normalization is required, false
otherwise. ome::xml::model::enums::PixelType ome::qtwidgets::texturePixelTypeFallback | ( | ::ome::xml::model::enums::PixelType | pixeltype | ) |
Get a fallback pixel type.
The fallback format will have a lower quality (smaller size) or different type (int rather than float). If no fallback is available, the same type will be returned.
pixeltype | the PixelType to query. |
References ome::xml::model::enums::PixelType::UINT8.