KiCad PCB EDA Suite
3d_actions.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) 2013-2016 CERN
5  * Copyright (C) 2020 KiCad Developers, see AUTHORS.txt for contributors.
6  * @author Maciej Suminski <maciej.suminski@cern.ch>
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, you may find one here:
20  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
21  * or you may search the http://www.gnu.org website for the version 2 license,
22  * or you may write to the Free Software Foundation, Inc.,
23  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24  */
25 
26 #ifndef EDA_3D_ACTIONS_H
27 #define EDA_3D_ACTIONS_H
28 
29 #include <tool/tool_action.h>
30 #include <tool/actions.h>
31 #include <core/optional.h>
32 
33 class TOOL_EVENT;
34 class TOOL_MANAGER;
35 
41 class EDA_3D_ACTIONS : public ACTIONS
42 {
43 public:
45 
61 
68 
74 
97 
99  virtual OPT<TOOL_EVENT> TranslateLegacyId( int aId ) override { return OPT<TOOL_EVENT>(); }
100 };
101 
102 #endif
static TOOL_ACTION rotateXCW
Definition: 3d_actions.h:47
virtual OPT< TOOL_EVENT > TranslateLegacyId(int aId) override
Definition: 3d_actions.h:99
static TOOL_ACTION homeView
Definition: 3d_actions.h:57
static TOOL_ACTION show10mmGrid
Definition: 3d_actions.h:70
static TOOL_ACTION pivotCenter
Definition: 3d_actions.h:46
static TOOL_ACTION showBoundingBoxes
Definition: 3d_actions.h:79
static TOOL_ACTION toggleAdhesive
Definition: 3d_actions.h:91
EDA_3D_ACTIONS.
Definition: 3d_actions.h:41
static TOOL_ACTION attributesVirtual
Definition: 3d_actions.h:78
static TOOL_ACTION toggleSilk
Definition: 3d_actions.h:92
static TOOL_ACTION toggleSolderMask
Definition: 3d_actions.h:93
static TOOL_ACTION showRefractions
Definition: 3d_actions.h:83
static TOOL_ACTION resetView
Definition: 3d_actions.h:58
static TOOL_ACTION controlActivate
Definition: 3d_actions.h:44
static TOOL_ACTION flipView
Definition: 3d_actions.h:59
static TOOL_ACTION toggleZones
Definition: 3d_actions.h:90
static TOOL_ACTION viewRight
Definition: 3d_actions.h:65
static TOOL_ACTION viewLeft
Definition: 3d_actions.h:64
static TOOL_ACTION toggleECO
Definition: 3d_actions.h:96
TOOL_MANAGER.
Definition: tool_manager.h:51
static TOOL_ACTION antiAliasing
Definition: 3d_actions.h:85
static TOOL_ACTION rotate45axisZ
Definition: 3d_actions.h:75
static TOOL_ACTION moveLeft
Definition: 3d_actions.h:53
static TOOL_ACTION toggleComments
Definition: 3d_actions.h:95
static TOOL_ACTION show5mmGrid
Definition: 3d_actions.h:71
static TOOL_ACTION toggleSolderPaste
Definition: 3d_actions.h:94
static TOOL_ACTION rotateYCW
Definition: 3d_actions.h:49
TOOL_EVENT.
Definition: tool_event.h:171
static TOOL_ACTION rotateXCCW
Definition: 3d_actions.h:48
static TOOL_ACTION viewBottom
Definition: 3d_actions.h:67
static TOOL_ACTION rotateZCCW
Definition: 3d_actions.h:52
static TOOL_ACTION addFloor
Definition: 3d_actions.h:82
static TOOL_ACTION showAxis
Definition: 3d_actions.h:89
static TOOL_ACTION rotateZCW
Definition: 3d_actions.h:51
static TOOL_ACTION viewTop
Definition: 3d_actions.h:66
static TOOL_ACTION viewBack
Definition: 3d_actions.h:63
static TOOL_ACTION attributesSMD
Definition: 3d_actions.h:77
static TOOL_ACTION toggleRealisticMode
Definition: 3d_actions.h:87
static TOOL_ACTION moveDown
Definition: 3d_actions.h:56
static TOOL_ACTION proceduralTextures
Definition: 3d_actions.h:81
static TOOL_ACTION show2_5mmGrid
Definition: 3d_actions.h:72
static TOOL_ACTION show1mmGrid
Definition: 3d_actions.h:73
static TOOL_ACTION attributesTHT
Definition: 3d_actions.h:76
static TOOL_ACTION viewFront
Definition: 3d_actions.h:62
static TOOL_ACTION rotateYCCW
Definition: 3d_actions.h:50
TOOL_ACTION.
Definition: tool_action.h:46
static TOOL_ACTION postProcessing
Definition: 3d_actions.h:86
static TOOL_ACTION moveUp
Definition: 3d_actions.h:55
boost::optional< T > OPT
Definition: optional.h:7
static TOOL_ACTION noGrid
Definition: 3d_actions.h:69
ACTIONS.
Definition: actions.h:43
static TOOL_ACTION showReflections
Definition: 3d_actions.h:84
static TOOL_ACTION toggleOrtho
Definition: 3d_actions.h:60
static TOOL_ACTION renderShadows
Definition: 3d_actions.h:80
static TOOL_ACTION moveRight
Definition: 3d_actions.h:54
static TOOL_ACTION toggleBoardBody
Definition: 3d_actions.h:88