-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplotwindow3d.h
More file actions
31 lines (25 loc) · 753 Bytes
/
Copy pathplotwindow3d.h
File metadata and controls
31 lines (25 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef PLOTWINDOW3D_H
#define PLOTWINDOW3D_H
#include <QDialog>
#include <Qt3DCore/QEntity>
#include <Qt3DCore/QTransform>
#include <Qt3DExtras/QPhongMaterial>
#include <Qt3DRender/QAttribute>
#include <Qt3DRender/QBuffer>
#include <Qt3DRender/QGeometry>
#include <Qt3DRender/QGeometryRenderer>
namespace Ui {
class PlotWindow3D;
}
class PlotWindow3D : public QDialog
{
Q_OBJECT
public:
explicit PlotWindow3D(QWidget *parent = nullptr);
~PlotWindow3D();
private:
Ui::PlotWindow3D *ui;
// void drawLine(const QVector3D& start, const QVector3D& end, const QColor& color, Qt3DCore::QEntity *_rootEntity);
// void drawTriangles(const QPolygonF polygon, QColor color, Qt3DCore::QEntity *_rootEntity);
};
#endif // PLOTWINDOW3D_H