QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
qgs3dtypes.h
Go to the documentation of this file.
1/***************************************************************************
2 qgs3dtypes.h
3 --------------------------------------
4 Date : October 2018
5 Copyright : (C) 2018 by Martin Dobias
6 Email : wonder dot sk at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGS3DTYPES_H
17#define QGS3DTYPES_H
18
19#include "qgis_3d.h"
20
30class _3D_EXPORT Qgs3DTypes
31{
32 public:
33
36 {
40 FrontAndBack
41 };
42
44 static const char *PROP_NAME_3D_RENDERER_FLAG;
45
48 {
49 Main3DRenderer = 0,
51 };
52
53
54};
55
56#endif // QGS3DTYPES_H
Flag3DRenderer
3D geometry renderer flag
Definition: qgs3dtypes.h:48
@ Selected3DRenderer
Renderer for selected entities.
Definition: qgs3dtypes.h:50
static const char * PROP_NAME_3D_RENDERER_FLAG
Qt property name to hold the 3D geometry renderer flag.
Definition: qgs3dtypes.h:44
CullingMode
Triangle culling mode.
Definition: qgs3dtypes.h:36
@ NoCulling
Will render both front and back faces of triangles.
Definition: qgs3dtypes.h:37
@ Front
Will render only back faces of triangles.
Definition: qgs3dtypes.h:38
@ Back
Will render only front faces of triangles (recommended when input data are consistent)
Definition: qgs3dtypes.h:39