16 #ifndef QGSRUBBERBAND3D_H
17 #define QGSRUBBERBAND3D_H
37 class QgsLineMaterial;
47 class QGeometryRenderer;
64 class _3D_EXPORT QgsRubberBand3D
71 void setWidth(
float width );
74 void setColor( QColor color );
80 void removeLastPoint();
83 void updateGeometry();
90 Qt3DCore::QEntity *mEntity =
nullptr;
93 Qt3DRender::QGeometryRenderer *mGeomRenderer =
nullptr;
94 Qt3DRender::QGeometry *mGeometry =
nullptr;
95 Qt3DRender::QAttribute *mPositionAttribute =
nullptr;
96 Qt3DRender::QAttribute *mIndexAttribute =
nullptr;
97 QgsLineMaterial *mLineMaterial =
nullptr;
100 QgsRubberBand3D(
const QgsRubberBand3D & ) =
delete;
101 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.