16 #ifndef QGSMESHLAYER3DRENDERER_H 17 #define QGSMESHLAYER3DRENDERER_H 72 QString
type()
const override {
return "mesh"; }
83 std::unique_ptr<QgsMesh3DSymbol> mSymbol;
92 #endif // QGSMESHLAYER3DRENDERER_H The class is used as a container of context for various read/write operations on other objects...
QString type() const override
Returns unique identifier of the renderer class (used to identify subclass)
virtual void resolveReferences(const QgsProject &project)
Resolves references to other objects - second phase of loading - after readXml()
3 3D symbol that draws mesh geometry as planar triangles.
Base class for all renderers that may to participate in 3D view.
virtual Qt3DCore::QEntity * createEntity(const Qgs3DMapSettings &map) const =0
Returns a 3D entity that will be used to show renderer's data in 3D scene.
3D renderer that renders all mesh triangles of a mesh layer.
3 Definition of the world
virtual void writeXml(QDomElement &elem, const QgsReadWriteContext &context) const =0
Writes renderer's properties to given XML element.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts, annotations, canvases, etc.
virtual void readXml(const QDomElement &elem, const QgsReadWriteContext &context)=0
Reads renderer's properties from given XML element.
Represents a mesh layer supporting display of data on structured or unstructured meshes.
virtual QgsAbstract3DRenderer * clone() const =0
Returns a cloned instance.