16#ifndef QGSLINEVERTEXDATA_P_H
17#define QGSLINEVERTEXDATA_P_H
42#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
47#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
71struct QgsLineVertexData
73 QVector<QVector3D> vertices;
74 QVector<unsigned int> indexes;
75 QByteArray materialDataDefined;
77 bool withAdjacency =
false;
89 QByteArray createVertexBuffer();
90 QByteArray createIndexBuffer();
91#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
92 Qt3DRender::QGeometry *createGeometry( Qt3DCore::QNode *parent );
94 Qt3DCore::QGeometry *createGeometry( Qt3DCore::QNode *parent );
97 void addLineString(
const QgsLineString &lineString,
float extraHeightOffset = 0 );
98 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.