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, you may find one here:
19 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20 * or you may search the http://www.gnu.org website for the version 2 license,
21 * or you may write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 */
24
29
30#ifndef _3D_ENUMS_H_
31#define _3D_ENUMS_H_
32
43
45enum class CAMERA_TYPE
46{
48};
49
50// Do not modify the following enum numbers, they are saved in the config file and used in the UI
51
53enum class GRID3D_TYPE
54{
55 NONE = 0,
60};
61
63enum class RENDER_ENGINE
64{
65 OPENGL = 0,
67};
68
70enum class MATERIAL_MODE
71{
72 NORMAL = 0,
75};
76
100
101#endif // _3D_ENUMS_H_
CAMERA_TYPE
Camera types.
Definition 3d_enums.h:46
ROTATION_DIR
Rotation direction for the 3d canvas.
Definition 3d_enums.h:35
GRID3D_TYPE
Grid types.
Definition 3d_enums.h:54
MATERIAL_MODE
Render 3d model shape materials mode.
Definition 3d_enums.h:71
@ NORMAL
Use all material properties from model file.
Definition 3d_enums.h:72
@ CAD_MODE
Use a gray shading based on diffuse material.
Definition 3d_enums.h:74
@ DIFFUSE_ONLY
Use only diffuse material properties.
Definition 3d_enums.h:73
RENDER_ENGINE
Render engine mode.
Definition 3d_enums.h:64
VIEW3D_TYPE
Definition 3d_enums.h:78
@ VIEW3D_ZOOM_OUT
Definition 3d_enums.h:94
@ VIEW3D_PAN_LEFT
Definition 3d_enums.h:91
@ VIEW3D_FIT_SCREEN
Definition 3d_enums.h:98
@ VIEW3D_ZOOM_IN
Definition 3d_enums.h:93
@ VIEW3D_PIVOT_CENTER
Definition 3d_enums.h:95
@ VIEW3D_BOTTOM
Definition 3d_enums.h:81
@ VIEW3D_PAN_UP
Definition 3d_enums.h:89
@ VIEW3D_PAN_DOWN
Definition 3d_enums.h:90
@ VIEW3D_PAN_RIGHT
Definition 3d_enums.h:92
@ NONE
Definition eda_shape.h:69