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;
83 Qgs3DRenderContext renderContext;
85 bool geocentricCoordinates =
false;
91 QByteArray createVertexBuffer();
92 QByteArray createIndexBuffer();
93#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
94 Qt3DRender::QGeometry *createGeometry( Qt3DCore::QNode *parent );
96 Qt3DCore::QGeometry *createGeometry( Qt3DCore::QNode *parent );
99 void addLineString(
const QgsLineString &lineString,
float extraHeightOffset = 0,
bool closePolygon =
false );
100 void addVerticalLines(
const QgsLineString &lineString,
float verticalLength,
float extraHeightOffset = 0 );
AltitudeClamping
Altitude clamping.
@ Absolute
Elevation is taken directly from feature and is independent of terrain height (final elevation = feat...
AltitudeBinding
Altitude binding.
@ Vertex
Clamp every vertex of feature.
Line string geometry type, with support for z-dimension and m-values.