mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
23 lines
446 B
C++
23 lines
446 B
C++
#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
|