QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
3 More...
#include <qgspointcloud3dsymbol.h>
Public Types | |
enum | RenderingStyle { NoRendering = 0 , SingleColor , ColorRamp , RgbRendering } |
How to render the point cloud. More... | |
Public Member Functions | |
QgsPointCloud3DSymbol () | |
Constructor for QgsPointCloud3DSymbol. More... | |
~QgsPointCloud3DSymbol () override | |
Destructor for QgsPointCloud3DSymbol. More... | |
virtual unsigned int | byteStride ()=0 |
Returns the byte stride for the geometries used to for the vertex buffer. More... | |
virtual void | fillMaterial (Qt3DRender::QMaterial *material)=0SIP_SKIP |
Used to fill material object with necessary QParameters (and consequently opengl uniforms) More... | |
float | pointSize () const |
Returns the point size of the point cloud. More... | |
void | setPointSize (float size) |
Sets the point size. More... | |
virtual QString | symbolType () const =0 |
Returns a unique string identifier of the symbol type. More... | |
QString | type () const override |
Protected Attributes | |
float | mPointSize = 2.0 |
3
3D symbol that draws point cloud geometries as 3D objects.
Definition at line 38 of file qgspointcloud3dsymbol.h.
How to render the point cloud.
Enumerator | |
---|---|
NoRendering | |
SingleColor | Render the point cloud with a single color. |
ColorRamp | Render the point cloud with a color ramp. |
RgbRendering | Render the RGB colors of the point cloud. |
Definition at line 45 of file qgspointcloud3dsymbol.h.
QgsPointCloud3DSymbol::QgsPointCloud3DSymbol | ( | ) |
Constructor for QgsPointCloud3DSymbol.
Definition at line 28 of file qgspointcloud3dsymbol.cpp.
|
override |
Destructor for QgsPointCloud3DSymbol.
Definition at line 33 of file qgspointcloud3dsymbol.cpp.
|
pure virtual |
Returns the byte stride for the geometries used to for the vertex buffer.
Implemented in QgsClassificationPointCloud3DSymbol, QgsRgbPointCloud3DSymbol, QgsColorRampPointCloud3DSymbol, and QgsSingleColorPointCloud3DSymbol.
|
pure virtual |
Used to fill material object with necessary QParameters (and consequently opengl uniforms)
Implemented in QgsClassificationPointCloud3DSymbol, QgsRgbPointCloud3DSymbol, QgsColorRampPointCloud3DSymbol, and QgsSingleColorPointCloud3DSymbol.
|
inline |
Returns the point size of the point cloud.
Definition at line 73 of file qgspointcloud3dsymbol.h.
void QgsPointCloud3DSymbol::setPointSize | ( | float | size | ) |
|
pure virtual |
Returns a unique string identifier of the symbol type.
Implemented in QgsClassificationPointCloud3DSymbol, QgsRgbPointCloud3DSymbol, QgsColorRampPointCloud3DSymbol, and QgsSingleColorPointCloud3DSymbol.
|
inlineoverride |
Definition at line 62 of file qgspointcloud3dsymbol.h.
|
protected |
Definition at line 87 of file qgspointcloud3dsymbol.h.