QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Attributes | List of all members
QgsPointCloudRenderContext::TriangulationData Struct Reference

Helper data structure used when rendering points as triangulated surface. More...

#include <qgspointcloudrenderer.h>

Public Attributes

std::vector< QRgb > colors
 RGB color for each point. More...
 
std::vector< float > elevations
 Z value for each point (only used when global map shading is enabled) More...
 
std::vector< double > points
 X,Y for each point - kept in this structure so that we can use it without further conversions in Delaunator-cpp. More...
 

Detailed Description

Helper data structure used when rendering points as triangulated surface.

We populate the structure as we traverse the nodes and then run Delaunay triangulation at the end + draw the triangles.

Since
QGIS 3.36

Definition at line 236 of file qgspointcloudrenderer.h.

Member Data Documentation

◆ colors

std::vector<QRgb> QgsPointCloudRenderContext::TriangulationData::colors

RGB color for each point.

Definition at line 239 of file qgspointcloudrenderer.h.

◆ elevations

std::vector<float> QgsPointCloudRenderContext::TriangulationData::elevations

Z value for each point (only used when global map shading is enabled)

Definition at line 240 of file qgspointcloudrenderer.h.

◆ points

std::vector<double> QgsPointCloudRenderContext::TriangulationData::points

X,Y for each point - kept in this structure so that we can use it without further conversions in Delaunator-cpp.

Definition at line 238 of file qgspointcloudrenderer.h.


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