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 class  WRLVERSION { VRML_INVALID = 0 , VRML_V1 , VRML_V2 }
 
enum class  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 class  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 class  WRL1_ORDER { ORD_UNKNOWN = 0 , ORD_CLOCKWISE , ORD_CCW }
 
enum class  WRL2NODES {
  WRL2_BASE = 0 , WRL2_BEGIN , WRL2_ANCHOR = WRL2NODES::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
}
 

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 class 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 class WRL1_ORDER
strong
Enumerator
ORD_UNKNOWN 
ORD_CLOCKWISE 
ORD_CCW 

Definition at line 113 of file wrltypes.h.

114{
115 ORD_UNKNOWN = 0,
117 ORD_CCW
118};

◆ WRL1NODES

enum class 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
96};
@ WRL1_NORMALBINDING
@ WRL1_INDEXEDFACESET
@ WRL1_PERSPECTIVECAMERA
@ WRL1_DIRECTIONALLIGHT
@ WRL1_COORDINATE3
@ WRL1_TRANSLATION
@ WRL1_MATERIALBINDING
@ WRL1_INDEXEDLINESET
@ WRL1_MATRIXTRANSFORM
@ WRL1_ORTHOCAMERA
@ WRL1_TEXTURECOORDINATE2
@ WRL1_TEXTURE2TRANSFORM

◆ WRL2NODES

enum class 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
133 WRL2_BOX,
137 WRL2_CONE,
145 WRL2_FOG,
152 WRL2_LOD,
173 WRL2_TEXT,
184};
@ WRL2_CYLINDERSENSOR
@ WRL2_POSITIONINTERPOLATOR
@ WRL2_SCALARINTERPOLATOR
@ WRL2_ORIENTATIONINTERPOLATOR
@ WRL2_SPHERESENSOR
@ WRL2_NAVIGATIONINFO
@ WRL2_INDEXEDFACESET
@ WRL2_INDEXEDLINESET
@ WRL2_PLANESENSOR
@ WRL2_TOUCHSENSOR
@ WRL2_MOVIETEXTURE
@ WRL2_DIRECTIONALLIGHT
@ WRL2_COLORINTERPOLATOR
@ WRL2_PROXIMITYSENSOR
@ WRL2_ELEVATIONGRID
@ WRL2_TEXTURETRANSFORM
@ WRL2_PIXELTEXTURE
@ WRL2_NORMALINTERPOLATOR
@ WRL2_COORDINATEINTERPOLATOR
@ WRL2_IMAGETEXTURE
@ WRL2_VISIBILITYSENSOR
@ WRL2_TEXTURECOORDINATE

◆ WRLVERSION

enum class 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,
48};