QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Public Member Functions | List of all members
QgsPreparedPointCloudRendererData Class Referenceabstract

Base class for 2d point cloud renderer prepared data containers. More...

#include <qgspointcloudrenderer.h>

Inheritance diagram for QgsPreparedPointCloudRendererData:
Inheritance graph
[legend]

Public Member Functions

virtual ~QgsPreparedPointCloudRendererData ()
 
virtual QColor pointColor (const QgsPointCloudBlock *block, int i, double z)=0
 An optimised method of retrieving the color of a point from a point cloud block. More...
 
virtual bool prepareBlock (const QgsPointCloudBlock *block)=0
 Prepares the renderer for using the specified block. More...
 
virtual QSet< QString > usedAttributes () const =0
 Returns the set of attributes used by the prepared point cloud renderer. More...
 

Detailed Description

Base class for 2d point cloud renderer prepared data containers.

Note
Not available in Python bindings
Since
QGIS 3.26

Definition at line 279 of file qgspointcloudrenderer.h.

Constructor & Destructor Documentation

◆ ~QgsPreparedPointCloudRendererData()

QgsPreparedPointCloudRendererData::~QgsPreparedPointCloudRendererData ( )
virtualdefault

Member Function Documentation

◆ pointColor()

virtual QColor QgsPreparedPointCloudRendererData::pointColor ( const QgsPointCloudBlock block,
int  i,
double  z 
)
pure virtual

An optimised method of retrieving the color of a point from a point cloud block.

Before calling this method prepareBlock() must be called for each incoming point cloud block.

Since
QGIS 3.26

Implemented in QgsPointCloudAttributeByRampRendererPreparedData, QgsPointCloudClassifiedRendererPreparedData, and QgsPointCloudRgbRendererPreparedData.

◆ prepareBlock()

virtual bool QgsPreparedPointCloudRendererData::prepareBlock ( const QgsPointCloudBlock block)
pure virtual

Prepares the renderer for using the specified block.

Returns false if preparation failed.

Implemented in QgsPointCloudAttributeByRampRendererPreparedData, QgsPointCloudClassifiedRendererPreparedData, and QgsPointCloudRgbRendererPreparedData.

◆ usedAttributes()

virtual QSet< QString > QgsPreparedPointCloudRendererData::usedAttributes ( ) const
pure virtual

Returns the set of attributes used by the prepared point cloud renderer.

Implemented in QgsPointCloudAttributeByRampRendererPreparedData, QgsPointCloudClassifiedRendererPreparedData, and QgsPointCloudRgbRendererPreparedData.


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