KiCad PCB EDA Suite
wrltypes.h File Reference

declares some compound types used for VRML More...

#include <wx/defs.h>
#include <glm/glm.hpp>

Go to the source code of this file.

Macros

#define GLM_FORCE_RADIANS
 

Typedefs

typedef glm::vec2 WRLVEC2F
 
typedef glm::vec3 WRLVEC3F
 
typedef glm::vec4 WRLROTATION
 

Enumerations

enum  WRLVERSION { WRLVERSION::VRML_INVALID = 0, WRLVERSION::VRML_V1, WRLVERSION::VRML_V2 }
 
enum  WRL1NODES {
  WRL1NODES::WRL1_BASE = 0, WRL1NODES::WRL1_BEGIN, WRL1NODES::WRL1_ASCIITEXT = WRL1_BEGIN, WRL1NODES::WRL1_CONE,
  WRL1NODES::WRL1_COORDINATE3, WRL1NODES::WRL1_CUBE, WRL1NODES::WRL1_CYLINDER, WRL1NODES::WRL1_DIRECTIONALLIGHT,
  WRL1NODES::WRL1_FONTSTYLE, WRL1NODES::WRL1_GROUP, WRL1NODES::WRL1_INDEXEDFACESET, WRL1NODES::WRL1_INDEXEDLINESET,
  WRL1NODES::WRL1_INFO, WRL1NODES::WRL1_LOD, WRL1NODES::WRL1_MATERIAL, WRL1NODES::WRL1_MATERIALBINDING,
  WRL1NODES::WRL1_MATRIXTRANSFORM, WRL1NODES::WRL1_NORMAL, WRL1NODES::WRL1_NORMALBINDING, WRL1NODES::WRL1_ORTHOCAMERA,
  WRL1NODES::WRL1_PERSPECTIVECAMERA, WRL1NODES::WRL1_POINTLIGHT, WRL1NODES::WRL1_POINTSET, WRL1NODES::WRL1_ROTATION,
  WRL1NODES::WRL1_SCALE, WRL1NODES::WRL1_SEPARATOR, WRL1NODES::WRL1_SHAPEHINTS, WRL1NODES::WRL1_SPHERE,
  WRL1NODES::WRL1_SPOTLIGHT, WRL1NODES::WRL1_SWITCH, WRL1NODES::WRL1_TEXTURE2, WRL1NODES::WRL1_TEXTURE2TRANSFORM,
  WRL1NODES::WRL1_TEXTURECOORDINATE2, WRL1NODES::WRL1_TRANSFORM, WRL1NODES::WRL1_TRANSLATION, WRL1NODES::WRL1_WWWANCHOR,
  WRL1NODES::WRL1_WWWINLINE, WRL1NODES::WRL1_INVALID, WRL1NODES::WRL1_END = WRL1_INVALID
}
 
enum  WRL1_BINDING {
  WRL1_BINDING::BIND_DEFAULT = 0, WRL1_BINDING::BIND_OVERALL, WRL1_BINDING::BIND_PER_PART, WRL1_BINDING::BIND_PER_FACE = BIND_PER_PART,
  WRL1_BINDING::BIND_PER_PART_INDEXED, WRL1_BINDING::BIND_PER_FACE_INDEXED = BIND_PER_PART_INDEXED, WRL1_BINDING::BIND_PER_VERTEX, WRL1_BINDING::BIND_PER_VERTEX_INDEXED,
  WRL1_BINDING::BIND_END
}
 
enum  WRL1_ORDER { WRL1_ORDER::ORD_UNKNOWN = 0, WRL1_ORDER::ORD_CLOCKWISE, WRL1_ORDER::ORD_CCW }
 
