QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Types | List of all members
Qgs3DTypes Class Reference

3 Defines enumerations and other auxiliary types for QGIS 3D More...

#include <qgs3dtypes.h>

Public Types

enum  AltitudeBinding { AltBindVertex, AltBindCentroid }
 how to handle clamping of vertices of individual features More...
 
enum  AltitudeClamping { AltClampAbsolute, AltClampRelative, AltClampTerrain }
 how to handle altitude of vector features More...
 
enum  CullingMode { NoCulling, Front, Back, FrontAndBack }
 Triangle culling mode. More...
 

Detailed Description

3 Defines enumerations and other auxiliary types for QGIS 3D

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.4

Definition at line 30 of file qgs3dtypes.h.

Member Enumeration Documentation

how to handle clamping of vertices of individual features

Enumerator
AltBindVertex 

Clamp every vertex of feature.

AltBindCentroid 

Clamp just centroid of feature.

Definition at line 42 of file qgs3dtypes.h.

how to handle altitude of vector features

Enumerator
AltClampAbsolute 

Z_final = z_geometry.

AltClampRelative 

Z_final = z_terrain + z_geometry.

AltClampTerrain 

Z_final = z_terrain.

Definition at line 34 of file qgs3dtypes.h.

Triangle culling mode.

Enumerator
NoCulling 

Will render both front and back faces of triangles.

Front 

Will render only back faces of triangles.

Back 

Will render only front faces of triangles (recommended when input data are consistent)

FrontAndBack 

Will not render anything.

Definition at line 49 of file qgs3dtypes.h.


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