KiCad PCB EDA Suite
wrltypes.h File Reference

declares some compound types used for VRML More...

#include <glm/glm.hpp>

Go to the source code of this file.

Macros

#define GLM_FORCE_RADIANS
 
#define MASK_VRML   "PLUGIN_VRML"
 

Typedefs

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

Enumerations

enum  WRLVERSION { VRML_INVALID = 0, VRML_V1, VRML_V2 }
 
enum  WRL1NODES {
  WRL1_BASE = 0, WRL1_BEGIN, WRL1_ASCIITEXT = WRL1_BEGIN, 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 = WRL1_INVALID
}
 
enum  WRL1_BINDING {
  BIND_DEFAULT = 0, BIND_OVERALL, BIND_PER_PART, BIND_PER_FACE = BIND_PER_PART,
  BIND_PER_PART_INDEXED, BIND_PER_FACE_INDEXED = BIND_PER_PART_INDEXED, BIND_PER_VERTEX, BIND_PER_VERTEX_INDEXED,
  BIND_END
}
 
enum  WRL1_ORDER { ORD_UNKNOWN = 0, ORD_CLOCKWISE, ORD_CCW }
 
enum  WRL2NODES {
  WRL2_BASE = 0, WRL2_BEGIN, WRL2_ANCHOR = WRL2_BEGIN, 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 = WRL2_INVALID
}
 

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 33 of file wrltypes.h.

◆ MASK_VRML

#define MASK_VRML   "PLUGIN_VRML"

Definition at line 37 of file wrltypes.h.

Typedef Documentation

◆ WRLROTATION

typedef glm::vec4 WRLROTATION

Definition at line 186 of file wrltypes.h.

◆ WRLVEC2F

typedef glm::vec2 WRLVEC2F

Definition at line 184 of file wrltypes.h.

◆ WRLVEC3F

typedef glm::vec3 WRLVEC3F

Definition at line 185 of file wrltypes.h.

Enumeration Type Documentation

◆ WRL1_BINDING

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 97 of file wrltypes.h.

◆ WRL1_ORDER

enum WRL1_ORDER
Enumerator
ORD_UNKNOWN 
ORD_CLOCKWISE 
ORD_CCW 

Definition at line 110 of file wrltypes.h.

111 {
112  ORD_UNKNOWN = 0,
114  ORD_CCW
115 };

◆ WRL1NODES

enum WRL1NODES
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 52 of file wrltypes.h.

53 {
54  WRL1_BASE = 0, // not really a VRML node but we need a top level virtual node
55  WRL1_BEGIN,
57  WRL1_CONE,
59  WRL1_CUBE,
63  WRL1_GROUP,
66  WRL1_INFO,
67  WRL1_LOD,
78  WRL1_SCALE,
93 };

◆ WRL2NODES

enum WRL2NODES
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 121 of file wrltypes.h.

122 {
123  WRL2_BASE = 0, // not really a VRML node but we need a top level virtual node
124  WRL2_BEGIN,
130  WRL2_BOX,
132  WRL2_COLOR,
134  WRL2_CONE,
142  WRL2_FOG,
144  WRL2_GROUP,
148  WRL2_INLINE,
149  WRL2_LOD,
153  WRL2_NORMAL,
163  WRL2_SCRIPT,
164  WRL2_SHAPE,
165  WRL2_SOUND,
166  WRL2_SPHERE,
169  WRL2_SWITCH,
170  WRL2_TEXT,
179  WRL2_INVALID,
181 };

◆ WRLVERSION

enum WRLVERSION
Enumerator
VRML_INVALID 
VRML_V1 
VRML_V2 

Definition at line 40 of file wrltypes.h.

41 {
42  VRML_INVALID = 0, // not a valid VRML file
43  VRML_V1,
44  VRML_V2
45 };