QGIS API Documentation 3.27.0-Master (a46f227e17)
Public Member Functions | Protected Member Functions | List of all members
QgsAbstractPointCloud3DRenderer Class Referenceabstract

Base class for point cloud 3D renderers. More...

#include <qgsabstractpointcloud3drenderer.h>

Inheritance diagram for QgsAbstractPointCloud3DRenderer:
Inheritance graph
[legend]

Public Member Functions

virtual ~QgsAbstractPointCloud3DRenderer ()=default
 Default destructor. More...
 
virtual bool convertFrom2DRenderer (QgsPointCloudRenderer *renderer)=0
 Updates the 3D renderer's symbol to match that of a given QgsPointCloudRenderer. 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 void resolveReferences (const QgsProject &project)
 Resolves references to other objects - second phase of loading - after readXml() 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

 QgsAbstractPointCloud3DRenderer ()=default
 Default constructor. More...
 
- Protected Member Functions inherited from QgsAbstract3DRenderer
 QgsAbstract3DRenderer ()=default
 Default constructor. More...
 

Detailed Description

Base class for point cloud 3D renderers.

This class allows for functionality in 3D to be called from core.

Since
QGIS 3.26

Definition at line 40 of file qgsabstractpointcloud3drenderer.h.

Constructor & Destructor Documentation

◆ ~QgsAbstractPointCloud3DRenderer()

virtual QgsAbstractPointCloud3DRenderer::~QgsAbstractPointCloud3DRenderer ( )
virtualdefault

Default destructor.

◆ QgsAbstractPointCloud3DRenderer()

QgsAbstractPointCloud3DRenderer::QgsAbstractPointCloud3DRenderer ( )
protecteddefault

Default constructor.

Member Function Documentation

◆ convertFrom2DRenderer()

virtual bool QgsAbstractPointCloud3DRenderer::convertFrom2DRenderer ( QgsPointCloudRenderer renderer)
pure virtual

Updates the 3D renderer's symbol to match that of a given QgsPointCloudRenderer.

Returns
true on success, false otherwise

Implemented in QgsPointCloudLayer3DRenderer.


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