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
57 Qgs3DWiredMesh( Qt3DCore::QNode *parent =
nullptr );
58 ~Qgs3DWiredMesh()
override;
63 void setVertices(
const QList<QVector3D> &vertices );
68 void setVertices(
const QList<QgsAABB> &bboxes );
71#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
72 Qt3DRender::QGeometry *mGeom =
nullptr;
73 Qt3DRender::QAttribute *mPositionAttribute =
nullptr;
74 Qt3DRender::QBuffer *mVertexBuffer =
nullptr;
76 Qt3DCore::QGeometry *mGeom =
nullptr;
77 Qt3DCore::QAttribute *mPositionAttribute =
nullptr;
78 Qt3DCore::QBuffer *mVertexBuffer =
nullptr;