QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Types | Static Public Attributes | List of all members
Qgs3DTypes Class Reference

3 More...

#include <qgs3dtypes.h>

Public Types

enum  CullingMode { NoCulling , Front , Back , FrontAndBack }
 Triangle culling mode. More...
 
enum  Flag3DRenderer { Main3DRenderer = 0 , Selected3DRenderer }
 3D geometry renderer flag More...
 

Static Public Attributes

static const char * PROP_NAME_3D_RENDERER_FLAG = "PROP_NAME_3D_RENDERER_FLAG"
 Qt property name to hold the 3D geometry renderer flag. 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

◆ CullingMode

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 35 of file qgs3dtypes.h.

◆ Flag3DRenderer

3D geometry renderer flag

Enumerator
Main3DRenderer 

Renderer for normal entities.

Selected3DRenderer 

Renderer for selected entities.

Definition at line 47 of file qgs3dtypes.h.

Member Data Documentation

◆ PROP_NAME_3D_RENDERER_FLAG

const char * Qgs3DTypes::PROP_NAME_3D_RENDERER_FLAG = "PROP_NAME_3D_RENDERER_FLAG"
static

Qt property name to hold the 3D geometry renderer flag.

Definition at line 44 of file qgs3dtypes.h.


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