16 #ifndef QGSDEMTERRAINTILEGEOMETRY_P_H 17 #define QGSDEMTERRAINTILEGEOMETRY_P_H 30 #include <Qt3DExtras/qt3dextras_global.h> 31 #include <Qt3DRender/qgeometry.h> 50 class DemTerrainTileGeometry :
public Qt3DRender::QGeometry
58 explicit DemTerrainTileGeometry(
int resolution,
float skirtHeight,
const QByteArray &heightMap, QNode *parent =
nullptr );
65 QByteArray mHeightMap;
66 Qt3DRender::QAttribute *mPositionAttribute =
nullptr;
67 Qt3DRender::QAttribute *mNormalAttribute =
nullptr;
68 Qt3DRender::QAttribute *mTexCoordAttribute =
nullptr;
69 Qt3DRender::QAttribute *mIndexAttribute =
nullptr;
70 Qt3DRender::QBuffer *mVertexBuffer =
nullptr;
71 Qt3DRender::QBuffer *mIndexBuffer =
nullptr;
76 #endif // QGSDEMTERRAINTILEGEOMETRY_P_H