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;
90 QByteArray createVertexBuffer();
91 QByteArray createIndexBuffer();
92#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
93 Qt3DRender::QGeometry *createGeometry( Qt3DCore::QNode *parent );
95 Qt3DCore::QGeometry *createGeometry( Qt3DCore::QNode *parent );
98 void addLineString(
const QgsLineString &lineString,
float extraHeightOffset = 0 );
99 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.
Class for storage of 3D vectors similar to QVector3D, with the difference that it uses double precisi...