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;
75 bool withAdjacency =
false;
87 QByteArray createVertexBuffer();
88 QByteArray createIndexBuffer();
89#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
90 Qt3DRender::QGeometry *createGeometry( Qt3DCore::QNode *parent );
92 Qt3DCore::QGeometry *createGeometry( Qt3DCore::QNode *parent );
95 void addLineString(
const QgsLineString &lineString,
float extraHeightOffset = 0 );
96 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.