enum  WRL2NODES {
  WRL2NODES::WRL2_BASE = 0, WRL2NODES::WRL2_BEGIN, WRL2NODES::WRL2_ANCHOR = WRL2NODES::WRL2_BEGIN, WRL2NODES::WRL2_APPEARANCE,
  WRL2NODES::WRL2_AUDIOCLIP, WRL2NODES::WRL2_BACKGROUND, WRL2NODES::WRL2_BILLBOARD, WRL2NODES::WRL2_BOX,
  WRL2NODES::WRL2_COLLISION, WRL2NODES::WRL2_COLOR, WRL2NODES::WRL2_COLORINTERPOLATOR, WRL2NODES::WRL2_CONE,
  WRL2NODES::WRL2_COORDINATE, WRL2NODES::WRL2_COORDINATEINTERPOLATOR, WRL2NODES::WRL2_CYLINDER, WRL2NODES::WRL2_CYLINDERSENSOR,
  WRL2NODES::WRL2_DIRECTIONALLIGHT, WRL2NODES::WRL2_ELEVATIONGRID, WRL2NODES::WRL2_EXTRUSION, WRL2NODES::WRL2_FOG,
  WRL2NODES::WRL2_FONTSTYLE, WRL2NODES::WRL2_GROUP, WRL2NODES::WRL2_IMAGETEXTURE, WRL2NODES::WRL2_INDEXEDFACESET,
  WRL2NODES::WRL2_INDEXEDLINESET, WRL2NODES::WRL2_INLINE, WRL2NODES::WRL2_LOD, WRL2NODES::WRL2_MATERIAL,
  WRL2NODES::WRL2_MOVIETEXTURE, WRL2NODES::WRL2_NAVIGATIONINFO, WRL2NODES::WRL2_NORMAL, WRL2NODES::WRL2_NORMALINTERPOLATOR,
  WRL2NODES::WRL2_ORIENTATIONINTERPOLATOR, WRL2NODES::WRL2_PIXELTEXTURE, WRL2NODES::WRL2_PLANESENSOR, WRL2NODES::WRL2_POINTLIGHT,
  WRL2NODES::WRL2_POINTSET, WRL2NODES::WRL2_POSITIONINTERPOLATOR, WRL2NODES::WRL2_PROXIMITYSENSOR, WRL2NODES::WRL2_SCALARINTERPOLATOR,
  WRL2NODES::WRL2_SCRIPT, WRL2NODES::WRL2_SHAPE, WRL2NODES::WRL2_SOUND, WRL2NODES::WRL2_SPHERE,
  WRL2NODES::WRL2_SPHERESENSOR, WRL2NODES::WRL2_SPOTLIGHT, WRL2NODES::WRL2_SWITCH, WRL2NODES::WRL2_TEXT,
  WRL2NODES::WRL2_TEXTURECOORDINATE, WRL2NODES::WRL2_TEXTURETRANSFORM, WRL2NODES::WRL2_TIMESENSOR, WRL2NODES::WRL2_TOUCHSENSOR,
  WRL2NODES::WRL2_TRANSFORM, WRL2NODES::WRL2_VIEWPOINT, WRL2NODES::WRL2_VISIBILITYSENSOR, WRL2NODES::WRL2_WORLDINFO,
  WRL2NODES::WRL2_INVALID, WRL2NODES::WRL2_END = WRL2_INVALID
}
 

Variables

const wxChar *const traceVrmlPlugin
 Flag to enable VRML plugin trace output. More...
 

Detailed Description

declares some compound types used for VRML

Definition in file wrltypes.h.

Macro Definition Documentation

◆ GLM_FORCE_RADIANS

#define GLM_FORCE_RADIANS

Definition at line 36 of file wrltypes.h.

Typedef Documentation

◆ WRLROTATION

typedef glm::vec4 WRLROTATION

Definition at line 189 of file wrltypes.h.

◆ WRLVEC2F

typedef glm::vec2 WRLVEC2F

Definition at line 187 of file wrltypes.h.

◆ WRLVEC3F

typedef glm::vec3 WRLVEC3F

Definition at line 188 of file wrltypes.h.

Enumeration Type Documentation

◆ WRL1_BINDING

enum WRL1_BINDING
strong
Enumerator
BIND_DEFAULT 
BIND_OVERALL 
BIND_PER_PART 
BIND_PER_FACE 
BIND_PER_PART_INDEXED 
BIND_PER_FACE_INDEXED 
BIND_PER_VERTEX 
BIND_PER_VERTEX_INDEXED 
BIND_END 

Definition at line 100 of file wrltypes.h.

◆ WRL1_ORDER

enum WRL1_ORDER
strong
Enumerator
ORD_UNKNOWN 
ORD_CLOCKWISE 
ORD_CCW 

Definition at line 113 of file wrltypes.h.

◆ WRL1NODES

