QGIS API Documentation  3.20.0-Odense (decaadbb31)
Public Member Functions | Protected Member Functions | List of all members
QgsAbstractVectorLayer3DRenderer Class Reference

3 More...

#include <qgsabstractvectorlayer3drenderer.h>

Inheritance diagram for QgsAbstractVectorLayer3DRenderer:
Inheritance graph
[legend]

Public Member Functions

 QgsAbstractVectorLayer3DRenderer ()
 
QgsVectorLayerlayer () 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 QgsAbstract3DRendererclone () 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...
 

Detailed Description

3

Base class for 3D renderers that are based on vector layers.

Since
QGIS 3.12

Definition at line 77 of file qgsabstractvectorlayer3drenderer.h.

Constructor & Destructor Documentation

◆ QgsAbstractVectorLayer3DRenderer()

QgsAbstractVectorLayer3DRenderer::QgsAbstractVectorLayer3DRenderer ( )
default

Member Function Documentation

◆ copyBaseProperties()

void QgsAbstractVectorLayer3DRenderer::copyBaseProperties ( QgsAbstractVectorLayer3DRenderer r) const
protected

Copies common properties of this object to another object.

Definition at line 58 of file qgsabstractvectorlayer3drenderer.cpp.

◆ layer()

QgsVectorLayer * QgsAbstractVectorLayer3DRenderer::layer ( ) const

Returns vector layer associated with the renderer.

Definition at line 53 of file qgsabstractvectorlayer3drenderer.cpp.

◆ readXmlBaseProperties()

void QgsAbstractVectorLayer3DRenderer::readXmlBaseProperties ( const QDomElement &  elem,
const QgsReadWriteContext context 
)
protected

Reads common properties of this object from DOM element.

Definition at line 71 of file qgsabstractvectorlayer3drenderer.cpp.

◆ resolveReferences()

void QgsAbstractVectorLayer3DRenderer::resolveReferences ( const QgsProject project)
overridevirtual

Resolves references to other objects - second phase of loading - after readXml()

Reimplemented from QgsAbstract3DRenderer.

Definition at line 78 of file qgsabstractvectorlayer3drenderer.cpp.

◆ setLayer()

void QgsAbstractVectorLayer3DRenderer::setLayer ( QgsVectorLayer layer)

Sets vector layer associated with the renderer.

Definition at line 48 of file qgsabstractvectorlayer3drenderer.cpp.

◆ setTilingSettings()

void QgsAbstractVectorLayer3DRenderer::setTilingSettings ( const QgsVectorLayer3DTilingSettings settings)
inline

Sets tiling settings of the renderer.

Definition at line 88 of file qgsabstractvectorlayer3drenderer.h.

◆ tilingSettings()

QgsVectorLayer3DTilingSettings QgsAbstractVectorLayer3DRenderer::tilingSettings ( ) const
inline

Returns tiling settings of the renderer.

Definition at line 90 of file qgsabstractvectorlayer3drenderer.h.

◆ writeXmlBaseProperties()

void QgsAbstractVectorLayer3DRenderer::writeXmlBaseProperties ( QDomElement &  elem,
const QgsReadWriteContext context 
) const
protected

Writes common properties of this object to DOM element.

Definition at line 64 of file qgsabstractvectorlayer3drenderer.cpp.


The documentation for this class was generated from the following files: