16#ifndef QGS3DWIREDMESH_P_H
17#define QGS3DWIREDMESH_P_H
32#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
33#include <Qt3DRender/QBuffer>
35#include <Qt3DCore/QBuffer>
37#include <Qt3DRender/QGeometryRenderer>
49class Qgs3DWiredMesh :
public Qt3DRender::QGeometryRenderer
58 Qgs3DWiredMesh( Qt3DCore::QNode *parent =
nullptr );
59 ~Qgs3DWiredMesh()
override;
64 void setVertices(
const QList<QVector3D> &vertices );
69 void setVertices(
const QList<QgsAABB> &bboxes );
72#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
73 Qt3DRender::QGeometry *mGeom =
nullptr;
74 Qt3DRender::QAttribute *mPositionAttribute =
nullptr;
75 Qt3DRender::QBuffer *mVertexBuffer =
nullptr;
77 Qt3DCore::QGeometry *mGeom =
nullptr;
78 Qt3DCore::QAttribute *mPositionAttribute =
nullptr;
79 Qt3DCore::QBuffer *mVertexBuffer =
nullptr;