16 #ifndef QGSDEMTERRAINTILEGEOMETRY_P_H    17 #define QGSDEMTERRAINTILEGEOMETRY_P_H    30 #include <Qt3DExtras/qt3dextras_global.h>    31 #include <Qt3DRender/qgeometry.h>    44 namespace QgsRayCastingUtils
    54 class DemTerrainTileGeometry : 
public Qt3DRender::QGeometry
    64     explicit DemTerrainTileGeometry( 
int resolution, 
float side, 
float vertScale, 
float skirtHeight, 
const QByteArray &heightMap, QNode *parent = 
nullptr );
    66     bool rayIntersection( 
const QgsRayCastingUtils::Ray3D &ray, 
const QMatrix4x4 &worldTransform, QVector3D &intersectionPoint );
    75     QByteArray mHeightMap;
    76     Qt3DRender::QAttribute *mPositionAttribute = 
nullptr;
    77     Qt3DRender::QAttribute *mNormalAttribute = 
nullptr;
    78     Qt3DRender::QAttribute *mTexCoordAttribute = 
nullptr;
    79     Qt3DRender::QAttribute *mIndexAttribute = 
nullptr;
    80     Qt3DRender::QBuffer *mVertexBuffer = 
nullptr;
    81     Qt3DRender::QBuffer *mIndexBuffer = 
nullptr;
    86 #endif  // QGSDEMTERRAINTILEGEOMETRY_P_H