| QGIS API Documentation
    3.20.0-Odense (decaadbb31)
    | 
Encapsulates the render context for a 3D point cloud rendering operation. More...
#include <qgspointcloudlayer3drenderer.h>

| Public Member Functions | |
| QgsPointCloud3DRenderContext (const Qgs3DMapSettings &map, const QgsCoordinateTransform &coordinateTransform, std::unique_ptr< QgsPointCloud3DSymbol > symbol, double zValueScale, double zValueFixedOffset) | |
| Constructor for QgsPointCloud3DRenderContext.  More... | |
| QgsPointCloud3DRenderContext (const QgsPointCloud3DRenderContext &rh)=delete | |
| QgsPointCloudRenderContext cannot be copied.  More... | |
| QgsPointCloudAttributeCollection | attributes () const | 
| Returns the attributes associated with the rendered block.  More... | |
| void | cancelRendering () const | 
| Cancels rendering.  More... | |
| QgsCoordinateTransform | coordinateTransform () const | 
| Returns the coordinate transform used to transform points from layer CRS to the map CRS.  More... | |
| QgsFeedback * | feedback () const | 
| Returns the feedback object used to cancel rendering and check if rendering was canceled.  More... | |
| template<typename T > | |
| void | getAttribute (const char *data, std::size_t offset, QgsPointCloudAttribute::DataType type, T &value) const | 
| Retrieves the attribute value from data at the specified offset, where type indicates the original data type for the attribute.  More... | |
| QSet< int > | getFilteredOutValues () const | 
| Returns a set containing the filtered out values.  More... | |
| bool | isCanceled () const | 
| Returns trueif the rendering is canceled.  More... | |
| QgsPointCloud3DRenderContext & | operator= (const QgsPointCloud3DRenderContext &)=delete | 
| QgsPointCloudRenderContext cannot be copied.  More... | |
| void | setAttributes (const QgsPointCloudAttributeCollection &attributes) | 
| Sets the attributes associated with the rendered block.  More... | |
| void | setCoordinateTransform (const QgsCoordinateTransform &coordinateTransform) | 
| Sets the coordinate transform used to transform points from layer CRS to the map CRS.  More... | |
| void | setFilteredOutCategories (const QgsPointCloudCategoryList &categories) | 
| Sets the list of categories of the classification that won't be rendered.  More... | |
| void | setSymbol (QgsPointCloud3DSymbol *symbol) | 
| Sets the symbol used for rendering the point cloud Takes ownership over the passed symbol.  More... | |
| QgsPointCloud3DSymbol * | symbol () const | 
| Returns the symbol used for rendering the point cloud.  More... | |
| double | zValueFixedOffset () const | 
| Returns any constant offset which must be applied to z values taken from the point cloud index.  More... | |
| double | zValueScale () const | 
| Returns any constant scaling factor which must be applied to z values taken from the point cloud index.  More... | |
Encapsulates the render context for a 3D point cloud rendering operation.
Definition at line 42 of file qgspointcloudlayer3drenderer.h.
| QgsPointCloud3DRenderContext::QgsPointCloud3DRenderContext | ( | const Qgs3DMapSettings & | map, | 
| const QgsCoordinateTransform & | coordinateTransform, | ||
| std::unique_ptr< QgsPointCloud3DSymbol > | symbol, | ||
| double | zValueScale, | ||
| double | zValueFixedOffset | ||
| ) | 
Constructor for QgsPointCloud3DRenderContext.
The zValueScale argument specifies any constant scaling factor which must be applied to z values taken from the point cloud index.
The zValueFixedOffset argument specifies any constant offset value which must be added to z values taken from the point cloud index.
Definition at line 30 of file qgspointcloudlayer3drenderer.cpp.
| 
 | delete | 
QgsPointCloudRenderContext cannot be copied.
| 
 | inline | 
Returns the attributes associated with the rendered block.
Definition at line 69 of file qgspointcloudlayer3drenderer.h.
| void QgsPointCloud3DRenderContext::cancelRendering | ( | ) | const | 
Cancels rendering.
Definition at line 73 of file qgspointcloudlayer3drenderer.cpp.
| 
 | inline | 
Returns the coordinate transform used to transform points from layer CRS to the map CRS.
Definition at line 172 of file qgspointcloudlayer3drenderer.h.
| 
 | inline | 
Returns the feedback object used to cancel rendering and check if rendering was canceled.
Definition at line 177 of file qgspointcloudlayer3drenderer.h.
| 
 | inline | 
Retrieves the attribute value from data at the specified offset, where type indicates the original data type for the attribute.
Definition at line 109 of file qgspointcloudlayer3drenderer.h.
| QSet< int > QgsPointCloud3DRenderContext::getFilteredOutValues | ( | ) | const | 
Returns a set containing the filtered out values.
Definition at line 55 of file qgspointcloudlayer3drenderer.cpp.
| bool QgsPointCloud3DRenderContext::isCanceled | ( | ) | const | 
Returns true if the rendering is canceled. 
Definition at line 68 of file qgspointcloudlayer3drenderer.cpp.
| 
 | delete | 
QgsPointCloudRenderContext cannot be copied.
| void QgsPointCloud3DRenderContext::setAttributes | ( | const QgsPointCloudAttributeCollection & | attributes | ) | 
Sets the attributes associated with the rendered block.
Definition at line 40 of file qgspointcloudlayer3drenderer.cpp.
| void QgsPointCloud3DRenderContext::setCoordinateTransform | ( | const QgsCoordinateTransform & | coordinateTransform | ) | 
Sets the coordinate transform used to transform points from layer CRS to the map CRS.
Definition at line 63 of file qgspointcloudlayer3drenderer.cpp.
| void QgsPointCloud3DRenderContext::setFilteredOutCategories | ( | const QgsPointCloudCategoryList & | categories | ) | 
Sets the list of categories of the classification that won't be rendered.
Definition at line 50 of file qgspointcloudlayer3drenderer.cpp.
| void QgsPointCloud3DRenderContext::setSymbol | ( | QgsPointCloud3DSymbol * | symbol | ) | 
Sets the symbol used for rendering the point cloud Takes ownership over the passed symbol.
Definition at line 45 of file qgspointcloudlayer3drenderer.cpp.
| 
 | inline | 
Returns the symbol used for rendering the point cloud.
Definition at line 83 of file qgspointcloudlayer3drenderer.h.
| 
 | inline | 
Returns any constant offset which must be applied to z values taken from the point cloud index.
Definition at line 151 of file qgspointcloudlayer3drenderer.h.
| 
 | inline | 
Returns any constant scaling factor which must be applied to z values taken from the point cloud index.
Definition at line 144 of file qgspointcloudlayer3drenderer.h.