39 #ifndef OME_QTWIDGETS_GLVIEW2D_H
40 #define OME_QTWIDGETS_GLVIEW2D_H
42 #include <ome/bioformats/FormatReader.h>
46 #include <ome/qtwidgets/GLWindow.h>
47 #include <ome/qtwidgets/gl/Image2D.h>
48 #include <ome/qtwidgets/gl/Grid2D.h>
49 #include <ome/qtwidgets/gl/Axis2D.h>
51 #include <QElapsedTimer>
53 #include <glm/glm.hpp>
86 GLView2D(ome::compat::shared_ptr<ome::bioformats::FormatReader>
reader,
178 ome::compat::shared_ptr<ome::bioformats::FormatReader>
407 return std::pow(10.0f, static_cast<float>(zoom)/1024.0f);
418 return glm::radians(-static_cast<float>(zRot)/16.0f);
432 return projection * view *
model;
459 ome::compat::shared_ptr<ome::bioformats::FormatReader>
reader;
467 #endif // OME_QTWIDGETS_GLVIEW2D_H
Memory type substitution.
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40