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, see <https://www.gnu.org/licenses/>.
19 */
20
25
26
27#ifndef WRLTYPES_H
28#define WRLTYPES_H
29
30#include <wx/defs.h>
31
32#define GLM_FORCE_RADIANS
33#include <glm/glm.hpp>
34
35// Mask for VRML tracing.
36extern const wxChar* const traceVrmlPlugin;
37
38// version of the VRML file being parsed
39enum class WRLVERSION
40{
41 VRML_INVALID = 0, // not a valid VRML file
44};
45
46
47// VRML1 Node Types
48// These are used to look up node names and to quickly
49// determine what routine to invoke to read a section of
50// a file.
93
94// VRML1 Material/Normal Binding values
95// note: PART/FACE have the same meaning in the specification
108
115
116// VRML2 Node Types
117// These are used to look up node names and to quickly
118// determine what routine to invoke to read a section of
119// a file.
181
182
183typedef glm::vec2 WRLVEC2F;
184typedef glm::vec3 WRLVEC3F;
185typedef glm::vec4 WRLROTATION;
186
187#endif // WRLTYPES_H
const wxChar *const traceVrmlPlugin
Flag to enable VRML plugin trace output.
Definition vrml.cpp:59
WRLVERSION
Definition wrltypes.h:40
@ VRML_INVALID
Definition wrltypes.h:41
WRL2NODES
Definition wrltypes.h:121
@ WRL2_CYLINDERSENSOR
Definition wrltypes.h:137
@ WRL2_TRANSFORM
Definition wrltypes.h:174
@ WRL2_POSITIONINTERPOLATOR
Definition wrltypes.h:159
@ WRL2_SPOTLIGHT
Definition wrltypes.h:167
@ WRL2_SCALARINTERPOLATOR
Definition wrltypes.h:161
@ WRL2_ORIENTATIONINTERPOLATOR
Definition wrltypes.h:154
@ WRL2_COLLISION
Definition wrltypes.h:130
@ WRL2_SPHERESENSOR
Definition wrltypes.h:166
@ WRL2_NAVIGATIONINFO
Definition wrltypes.h:151
@ WRL2_INDEXEDFACESET
Definition wrltypes.h:145
@ WRL2_INDEXEDLINESET
Definition wrltypes.h:146
@ WRL2_PLANESENSOR
Definition wrltypes.h:156
@ WRL2_INLINE
Definition wrltypes.h:147
@ WRL2_TOUCHSENSOR
Definition wrltypes.h:173
@ WRL2_MOVIETEXTURE
Definition wrltypes.h:150
@ WRL2_TIMESENSOR
Definition wrltypes.h:172
@ WRL2_DIRECTIONALLIGHT
Definition wrltypes.h:138
@ WRL2_BACKGROUND
Definition wrltypes.h:127
@ WRL2_COLORINTERPOLATOR
Definition wrltypes.h:132
@ WRL2_POINTLIGHT
Definition wrltypes.h:157
@ WRL2_PROXIMITYSENSOR
Definition wrltypes.h:160
@ WRL2_ELEVATIONGRID
Definition wrltypes.h:139
@ WRL2_TEXTURETRANSFORM
Definition wrltypes.h:171
@ WRL2_AUDIOCLIP
Definition wrltypes.h:126
@ WRL2_PIXELTEXTURE
Definition wrltypes.h:155
@ WRL2_BILLBOARD
Definition wrltypes.h:128
@ WRL2_COORDINATE
Definition wrltypes.h:134
@ WRL2_WORLDINFO
Definition wrltypes.h:177
@ WRL2_NORMALINTERPOLATOR
Definition wrltypes.h:153
@ WRL2_MATERIAL
Definition wrltypes.h:149
@ WRL2_NORMAL
Definition wrltypes.h:152
@ WRL2_COORDINATEINTERPOLATOR
Definition wrltypes.h:135
@ WRL2_FONTSTYLE
Definition wrltypes.h:142
@ WRL2_SWITCH
Definition wrltypes.h:168
@ WRL2_VIEWPOINT
Definition wrltypes.h:175
@ WRL2_IMAGETEXTURE
Definition wrltypes.h:144
@ WRL2_CYLINDER
Definition wrltypes.h:136
@ WRL2_SCRIPT
Definition wrltypes.h:162
@ WRL2_EXTRUSION
Definition wrltypes.h:140
@ WRL2_VISIBILITYSENSOR
Definition wrltypes.h:176
@ WRL2_INVALID
Definition wrltypes.h:178
@ WRL2_POINTSET
Definition wrltypes.h:158
@ WRL2_SPHERE
Definition wrltypes.h:165
@ WRL2_ANCHOR
Definition wrltypes.h:124
@ WRL2_APPEARANCE
Definition wrltypes.h:125
@ WRL2_TEXTURECOORDINATE
Definition wrltypes.h:170
WRL1NODES
Definition wrltypes.h:52
@ WRL1_INFO
Definition wrltypes.h:65
@ WRL1_NORMALBINDING
Definition wrltypes.h:71
@ WRL1_ASCIITEXT
Definition wrltypes.h:55
@ WRL1_FONTSTYLE
Definition wrltypes.h:61
@ WRL1_SEPARATOR
Definition wrltypes.h:78
@ WRL1_INDEXEDFACESET
Definition wrltypes.h:63
@ WRL1_PERSPECTIVECAMERA
Definition wrltypes.h:73
@ WRL1_DIRECTIONALLIGHT
Definition wrltypes.h:60
@ WRL1_WWWANCHOR
Definition wrltypes.h:88
@ WRL1_COORDINATE3
Definition wrltypes.h:57
@ WRL1_TRANSLATION
Definition wrltypes.h:87
@ WRL1_GROUP
Definition wrltypes.h:62
@ WRL1_BASE
Definition wrltypes.h:53
@ WRL1_TRANSFORM
Definition wrltypes.h:86
@ WRL1_BEGIN
Definition wrltypes.h:54
@ WRL1_MATERIALBINDING
Definition wrltypes.h:68
@ WRL1_INDEXEDLINESET
Definition wrltypes.h:64
@ WRL1_MATRIXTRANSFORM
Definition wrltypes.h:69
@ WRL1_MATERIAL
Definition wrltypes.h:67
@ WRL1_SPOTLIGHT
Definition wrltypes.h:81
@ WRL1_CONE
Definition wrltypes.h:56
@ WRL1_INVALID
Definition wrltypes.h:90
@ WRL1_POINTSET
Definition wrltypes.h:75
@ WRL1_NORMAL
Definition wrltypes.h:70
@ WRL1_TEXTURE2
Definition wrltypes.h:83
@ WRL1_ORTHOCAMERA
Definition wrltypes.h:72
@ WRL1_WWWINLINE
Definition wrltypes.h:89
@ WRL1_TEXTURECOORDINATE2
Definition wrltypes.h:85
@ WRL1_SHAPEHINTS
Definition wrltypes.h:79
@ WRL1_TEXTURE2TRANSFORM
Definition wrltypes.h:84
@ WRL1_CYLINDER
Definition wrltypes.h:59
@ WRL1_SWITCH
Definition wrltypes.h:82
@ WRL1_CUBE
Definition wrltypes.h:58
@ WRL1_POINTLIGHT
Definition wrltypes.h:74
@ WRL1_SPHERE
Definition wrltypes.h:80
@ WRL1_ROTATION
Definition wrltypes.h:76
@ WRL1_SCALE
Definition wrltypes.h:77
glm::vec4 WRLROTATION
Definition wrltypes.h:185
glm::vec2 WRLVEC2F
Definition wrltypes.h:183
WRL1_ORDER
Definition wrltypes.h:110
@ ORD_CLOCKWISE
Definition wrltypes.h:112
WRL1_BINDING
Definition wrltypes.h:97
@ BIND_PER_PART_INDEXED
Definition wrltypes.h:102
@ BIND_PER_VERTEX_INDEXED
Definition wrltypes.h:105
@ BIND_PER_FACE_INDEXED
Definition wrltypes.h:103
glm::vec3 WRLVEC3F
Definition wrltypes.h:184