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>
85 GLView2D(ome::compat::shared_ptr<ome::bioformats::FormatReader>
reader,
177 ome::compat::shared_ptr<ome::bioformats::FormatReader>
406 return std::pow(10.0f, static_cast<float>(zoom)/1024.0f);
417 return glm::radians(-static_cast<float>(zRot)/16.0f);
431 return projection * view *
model;
458 ome::compat::shared_ptr<ome::bioformats::FormatReader>
reader;
466 #endif // OME_QTWIDGETS_GLVIEW2D_H
Memory type substitution.
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40