QGIS API Documentation  3.18.1-Zürich (202f1bf7e5)
Public Member Functions | List of all members
QgsClassificationPointCloud3DSymbol Class Reference

3 More...

#include <qgspointcloud3dsymbol.h>

Inheritance diagram for QgsClassificationPointCloud3DSymbol:
Inheritance graph
[legend]

Public Member Functions

 QgsClassificationPointCloud3DSymbol ()
 Constructor for QgsClassificationPointCloud3DSymbol. More...
 
QString attribute () const
 Returns the attribute used to select the color of the point cloud. More...
 
unsigned int byteStride () override
 Returns the byte stride for the geometries used to for the vertex buffer. More...
 
QgsPointCloudCategoryList categoriesList () const
 Returns the list of categories of the classification. More...
 
QgsAbstract3DSymbolclone () const override SIP_FACTORY
 
void fillMaterial (Qt3DRender::QMaterial *material) override SIP_SKIP
 Used to fill material object with necessary QParameters (and consequently opengl uniforms) More...
 
QgsPointCloudCategoryList getFilteredOutCategories () const
 Gets the list of categories of the classification that should not be rendered. More...
 
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. More...
 
void setCategoriesList (const QgsPointCloudCategoryList &categories)
 Sets the list of categories of the classification. More...
 
QString symbolType () const override
 Returns a unique string identifier of the symbol type. More...
 
void writeXml (QDomElement &elem, const QgsReadWriteContext &context) const override
 
- Public Member Functions inherited from QgsPointCloud3DSymbol
 QgsPointCloud3DSymbol ()
 Constructor for QgsPointCloud3DSymbol. More...
 
 ~QgsPointCloud3DSymbol () override
 Destructor for QgsPointCloud3DSymbol. More...
 
float pointSize () const
 Returns the point size of the point cloud. More...
 
void setPointSize (float size)
 Sets the point size. More...
 
QString type () const override
 

Additional Inherited Members

- Public Types inherited from QgsPointCloud3DSymbol
enum  RenderingStyle { NoRendering = 0 , SingleColor , ColorRamp , RgbRendering }
 How to render the point cloud. More...
 
- Protected Attributes inherited from QgsPointCloud3DSymbol
float mPointSize = 2.0
 

Detailed Description

3

3D symbol that draws point cloud geometries as 3D objects using classification of the dataset

Warning
This is not considered stable API, and may change in future QGIS releases. It is exposed to the Python bindings as a tech preview only.
Since
QGIS 3.18

Definition at line 373 of file qgspointcloud3dsymbol.h.

Constructor & Destructor Documentation

◆ QgsClassificationPointCloud3DSymbol()

QgsClassificationPointCloud3DSymbol::QgsClassificationPointCloud3DSymbol ( )

Constructor for QgsClassificationPointCloud3DSymbol.

Definition at line 373 of file qgspointcloud3dsymbol.cpp.

Member Function Documentation

◆ attribute()

QString QgsClassificationPointCloud3DSymbol::attribute ( ) const

Returns the attribute used to select the color of the point cloud.

See also
setAttribute()

Definition at line 443 of file qgspointcloud3dsymbol.cpp.

◆ byteStride()

unsigned int QgsClassificationPointCloud3DSymbol::byteStride ( )
inlineoverridevirtual

Returns the byte stride for the geometries used to for the vertex buffer.

Implements QgsPointCloud3DSymbol.

Definition at line 415 of file qgspointcloud3dsymbol.h.

◆ categoriesList()

QgsPointCloudCategoryList QgsClassificationPointCloud3DSymbol::categoriesList ( ) const
inline

Returns the list of categories of the classification.

See also
setCategoriesList()

Definition at line 401 of file qgspointcloud3dsymbol.h.

◆ clone()

QgsAbstract3DSymbol * QgsClassificationPointCloud3DSymbol::clone ( ) const
override

Definition at line 379 of file qgspointcloud3dsymbol.cpp.

◆ fillMaterial()

void QgsClassificationPointCloud3DSymbol::fillMaterial ( Qt3DRender::QMaterial *  material)
overridevirtual

Used to fill material object with necessary QParameters (and consequently opengl uniforms)

Implements QgsPointCloud3DSymbol.

Definition at line 486 of file qgspointcloud3dsymbol.cpp.

◆ getFilteredOutCategories()

QgsPointCloudCategoryList QgsClassificationPointCloud3DSymbol::getFilteredOutCategories ( ) const

Gets the list of categories of the classification that should not be rendered.

See also
categoriesList() setCategoriesList()

Definition at line 458 of file qgspointcloud3dsymbol.cpp.

◆ readXml()

void QgsClassificationPointCloud3DSymbol::readXml ( const QDomElement &  elem,
const QgsReadWriteContext context 
)
override

Definition at line 416 of file qgspointcloud3dsymbol.cpp.

◆ setAttribute()

void QgsClassificationPointCloud3DSymbol::setAttribute ( const QString &  attribute)

Sets the attribute used to select the color of the point cloud.

See also
attribute()

Definition at line 448 of file qgspointcloud3dsymbol.cpp.

◆ setCategoriesList()

void QgsClassificationPointCloud3DSymbol::setCategoriesList ( const QgsPointCloudCategoryList categories)

Sets the list of categories of the classification.

See also
categoriesList()

Definition at line 453 of file qgspointcloud3dsymbol.cpp.

◆ symbolType()

QString QgsClassificationPointCloud3DSymbol::symbolType ( ) const
overridevirtual

Returns a unique string identifier of the symbol type.

Implements QgsPointCloud3DSymbol.

Definition at line 389 of file qgspointcloud3dsymbol.cpp.

◆ writeXml()

void QgsClassificationPointCloud3DSymbol::writeXml ( QDomElement &  elem,
const QgsReadWriteContext context 
) const
override

Definition at line 394 of file qgspointcloud3dsymbol.cpp.


The documentation for this class was generated from the following files: