QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
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.
 
virtual bool prepareBlock (const QgsPointCloudBlock *block)=0
 Prepares the renderer for using the specified block.
 
virtual QSet< QString > usedAttributes () const =0
 Returns the set of attributes used by the prepared point cloud renderer.
 

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 281 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: