16#ifndef QGSCHUNKBOUNDSENTITY_P_H
17#define QGSCHUNKBOUNDSENTITY_P_H
30#include <Qt3DCore/QEntity>
32#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
33#include <Qt3DRender/QAttribute>
34#include <Qt3DRender/QGeometry>
38#include <Qt3DCore/QAttribute>
39#include <Qt3DCore/QGeometry>
44#include <Qt3DRender/QGeometryRenderer>
57class QgsChunkBoundsEntity :
public Qt3DCore::QEntity
63 QgsChunkBoundsEntity( Qt3DCore::QNode *parent =
nullptr );
66 void setBoxes(
const QList<QgsAABB> &bboxes );
69 AABBMesh *mAabbMesh =
nullptr;
78 LineMeshGeometry( Qt3DCore::QNode *parent =
nullptr );
85 void setVertices(
const QList<QVector3D> &vertices );
89#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
90 Qt3DRender::QBuffer *mVertexBuffer =
nullptr;
92 Qt3DCore::QBuffer *mVertexBuffer =
nullptr;
100class AABBMesh :
public Qt3DRender::QGeometryRenderer
105 AABBMesh( Qt3DCore::QNode *parent =
nullptr );
107 void setBoxes(
const QList<QgsAABB> &bboxes );
110 LineMeshGeometry *mLineMeshGeo =
nullptr;
Qt3DCore::QAttribute Qt3DQAttribute
Qt3DCore::QGeometry Qt3DQGeometry