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
50{
51 ORTHO = 0,
53};
54
56enum class GRID3D_TYPE
57{
58 NONE = 0,
63};
64
66enum class RENDER_ENGINE
67{
68 OPENGL = 0,
70};
71
73enum class MATERIAL_MODE
74{
75 NORMAL = 0,
78};
79
103
104#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:57
MATERIAL_MODE
Render 3d model shape materials mode.
Definition 3d_enums.h:74
@ CAD_MODE
Use a gray shading based on diffuse material.
Definition 3d_enums.h:77
@ DIFFUSE_ONLY
Use only diffuse material properties.
Definition 3d_enums.h:76
RENDER_ENGINE
Render engine mode.
Definition 3d_enums.h:67
VIEW3D_TYPE
Definition 3d_enums.h:81
@ VIEW3D_ZOOM_OUT
Definition 3d_enums.h:97
@ VIEW3D_PAN_LEFT
Definition 3d_enums.h:94
@ VIEW3D_FIT_SCREEN
Definition 3d_enums.h:101
@ VIEW3D_ZOOM_IN
Definition 3d_enums.h:96
@ VIEW3D_PIVOT_CENTER
Definition 3d_enums.h:98
@ VIEW3D_BOTTOM
Definition 3d_enums.h:84
@ VIEW3D_PAN_UP
Definition 3d_enums.h:92
@ VIEW3D_PAN_DOWN
Definition 3d_enums.h:93
@ VIEW3D_PAN_RIGHT
Definition 3d_enums.h:95
PROJECTION_TYPE
Camera projection types.
Definition 3d_enums.h:50
@ NONE
Definition eda_fill.h:42
NORMAL
Follows standard pretty-printing rules.