QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
3 More...
#include <qgspoint3dbillboardmaterial.h>
Public Member Functions | |
QgsPoint3DBillboardMaterial () | |
~QgsPoint3DBillboardMaterial () override | |
void | setSize (const QSizeF size) |
Set the billboard size. | |
void | setTexture2DFromSymbol (QgsMarkerSymbol *markerSymbol, const Qgs3DRenderContext &context, bool selected=false) |
Set markerSymbol for the texture with context and selected parameter for rendering. | |
void | setViewportSize (const QSizeF size) |
Set the size of the view port. | |
QSizeF | size () const |
Returns the billboard size. | |
void | useDefaultSymbol (const Qgs3DRenderContext &context, bool selected=false) |
Set default symbol for the texture with context and selected parameter for rendering. | |
QSizeF | windowSize () const |
Returns the size of the view port. | |
Public Member Functions inherited from QgsMaterial | |
QgsMaterial (Qt3DCore::QNode *parent=nullptr) | |
Constructor for QgsMaterial, with the specified parent node. | |
~QgsMaterial () override | |
void | disableClipping () |
Removes the uniform parameters used to define OpenGL clipping. | |
void | enableClipping (const QList< QVector4D > &clipPlanesEquations) |
Adds two uniform parameters to define OpenGL clipping from clipPlanesEquations. | |
3
Material of the billboard rendering for points in 3D map view.
Definition at line 37 of file qgspoint3dbillboardmaterial.h.
QgsPoint3DBillboardMaterial::QgsPoint3DBillboardMaterial | ( | ) |
Definition at line 33 of file qgspoint3dbillboardmaterial.cpp.
|
overridedefault |
void QgsPoint3DBillboardMaterial::setSize | ( | const QSizeF | size | ) |
Set the billboard size.
Definition at line 87 of file qgspoint3dbillboardmaterial.cpp.
void QgsPoint3DBillboardMaterial::setTexture2DFromSymbol | ( | QgsMarkerSymbol * | markerSymbol, |
const Qgs3DRenderContext & | context, | ||
bool | selected = false |
||
) |
Set markerSymbol for the texture with context and selected parameter for rendering.
Definition at line 124 of file qgspoint3dbillboardmaterial.cpp.
void QgsPoint3DBillboardMaterial::setViewportSize | ( | const QSizeF | size | ) |
Set the size of the view port.
Definition at line 97 of file qgspoint3dbillboardmaterial.cpp.
QSizeF QgsPoint3DBillboardMaterial::size | ( | ) | const |
Returns the billboard size.
Definition at line 92 of file qgspoint3dbillboardmaterial.cpp.
void QgsPoint3DBillboardMaterial::useDefaultSymbol | ( | const Qgs3DRenderContext & | context, |
bool | selected = false |
||
) |
Set default symbol for the texture with context and selected parameter for rendering.
Definition at line 117 of file qgspoint3dbillboardmaterial.cpp.
QSizeF QgsPoint3DBillboardMaterial::windowSize | ( | ) | const |
Returns the size of the view port.
Definition at line 102 of file qgspoint3dbillboardmaterial.cpp.