16#ifndef QGSLINEVERTEXDATA_P_H
17#define QGSLINEVERTEXDATA_P_H
41#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
46#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
70struct QgsLineVertexData
72 QVector<QVector3D> vertices;
73 QVector<unsigned int> indexes;
74 QByteArray materialDataDefined;
76 bool withAdjacency =
false;
88 QByteArray createVertexBuffer();
89 QByteArray createIndexBuffer();
90#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
91 Qt3DRender::QGeometry *createGeometry( Qt3DCore::QNode *parent );
93 Qt3DCore::QGeometry *createGeometry( Qt3DCore::QNode *parent );
96 void addLineString(
const QgsLineString &lineString,
float extraHeightOffset = 0 );
97 void addVerticalLines(
const QgsLineString &lineString,
float verticalLength,
float extraHeightOffset = 0 );
AltitudeClamping
Altitude clamping.
@ Relative
Elevation is relative to terrain height (final elevation = terrain elevation + feature elevation)
AltitudeBinding
Altitude binding.
@ Vertex
Clamp every vertex of feature.
Line string geometry type, with support for z-dimension and m-values.