Updated to use Qt6; Created initial structure of the viewer with OpenGL widget

This commit is contained in:
dushyant basson
2023-08-12 02:42:11 +05:30
committed by Thomas Krijnen
parent b6f2fdef77
commit 10aca77de4
8 changed files with 205 additions and 116 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef IFCVIEWERWIDGET_H
#define IFCVIEWERWIDGET_H
#include <QOpenGLWidget>
#include <QOpenGLFunctions>
#include <QOpenGLContext>
#include <QMatrix4x4>
class IfcViewerWidget : public QOpenGLWidget
{
public:
IfcViewerWidget(QWidget *parent = nullptr);
protected:
void initializeGL() override;
void resizeGL(int w, int h) override;
void paintGL() override;
private:
QMatrix4x4 m_projection;
};
#endif // IFCVIEWERWIDGET_H