KiCad PCB EDA Suite
3d_enums.h File Reference

declared enumerations and flags More...

Go to the source code of this file.

Enumerations

enum class  ROTATION_DIR {
  X_CW , X_CCW , Y_CW , Y_CCW ,
  Z_CW , Z_CCW
}
 Rotation direction for the 3d canvas. More...
 
enum class  CAMERA_TYPE { TRACKBALL }
 Camera types. More...
 
enum class  GRID3D_TYPE {
  NONE = 0 , GRID_1MM = 1 , GRID_2P5MM = 2 , GRID_5MM = 3 ,
  GRID_10MM = 4
}
 Grid types. More...
 
enum class  RENDER_ENGINE { OPENGL = 0 , RAYTRACING = 1 }
 Render engine mode. More...
 
enum class  MATERIAL_MODE { NORMAL = 0 , DIFFUSE_ONLY = 1 , CAD_MODE = 2 }
 Render 3d model shape materials mode. More...
 

Detailed Description

declared enumerations and flags

Definition in file 3d_enums.h.

Enumeration Type Documentation

◆ CAMERA_TYPE

enum class CAMERA_TYPE
strong

Camera types.

Enumerator
TRACKBALL 

Definition at line 45 of file 3d_enums.h.

46{
48};

◆ GRID3D_TYPE

enum class GRID3D_TYPE
strong

Grid types.

Enumerator
NONE 
GRID_1MM 
GRID_2P5MM 
GRID_5MM 
GRID_10MM 

Definition at line 53 of file 3d_enums.h.

54{
55 NONE = 0,
56 GRID_1MM = 1,
57 GRID_2P5MM = 2,
58 GRID_5MM = 3,
59 GRID_10MM = 4
60};
@ NONE
Definition: kibis.h:53

◆ MATERIAL_MODE

enum class MATERIAL_MODE
strong

Render 3d model shape materials mode.

Enumerator
NORMAL 

Use all material properties from model file.

DIFFUSE_ONLY 

Use only diffuse material properties.

CAD_MODE 

Use a gray shading based on diffuse material.

Definition at line 70 of file 3d_enums.h.

71{
72 NORMAL = 0,
73 DIFFUSE_ONLY = 1,
74 CAD_MODE = 2
75};
@ NORMAL
Use all material properties from model file.
@ CAD_MODE
Use a gray shading based on diffuse material.
@ DIFFUSE_ONLY
Use only diffuse material properties.

◆ RENDER_ENGINE

enum class RENDER_ENGINE
strong

Render engine mode.

Enumerator
OPENGL 
RAYTRACING 

Definition at line 63 of file 3d_enums.h.

64{
65 OPENGL = 0,
66 RAYTRACING = 1,
67};

◆ ROTATION_DIR

enum class ROTATION_DIR
strong

Rotation direction for the 3d canvas.

Enumerator
X_CW 
X_CCW 
Y_CW 
Y_CCW 
Z_CW 
Z_CCW 

Definition at line 34 of file 3d_enums.h.