QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
3d
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
30
class
_3D_EXPORT
Qgs3DTypes
31
{
32
public
:
34
enum
CullingMode
35
{
36
NoCulling
,
37
Front
,
38
Back
,
39
FrontAndBack
40
};
41
43
static
const
char
*
PROP_NAME_3D_RENDERER_FLAG
;
44
46
enum
Flag3DRenderer
47
{
48
Main3DRenderer
= 0,
49
Selected3DRenderer
,
50
};
51
};
52
53
#endif
// QGS3DTYPES_H
Qgs3DTypes
Defines enumerations and other auxiliary types for QGIS 3D.
Definition
qgs3dtypes.h:31
Qgs3DTypes::Flag3DRenderer
Flag3DRenderer
3D geometry renderer flag
Definition
qgs3dtypes.h:47
Qgs3DTypes::Selected3DRenderer
@ Selected3DRenderer
Renderer for selected entities.
Definition
qgs3dtypes.h:49
Qgs3DTypes::Main3DRenderer
@ Main3DRenderer
Renderer for normal entities.
Definition
qgs3dtypes.h:48
Qgs3DTypes::PROP_NAME_3D_RENDERER_FLAG
static const char * PROP_NAME_3D_RENDERER_FLAG
Qt property name to hold the 3D geometry renderer flag.
Definition
qgs3dtypes.h:43
Qgs3DTypes::CullingMode
CullingMode
Triangle culling mode.
Definition
qgs3dtypes.h:35
Qgs3DTypes::FrontAndBack
@ FrontAndBack
Will not render anything.
Definition
qgs3dtypes.h:39
Qgs3DTypes::NoCulling
@ NoCulling
Will render both front and back faces of triangles.
Definition
qgs3dtypes.h:36
Qgs3DTypes::Front
@ Front
Will render only back faces of triangles.
Definition
qgs3dtypes.h:37
Qgs3DTypes::Back
@ Back
Will render only front faces of triangles (recommended when input data are consistent).
Definition
qgs3dtypes.h:38
Generated on
for QGIS API Documentation by
1.17.0