39 #ifndef OME_QTWIDGETS_GL_IMAGE2D_H 40 #define OME_QTWIDGETS_GL_IMAGE2D_H 42 #include <QtCore/QObject> 43 #include <QtGui/QOpenGLBuffer> 44 #include <QtGui/QOpenGLShader> 45 #include <QtGui/QOpenGLFunctions> 47 #include <ome/files/Types.h> 48 #include <ome/files/FormatReader.h> 52 #include <ome/qtwidgets/glm.h> 70 protected QOpenGLFunctions
85 Image2D(ome::compat::shared_ptr<ome::files::FormatReader>
reader,
113 const glm::vec2& ylim);
141 setMin(
const glm::vec3& min);
160 setMax(
const glm::vec3& max);
180 render(
const glm::mat4& mvp) = 0;
222 ome::compat::shared_ptr<ome::files::FormatReader>
reader;
233 #endif // OME_QTWIDGETS_GL_IMAGE2D_H
std::size_t dimension_size_type