16#ifndef QGSMESHLAYER3DRENDERER_H
17#define QGSMESHLAYER3DRENDERER_H
73 QString
type()
const override {
return "mesh"; }
79 void resolveReferences( const
QgsProject &project ) override;
Base class for all renderers that participate in 3D views.
QgsAbstract3DRenderer()=default
3D symbol that draws mesh geometry as planar triangles.
3D renderer that renders all mesh triangles of a mesh layer.
void setSymbol(QgsMesh3DSymbol *symbol)
Sets 3D symbol associated with the renderer.
const QgsMesh3DSymbol * symbol() const
Returns 3D symbol associated with the renderer.
QgsMeshLayer3DRenderer(QgsMesh3DSymbol *s=nullptr)
Takes ownership of the symbol object.
void setLayer(QgsMeshLayer *layer)
Sets vector layer associated with the renderer.
QgsMeshLayer * layer() const
Returns mesh layer associated with the renderer.
QString type() const override
Returns unique identifier of the renderer class (used to identify subclass).
Represents a mesh layer supporting display of data on structured or unstructured meshes.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
A container for the context for various read/write operations on objects.
_LayerRef< QgsMapLayer > QgsMapLayerRef