QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
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 32 of file qgspoint3dbillboardmaterial.cpp.
|
overridedefault |
void QgsPoint3DBillboardMaterial::setSize | ( | const QSizeF | size | ) |
Set the billboard size.
Definition at line 86 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 123 of file qgspoint3dbillboardmaterial.cpp.
void QgsPoint3DBillboardMaterial::setViewportSize | ( | const QSizeF | size | ) |
Set the size of the view port.
Definition at line 96 of file qgspoint3dbillboardmaterial.cpp.
QSizeF QgsPoint3DBillboardMaterial::size | ( | ) | const |
Returns the billboard size.
Definition at line 91 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 116 of file qgspoint3dbillboardmaterial.cpp.
QSizeF QgsPoint3DBillboardMaterial::windowSize | ( | ) | const |
Returns the size of the view port.
Definition at line 101 of file qgspoint3dbillboardmaterial.cpp.