enum WRL1NODES
strong
Enumerator
WRL1_BASE 
WRL1_BEGIN 
WRL1_ASCIITEXT 
WRL1_CONE 
WRL1_COORDINATE3 
WRL1_CUBE 
WRL1_CYLINDER 
WRL1_DIRECTIONALLIGHT 
WRL1_FONTSTYLE 
WRL1_GROUP 
WRL1_INDEXEDFACESET 
WRL1_INDEXEDLINESET 
WRL1_INFO 
WRL1_LOD 
WRL1_MATERIAL 
WRL1_MATERIALBINDING 
WRL1_MATRIXTRANSFORM 
WRL1_NORMAL 
WRL1_NORMALBINDING 
WRL1_ORTHOCAMERA 
WRL1_PERSPECTIVECAMERA 
WRL1_POINTLIGHT 
WRL1_POINTSET 
WRL1_ROTATION 
WRL1_SCALE 
WRL1_SEPARATOR 
WRL1_SHAPEHINTS 
WRL1_SPHERE 
WRL1_SPOTLIGHT 
WRL1_SWITCH 
WRL1_TEXTURE2 
WRL1_TEXTURE2TRANSFORM 
WRL1_TEXTURECOORDINATE2 
WRL1_TRANSFORM 
WRL1_TRANSLATION 
WRL1_WWWANCHOR 
WRL1_WWWINLINE 
WRL1_INVALID 
WRL1_END 

Definition at line 55 of file wrltypes.h.

56 {
57  WRL1_BASE = 0, // not really a VRML node but we need a top level virtual node
58  WRL1_BEGIN,
60  WRL1_CONE,
62  WRL1_CUBE,
66  WRL1_GROUP,
69  WRL1_INFO,
70  WRL1_LOD,
81  WRL1_SCALE,
96 };

◆ WRL2NODES

enum WRL2NODES
strong
Enumerator
WRL2_BASE 
WRL2_BEGIN 
WRL2_ANCHOR 
WRL2_APPEARANCE 
WRL2_AUDIOCLIP 
WRL2_BACKGROUND 
WRL2_BILLBOARD 
WRL2_BOX 
WRL2_COLLISION 
WRL2_COLOR 
WRL2_COLORINTERPOLATOR 
WRL2_CONE 
WRL2_COORDINATE 
WRL2_COORDINATEINTERPOLATOR 
WRL2_CYLINDER 
WRL2_CYLINDERSENSOR 
WRL2_DIRECTIONALLIGHT 
WRL2_ELEVATIONGRID 
WRL2_EXTRUSION 
WRL2_FOG 
WRL2_FONTSTYLE 
WRL2_GROUP 
WRL2_IMAGETEXTURE 
WRL2_INDEXEDFACESET 
WRL2_INDEXEDLINESET 
WRL2_INLINE 
WRL2_LOD 
WRL2_MATERIAL 
WRL2_MOVIETEXTURE 
WRL2_NAVIGATIONINFO 
WRL2_NORMAL 
WRL2_NORMALINTERPOLATOR 
WRL2_ORIENTATIONINTERPOLATOR 
WRL2_PIXELTEXTURE 
WRL2_PLANESENSOR 
WRL2_POINTLIGHT 
WRL2_POINTSET 
WRL2_POSITIONINTERPOLATOR 
WRL2_PROXIMITYSENSOR 
WRL2_SCALARINTERPOLATOR 
WRL2_SCRIPT 
WRL2_SHAPE 
WRL2_SOUND 
WRL2_SPHERE 
WRL2_SPHERESENSOR 
WRL2_SPOTLIGHT 
WRL2_SWITCH 
WRL2_TEXT 
WRL2_TEXTURECOORDINATE 
WRL2_TEXTURETRANSFORM 
WRL2_TIMESENSOR 
WRL2_TOUCHSENSOR 
WRL2_TRANSFORM 
WRL2_VIEWPOINT 
WRL2_VISIBILITYSENSOR 
WRL2_WORLDINFO 
WRL2_INVALID 
WRL2_END 

Definition at line 124 of file wrltypes.h.

125 {
126  WRL2_BASE = 0, // not really a VRML node but we need a top level virtual node
127  WRL2_BEGIN,
133  WRL2_BOX,
135  WRL2_COLOR,
137  WRL2_CONE,
145  WRL2_FOG,
147  WRL2_GROUP,
151  WRL2_INLINE,
152  WRL2_LOD,
156  WRL2_NORMAL,
166  WRL2_SCRIPT,
167  WRL2_SHAPE,
168  WRL2_SOUND,
169  WRL2_SPHERE,
172  WRL2_SWITCH,
173  WRL2_TEXT,
182  WRL2_INVALID,
184 };

◆ WRLVERSION

enum WRLVERSION
strong
Enumerator
VRML_INVALID 
VRML_V1 
VRML_V2 

Definition at line 43 of file wrltypes.h.

44 {
45  VRML_INVALID = 0, // not a valid VRML file
46  VRML_V1,
47  VRML_V2
48 };