|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
3D symbol that draws point cloud geometries as 3D objects using RGB colors in the dataset. More...
#include <qgspointcloud3dsymbol.h>

Public Member Functions | |
| QgsRgbPointCloud3DSymbol () | |
| QgsRgbPointCloud3DSymbol (const QgsRgbPointCloud3DSymbol &other)=delete | |
| QgsRgbPointCloud3DSymbol cannot be copied - use clone() instead. | |
| QString | blueAttribute () const |
| Returns the attribute to use for the blue channel. | |
| QgsContrastEnhancement * | blueContrastEnhancement () |
| Returns the contrast enhancement to use for the blue channel. | |
| unsigned int | byteStride () override |
| Returns the byte stride for the geometries used to for the vertex buffer. | |
| QgsAbstract3DSymbol * | clone () const override SIP_FACTORY |
| void | fillMaterial (QgsMaterial *material) override SIP_SKIP |
| Used to fill material object with necessary QParameters (and consequently opengl uniforms) | |
| QString | greenAttribute () const |
| Returns the attribute to use for the green channel. | |
| QgsContrastEnhancement * | greenContrastEnhancement () |
| Returns the contrast enhancement to use for the green channel. | |
| QgsRgbPointCloud3DSymbol & | operator= (const QgsRgbPointCloud3DSymbol &other)=delete |
| QgsRgbPointCloud3DSymbol cannot be copied - use clone() instead. | |
| void | readXml (const QDomElement &elem, const QgsReadWriteContext &context) override |
| QString | redAttribute () const |
| Returns the attribute to use for the red channel. | |
| QgsContrastEnhancement * | redContrastEnhancement () |
| Returns the contrast enhancement to use for the red channel. | |
| void | setBlueAttribute (const QString &attribute) |
| Sets the attribute to use for the blue channel. | |
| void | setBlueContrastEnhancement (QgsContrastEnhancement *enhancement SIP_TRANSFER) |
| Sets the contrast enhancement to use for the blue channel. | |
| void | setGreenAttribute (const QString &attribute) |
| Sets the attribute to use for the green channel. | |
| void | setGreenContrastEnhancement (QgsContrastEnhancement *enhancement SIP_TRANSFER) |
| Sets the contrast enhancement to use for the green channel. | |
| void | setRedAttribute (const QString &attribute) |
| Sets the attribute to use for the red channel. | |
| void | setRedContrastEnhancement (QgsContrastEnhancement *enhancement SIP_TRANSFER) |
| Sets the contrast enhancement to use for the red channel. | |
| QString | symbolType () const override |
| Returns a unique string identifier of the symbol type. | |
| void | writeXml (QDomElement &elem, const QgsReadWriteContext &context) const override |
Public Member Functions inherited from QgsPointCloud3DSymbol | |
| QgsPointCloud3DSymbol () | |
| ~QgsPointCloud3DSymbol () override | |
| void | copyBaseSettings (QgsAbstract3DSymbol *destination) const override |
| float | horizontalFilterThreshold () const |
| Returns the threshold horizontal size value for filtering triangles. | |
| bool | horizontalTriangleFilter () const |
| Returns whether triangles are filtered by horizontal size for rendering. | |
| float | pointSize () const |
| Returns the point size of the point cloud. | |
| bool | renderAsTriangles () const |
| Returns whether points are triangulated to render solid surface. | |
| void | setHorizontalFilterThreshold (float horizontalFilterThreshold) |
| Sets the threshold horizontal size value for filtering triangles. | |
| void | setHorizontalTriangleFilter (bool horizontalTriangleFilter) |
| Sets whether whether triangles are filtered by horizontal size for rendering. | |
| void | setPointSize (float size) |
| Sets the point size. | |
| void | setRenderAsTriangles (bool asTriangles) |
| Sets whether points are triangulated to render solid surface. | |
| void | setVerticalFilterThreshold (float verticalFilterThreshold) |
| Sets the threshold vertical height value for filtering triangles. | |
| void | setVerticalTriangleFilter (bool verticalTriangleFilter) |
| Sets whether triangles are filtered by vertical height for rendering. | |
| QString | type () const override |
| float | verticalFilterThreshold () const |
| Returns the threshold vertical height value for filtering triangles. | |
| bool | verticalTriangleFilter () const |
| Returns whether triangles are filtered by vertical height for rendering. | |
Additional Inherited Members | |
Public Types inherited from QgsPointCloud3DSymbol | |
| enum | RenderingStyle { NoRendering = 0 , SingleColor , ColorRamp , RgbRendering , Classification } |
| How to render the point cloud. More... | |
Protected Member Functions inherited from QgsPointCloud3DSymbol | |
| void | readBaseXml (const QDomElement &elem, const QgsReadWriteContext &context) |
| Reads symbol configuration of this class from the given DOM element. | |
| void | writeBaseXml (QDomElement &elem, const QgsReadWriteContext &context) const |
| Writes symbol configuration of this class to the given DOM element. | |
Protected Attributes inherited from QgsPointCloud3DSymbol | |
| float | mHorizontalFilterThreshold = 10.0 |
| bool | mHorizontalTriangleFilter = false |
| float | mPointSize = 3.0 |
| bool | mRenderAsTriangles = false |
| float | mVerticalFilterThreshold = 10.0 |
| bool | mVerticalTriangleFilter = false |
3D symbol that draws point cloud geometries as 3D objects using RGB colors in the dataset.
Definition at line 310 of file qgspointcloud3dsymbol.h.
| QgsRgbPointCloud3DSymbol::QgsRgbPointCloud3DSymbol | ( | ) |
Definition at line 278 of file qgspointcloud3dsymbol.cpp.
|
delete |
QgsRgbPointCloud3DSymbol cannot be copied - use clone() instead.
| QString QgsRgbPointCloud3DSymbol::blueAttribute | ( | ) | const |
Returns the attribute to use for the blue channel.
Definition at line 412 of file qgspointcloud3dsymbol.cpp.
| QgsContrastEnhancement * QgsRgbPointCloud3DSymbol::blueContrastEnhancement | ( | ) |
Returns the contrast enhancement to use for the blue channel.
Definition at line 442 of file qgspointcloud3dsymbol.cpp.
|
inlineoverridevirtual |
Returns the byte stride for the geometries used to for the vertex buffer.
Implements QgsPointCloud3DSymbol.
Definition at line 327 of file qgspointcloud3dsymbol.h.
|
override |
Definition at line 288 of file qgspointcloud3dsymbol.cpp.
|
overridevirtual |
Used to fill material object with necessary QParameters (and consequently opengl uniforms)
Implements QgsPointCloud3DSymbol.
Definition at line 383 of file qgspointcloud3dsymbol.cpp.
| QString QgsRgbPointCloud3DSymbol::greenAttribute | ( | ) | const |
Returns the attribute to use for the green channel.
Definition at line 402 of file qgspointcloud3dsymbol.cpp.
| QgsContrastEnhancement * QgsRgbPointCloud3DSymbol::greenContrastEnhancement | ( | ) |
Returns the contrast enhancement to use for the green channel.
Definition at line 432 of file qgspointcloud3dsymbol.cpp.
|
delete |
QgsRgbPointCloud3DSymbol cannot be copied - use clone() instead.
|
override |
Definition at line 344 of file qgspointcloud3dsymbol.cpp.
| QString QgsRgbPointCloud3DSymbol::redAttribute | ( | ) | const |
Returns the attribute to use for the red channel.
Definition at line 392 of file qgspointcloud3dsymbol.cpp.
| QgsContrastEnhancement * QgsRgbPointCloud3DSymbol::redContrastEnhancement | ( | ) |
Returns the contrast enhancement to use for the red channel.
Definition at line 422 of file qgspointcloud3dsymbol.cpp.
| void QgsRgbPointCloud3DSymbol::setBlueAttribute | ( | const QString & | attribute | ) |
Sets the attribute to use for the blue channel.
Definition at line 417 of file qgspointcloud3dsymbol.cpp.
| void QgsRgbPointCloud3DSymbol::setBlueContrastEnhancement | ( | QgsContrastEnhancement *enhancement | SIP_TRANSFER | ) |
Sets the contrast enhancement to use for the blue channel.
Ownership of enhancement is transferred.
Definition at line 447 of file qgspointcloud3dsymbol.cpp.
| void QgsRgbPointCloud3DSymbol::setGreenAttribute | ( | const QString & | attribute | ) |
Sets the attribute to use for the green channel.
Definition at line 407 of file qgspointcloud3dsymbol.cpp.
| void QgsRgbPointCloud3DSymbol::setGreenContrastEnhancement | ( | QgsContrastEnhancement *enhancement | SIP_TRANSFER | ) |
Sets the contrast enhancement to use for the green channel.
Ownership of enhancement is transferred.
Definition at line 437 of file qgspointcloud3dsymbol.cpp.
| void QgsRgbPointCloud3DSymbol::setRedAttribute | ( | const QString & | attribute | ) |
Sets the attribute to use for the red channel.
Definition at line 397 of file qgspointcloud3dsymbol.cpp.
| void QgsRgbPointCloud3DSymbol::setRedContrastEnhancement | ( | QgsContrastEnhancement *enhancement | SIP_TRANSFER | ) |
Sets the contrast enhancement to use for the red channel.
Ownership of enhancement is transferred.
Definition at line 427 of file qgspointcloud3dsymbol.cpp.
|
overridevirtual |
Returns a unique string identifier of the symbol type.
Implements QgsPointCloud3DSymbol.
Definition at line 283 of file qgspointcloud3dsymbol.cpp.
|
override |
Definition at line 311 of file qgspointcloud3dsymbol.cpp.