mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +00:00
Updated to use Qt6; Created initial structure of the viewer with OpenGL widget
This commit is contained in:
committed by
Thomas Krijnen
parent
b6f2fdef77
commit
10aca77de4
@@ -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
|
||||
Reference in New Issue
Block a user