KiCad PCB EDA Suite
Loading...
Searching...
No Matches
wrltypes.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) 2015 Cirilo Bernardo <[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
31#ifndef WRLTYPES_H
32#define WRLTYPES_H
33
34#include <wx/defs.h>
35
36#define GLM_FORCE_RADIANS
37#include <glm/glm.hpp>
38
39// Mask for VRML tracing.
40extern const wxChar* const traceVrmlPlugin;
41
42// version of the VRML file being parsed
43enum class WRLVERSION
44{
45 VRML_INVALID = 0, // not a valid VRML file
48};
49
50
51// VRML1 Node Types
52// These are used to look up node names and to quickly
53// determine what routine to invoke to read a section of
54// a file.
97
98// VRML1 Material/Normal Binding values
99// note: PART/FACE have the same meaning in the specification
112
119
120// VRML2 Node Types
121// These are used to look up node names and to quickly
122// determine what routine to invoke to read a section of
123// a file.
185
186
187typedef glm::vec2 WRLVEC2F;
188typedef glm::vec3 WRLVEC3F;
189typedef glm::vec4 WRLROTATION;
190
191#endif // WRLTYPES_H
const wxChar *const traceVrmlPlugin
Flag to enable VRML plugin trace output.
Definition vrml.cpp:63
WRLVERSION
Definition wrltypes.h:44
@ VRML_INVALID
Definition wrltypes.h:45
WRL2NODES
Definition wrltypes.h:125
@ WRL2_CYLINDERSENSOR
Definition wrltypes.h:141
@ WRL2_TRANSFORM
Definition wrltypes.h:178
@ WRL2_POSITIONINTERPOLATOR
Definition wrltypes.h:163
@ WRL2_SPOTLIGHT
Definition wrltypes.h:171
@ WRL2_SCALARINTERPOLATOR
Definition wrltypes.h:165
@ WRL2_ORIENTATIONINTERPOLATOR
Definition wrltypes.h:158
@ WRL2_COLLISION
Definition wrltypes.h:134
@ WRL2_SPHERESENSOR
Definition wrltypes.h:170
@ WRL2_NAVIGATIONINFO
Definition wrltypes.h:155
@ WRL2_INDEXEDFACESET
Definition wrltypes.h:149
@ WRL2_INDEXEDLINESET
Definition wrltypes.h:150
@ WRL2_PLANESENSOR
Definition wrltypes.h:160
@ WRL2_INLINE
Definition wrltypes.h:151
@ WRL2_TOUCHSENSOR
Definition wrltypes.h:177
@ WRL2_MOVIETEXTURE
Definition wrltypes.h:154
@ WRL2_TIMESENSOR
Definition wrltypes.h:176
@ WRL2_DIRECTIONALLIGHT
Definition wrltypes.h:142
@ WRL2_BACKGROUND
Definition wrltypes.h:131
@ WRL2_COLORINTERPOLATOR
Definition wrltypes.h:136
@ WRL2_POINTLIGHT
Definition wrltypes.h:161
@ WRL2_PROXIMITYSENSOR
Definition wrltypes.h:164
@ WRL2_ELEVATIONGRID
Definition wrltypes.h:143
@ WRL2_TEXTURETRANSFORM
Definition wrltypes.h:175
@ WRL2_AUDIOCLIP
Definition wrltypes.h:130
@ WRL2_PIXELTEXTURE
Definition wrltypes.h:159
@ WRL2_BILLBOARD
Definition wrltypes.h:132
@ WRL2_COORDINATE
Definition wrltypes.h:138
@ WRL2_WORLDINFO
Definition wrltypes.h:181
@ WRL2_NORMALINTERPOLATOR
Definition wrltypes.h:157
@ WRL2_MATERIAL
Definition wrltypes.h:153
@ WRL2_NORMAL
Definition wrltypes.h:156
@ WRL2_COORDINATEINTERPOLATOR
Definition wrltypes.h:139
@ WRL2_FONTSTYLE
Definition wrltypes.h:146
@ WRL2_SWITCH
Definition wrltypes.h:172
@ WRL2_VIEWPOINT
Definition wrltypes.h:179
@ WRL2_IMAGETEXTURE
Definition wrltypes.h:148
@ WRL2_CYLINDER
Definition wrltypes.h:140
@ WRL2_SCRIPT
Definition wrltypes.h:166
@ WRL2_EXTRUSION
Definition wrltypes.h:144
@ WRL2_VISIBILITYSENSOR
Definition wrltypes.h:180
@ WRL2_INVALID
Definition wrltypes.h:182
@ WRL2_POINTSET
Definition wrltypes.h:162
@ WRL2_SPHERE
Definition wrltypes.h:169
@ WRL2_ANCHOR
Definition wrltypes.h:128
@ WRL2_APPEARANCE
Definition wrltypes.h:129
@ WRL2_TEXTURECOORDINATE
Definition wrltypes.h:174
WRL1NODES
Definition wrltypes.h:56
@ WRL1_INFO
Definition wrltypes.h:69
@ WRL1_NORMALBINDING
Definition wrltypes.h:75
@ WRL1_ASCIITEXT
Definition wrltypes.h:59
@ WRL1_FONTSTYLE
Definition wrltypes.h:65
@ WRL1_SEPARATOR
Definition wrltypes.h:82
@ WRL1_INDEXEDFACESET
Definition wrltypes.h:67
@ WRL1_PERSPECTIVECAMERA
Definition wrltypes.h:77
@ WRL1_DIRECTIONALLIGHT
Definition wrltypes.h:64
@ WRL1_WWWANCHOR
Definition wrltypes.h:92
@ WRL1_COORDINATE3
Definition wrltypes.h:61
@ WRL1_TRANSLATION
Definition wrltypes.h:91
@ WRL1_GROUP
Definition wrltypes.h:66
@ WRL1_BASE
Definition wrltypes.h:57
@ WRL1_TRANSFORM
Definition wrltypes.h:90
@ WRL1_BEGIN
Definition wrltypes.h:58
@ WRL1_MATERIALBINDING
Definition wrltypes.h:72
@ WRL1_INDEXEDLINESET
Definition wrltypes.h:68
@ WRL1_MATRIXTRANSFORM
Definition wrltypes.h:73
@ WRL1_MATERIAL
Definition wrltypes.h:71
@ WRL1_SPOTLIGHT
Definition wrltypes.h:85
@ WRL1_CONE
Definition wrltypes.h:60
@ WRL1_INVALID
Definition wrltypes.h:94
@ WRL1_POINTSET
Definition wrltypes.h:79
@ WRL1_NORMAL
Definition wrltypes.h:74
@ WRL1_TEXTURE2
Definition wrltypes.h:87
@ WRL1_ORTHOCAMERA
Definition wrltypes.h:76
@ WRL1_WWWINLINE
Definition wrltypes.h:93
@ WRL1_TEXTURECOORDINATE2
Definition wrltypes.h:89
@ WRL1_SHAPEHINTS
Definition wrltypes.h:83
@ WRL1_TEXTURE2TRANSFORM
Definition wrltypes.h:88
@ WRL1_CYLINDER
Definition wrltypes.h:63
@ WRL1_SWITCH
Definition wrltypes.h:86
@ WRL1_CUBE
Definition wrltypes.h:62
@ WRL1_POINTLIGHT
Definition wrltypes.h:78
@ WRL1_SPHERE
Definition wrltypes.h:84
@ WRL1_ROTATION
Definition wrltypes.h:80
@ WRL1_SCALE
Definition wrltypes.h:81
glm::vec4 WRLROTATION
Definition wrltypes.h:189
glm::vec2 WRLVEC2F
Definition wrltypes.h:187
WRL1_ORDER
Definition wrltypes.h:114
@ ORD_CLOCKWISE
Definition wrltypes.h:116
WRL1_BINDING
Definition wrltypes.h:101
@ BIND_PER_PART_INDEXED
Definition wrltypes.h:106
@ BIND_PER_VERTEX_INDEXED
Definition wrltypes.h:109
@ BIND_PER_FACE_INDEXED
Definition wrltypes.h:107
glm::vec3 WRLVEC3F
Definition wrltypes.h:188