QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
3 More...
#include <qgsabstractvectorlayer3drenderer.h>
Public Member Functions | |
QgsAbstractVectorLayer3DRenderer () | |
QgsVectorLayer * | layer () const |
Returns vector layer associated with the renderer. More... | |
void | resolveReferences (const QgsProject &project) override |
Resolves references to other objects - second phase of loading - after readXml() More... | |
void | setLayer (QgsVectorLayer *layer) |
Sets vector layer associated with the renderer. More... | |
void | setTilingSettings (const QgsVectorLayer3DTilingSettings &settings) |
Sets tiling settings of the renderer. More... | |
QgsVectorLayer3DTilingSettings | tilingSettings () const |
Returns tiling settings of the renderer. More... | |
Public Member Functions inherited from QgsAbstract3DRenderer | |
virtual | ~QgsAbstract3DRenderer ()=default |
virtual QgsAbstract3DRenderer * | clone () const =0 |
Returns a cloned instance. More... | |
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. More... | |
virtual void | readXml (const QDomElement &elem, const QgsReadWriteContext &context)=0 |
Reads renderer's properties from given XML element. More... | |
virtual QString | type () const =0 |
Returns unique identifier of the renderer class (used to identify subclass) More... | |
virtual void | writeXml (QDomElement &elem, const QgsReadWriteContext &context) const =0 |
Writes renderer's properties to given XML element. More... | |
Protected Member Functions | |
void | copyBaseProperties (QgsAbstractVectorLayer3DRenderer *r) const |
Copies common properties of this object to another object. More... | |
void | readXmlBaseProperties (const QDomElement &elem, const QgsReadWriteContext &context) |
Reads common properties of this object from DOM element. More... | |
void | writeXmlBaseProperties (QDomElement &elem, const QgsReadWriteContext &context) const |
Writes common properties of this object to DOM element. More... | |
Protected Member Functions inherited from QgsAbstract3DRenderer | |
QgsAbstract3DRenderer ()=default | |
Default constructor. More... | |
3
Base class for 3D renderers that are based on vector layers.
Definition at line 77 of file qgsabstractvectorlayer3drenderer.h.
|
default |
|
protected |
Copies common properties of this object to another object.
Definition at line 58 of file qgsabstractvectorlayer3drenderer.cpp.
QgsVectorLayer * QgsAbstractVectorLayer3DRenderer::layer | ( | ) | const |
Returns vector layer associated with the renderer.
Definition at line 53 of file qgsabstractvectorlayer3drenderer.cpp.
|
protected |
Reads common properties of this object from DOM element.
Definition at line 71 of file qgsabstractvectorlayer3drenderer.cpp.
|
overridevirtual |
Resolves references to other objects - second phase of loading - after readXml()
Reimplemented from QgsAbstract3DRenderer.
Definition at line 78 of file qgsabstractvectorlayer3drenderer.cpp.
void QgsAbstractVectorLayer3DRenderer::setLayer | ( | QgsVectorLayer * | layer | ) |
Sets vector layer associated with the renderer.
Definition at line 48 of file qgsabstractvectorlayer3drenderer.cpp.
|
inline |
Sets tiling settings of the renderer.
Definition at line 88 of file qgsabstractvectorlayer3drenderer.h.
|
inline |
Returns tiling settings of the renderer.
Definition at line 90 of file qgsabstractvectorlayer3drenderer.h.
|
protected |
Writes common properties of this object to DOM element.
Definition at line 64 of file qgsabstractvectorlayer3drenderer.cpp.