KiCad PCB EDA Suite
Loading...
Searching...
No Matches
3d_enums.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2016 Mario Luzeiro <[email protected]>
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 */
20
25
26#ifndef _3D_ENUMS_H_
27#define _3D_ENUMS_H_
28
39
41enum class CAMERA_TYPE
42{
44};
45
46// Do not modify the following enum numbers, they are saved in the config file and used in the UI
47
49enum class GRID3D_TYPE
50{
51 NONE = 0,
56};
57
59enum class RENDER_ENGINE
60{
61 OPENGL = 0,
63};
64
66enum class MATERIAL_MODE
67{
68 NORMAL = 0,
71};
72
96
97#endif // _3D_ENUMS_H_
CAMERA_TYPE
Camera types.
Definition 3d_enums.h:42
ROTATION_DIR
Rotation direction for the 3d canvas.
Definition 3d_enums.h:31
GRID3D_TYPE
Grid types.
Definition 3d_enums.h:50
MATERIAL_MODE
Render 3d model shape materials mode.
Definition 3d_enums.h:67
@ CAD_MODE
Use a gray shading based on diffuse material.
Definition 3d_enums.h:70
@ DIFFUSE_ONLY
Use only diffuse material properties.
Definition 3d_enums.h:69
RENDER_ENGINE
Render engine mode.
Definition 3d_enums.h:60
VIEW3D_TYPE
Definition 3d_enums.h:74
@ VIEW3D_ZOOM_OUT
Definition 3d_enums.h:90
@ VIEW3D_PAN_LEFT
Definition 3d_enums.h:87
@ VIEW3D_FIT_SCREEN
Definition 3d_enums.h:94
@ VIEW3D_ZOOM_IN
Definition 3d_enums.h:89
@ VIEW3D_PIVOT_CENTER
Definition 3d_enums.h:91
@ VIEW3D_BOTTOM
Definition 3d_enums.h:77
@ VIEW3D_PAN_UP
Definition 3d_enums.h:85
@ VIEW3D_PAN_DOWN
Definition 3d_enums.h:86
@ VIEW3D_PAN_RIGHT
Definition 3d_enums.h:88
@ NONE
Definition eda_shape.h:72
NORMAL
Follows standard pretty-printing rules.