16#ifndef QGSRUBBERBAND3D_H
17#define QGSRUBBERBAND3D_H
43#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
52#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
57 class QGeometryRenderer;
72class _3D_EXPORT QgsRubberBand3D
79 void setWidth(
float width );
82 void setColor( QColor color );
88 void removeLastPoint();
91 void updateGeometry();
98 Qt3DCore::QEntity *mEntity =
nullptr;
101 Qt3DRender::QGeometryRenderer *mGeomRenderer =
nullptr;
102#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
103 Qt3DRender::QGeometry *mGeometry =
nullptr;
104 Qt3DRender::QAttribute *mPositionAttribute =
nullptr;
105 Qt3DRender::QAttribute *mIndexAttribute =
nullptr;
107 Qt3DCore::QGeometry *mGeometry =
nullptr;
108 Qt3DCore::QAttribute *mPositionAttribute =
nullptr;
109 Qt3DCore::QAttribute *mIndexAttribute =
nullptr;
111 QgsLineMaterial *mLineMaterial =
nullptr;
114 QgsRubberBand3D(
const QgsRubberBand3D & ) =
delete;
115 QgsRubberBand3D &operator= (
const QgsRubberBand3D & ) =
delete;
Line string geometry type, with support for z-dimension and m-values.
Point geometry type, with support for z-dimension and m-values.