QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsPoint3DBillboardMaterial Class Reference

3 More...

#include <qgspoint3dbillboardmaterial.h>

Inheritance diagram for QgsPoint3DBillboardMaterial:
Inheritance graph
[legend]

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.
 

Detailed Description

3

Material of the billboard rendering for points in 3D map view.

Note
Not available in Python bindings
Since
QGIS 3.10

Definition at line 37 of file qgspoint3dbillboardmaterial.h.

Constructor & Destructor Documentation

◆ QgsPoint3DBillboardMaterial()

QgsPoint3DBillboardMaterial::QgsPoint3DBillboardMaterial ( )

Definition at line 32 of file qgspoint3dbillboardmaterial.cpp.

◆ ~QgsPoint3DBillboardMaterial()

QgsPoint3DBillboardMaterial::~QgsPoint3DBillboardMaterial ( )
overridedefault

Member Function Documentation

◆ setSize()

void QgsPoint3DBillboardMaterial::setSize ( const QSizeF  size)

Set the billboard size.

Definition at line 86 of file qgspoint3dbillboardmaterial.cpp.

◆ setTexture2DFromSymbol()

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.

◆ setViewportSize()

void QgsPoint3DBillboardMaterial::setViewportSize ( const QSizeF  size)

Set the size of the view port.

Definition at line 96 of file qgspoint3dbillboardmaterial.cpp.

◆ size()

QSizeF QgsPoint3DBillboardMaterial::size ( ) const

Returns the billboard size.

Definition at line 91 of file qgspoint3dbillboardmaterial.cpp.

◆ useDefaultSymbol()

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.

◆ windowSize()

QSizeF QgsPoint3DBillboardMaterial::windowSize ( ) const

Returns the size of the view port.

Definition at line 101 of file qgspoint3dbillboardmaterial.cpp.


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