QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
3 More...
#include <qgspointcloud3dsymbol.h>
Public Member Functions | |
QgsClassificationPointCloud3DSymbol () | |
Constructor for QgsClassificationPointCloud3DSymbol. | |
QString | attribute () const |
Returns the attribute used to select the color of the point cloud. | |
unsigned int | byteStride () override |
Returns the byte stride for the geometries used to for the vertex buffer. | |
QgsPointCloudCategoryList | categoriesList () const |
Returns the list of categories of the classification. | |
QgsAbstract3DSymbol * | clone () const override SIP_FACTORY |
void | fillMaterial (Qt3DRender::QMaterial *material) override SIP_SKIP |
Used to fill material object with necessary QParameters (and consequently opengl uniforms) | |
QgsPointCloudCategoryList | getFilteredOutCategories () const |
Gets the list of categories of the classification that should not be rendered. | |
void | readXml (const QDomElement &elem, const QgsReadWriteContext &context) override |
void | setAttribute (const QString &attribute) |
Sets the attribute used to select the color of the point cloud. | |
void | setCategoriesList (const QgsPointCloudCategoryList &categories) |
Sets the list of categories of the classification. | |
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 () | |
Constructor for QgsPointCloud3DSymbol. | |
~QgsPointCloud3DSymbol () override | |
Destructor for QgsPointCloud3DSymbol. | |
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 |
3
3D symbol that draws point cloud geometries as 3D objects using classification of the dataset
Definition at line 474 of file qgspointcloud3dsymbol.h.
QgsClassificationPointCloud3DSymbol::QgsClassificationPointCloud3DSymbol | ( | ) |
Constructor for QgsClassificationPointCloud3DSymbol.
Definition at line 459 of file qgspointcloud3dsymbol.cpp.
QString QgsClassificationPointCloud3DSymbol::attribute | ( | ) | const |
Returns the attribute used to select the color of the point cloud.
Definition at line 531 of file qgspointcloud3dsymbol.cpp.
|
inlineoverridevirtual |
Returns the byte stride for the geometries used to for the vertex buffer.
Implements QgsPointCloud3DSymbol.
Definition at line 516 of file qgspointcloud3dsymbol.h.
|
inline |
Returns the list of categories of the classification.
Definition at line 502 of file qgspointcloud3dsymbol.h.
|
override |
Definition at line 465 of file qgspointcloud3dsymbol.cpp.
|
overridevirtual |
Used to fill material object with necessary QParameters (and consequently opengl uniforms)
Implements QgsPointCloud3DSymbol.
Definition at line 574 of file qgspointcloud3dsymbol.cpp.
QgsPointCloudCategoryList QgsClassificationPointCloud3DSymbol::getFilteredOutCategories | ( | ) | const |
Gets the list of categories of the classification that should not be rendered.
Definition at line 546 of file qgspointcloud3dsymbol.cpp.
|
override |
Definition at line 503 of file qgspointcloud3dsymbol.cpp.
void QgsClassificationPointCloud3DSymbol::setAttribute | ( | const QString & | attribute | ) |
Sets the attribute used to select the color of the point cloud.
Definition at line 536 of file qgspointcloud3dsymbol.cpp.
void QgsClassificationPointCloud3DSymbol::setCategoriesList | ( | const QgsPointCloudCategoryList & | categories | ) |
Sets the list of categories of the classification.
Definition at line 541 of file qgspointcloud3dsymbol.cpp.
|
overridevirtual |
Returns a unique string identifier of the symbol type.
Implements QgsPointCloud3DSymbol.
Definition at line 474 of file qgspointcloud3dsymbol.cpp.
|
override |
Definition at line 479 of file qgspointcloud3dsymbol.cpp.