KiCad PCB EDA Suite
3d_enums.h File Reference

declared enumerations and flags More...

Go to the source code of this file.

Enumerations

enum  DISPLAY3D_FLG {
  FL_AXIS = 0, FL_ZONE, FL_ADHESIVE, FL_SILKSCREEN,
  FL_SOLDERMASK, FL_SOLDERPASTE, FL_COMMENTS, FL_ECO,
  FL_MODULE_ATTRIBUTES_NORMAL, FL_MODULE_ATTRIBUTES_NORMAL_INSERT, FL_MODULE_ATTRIBUTES_VIRTUAL, FL_USE_SELECTION,
  FL_SHOW_BOARD_BODY, FL_MOUSEWHEEL_PANNING, FL_USE_REALISTIC_MODE, FL_SUBTRACT_MASK_FROM_SILK,
  FL_CLIP_SILK_ON_VIA_ANNULUS, FL_RENDER_PLATED_PADS_AS_PLATED, FL_RENDER_OPENGL_SHOW_MODEL_BBOX, FL_RENDER_OPENGL_COPPER_THICKNESS,
  FL_RENDER_OPENGL_AA_DISABLE_ON_MOVE, FL_RENDER_OPENGL_THICKNESS_DISABLE_ON_MOVE, FL_RENDER_OPENGL_VIAS_DISABLE_ON_MOVE, FL_RENDER_OPENGL_HOLES_DISABLE_ON_MOVE,
  FL_RENDER_RAYTRACING_SHADOWS, FL_RENDER_RAYTRACING_BACKFLOOR, FL_RENDER_RAYTRACING_REFRACTIONS, FL_RENDER_RAYTRACING_REFLECTIONS,
  FL_RENDER_RAYTRACING_POST_PROCESSING, FL_RENDER_RAYTRACING_ANTI_ALIASING, FL_RENDER_RAYTRACING_PROCEDURAL_TEXTURES, FL_LAST
}
 Flags used in rendering options. More...
 
enum  ROTATION_DIR {
  ROTATION_DIR::X_NEG, ROTATION_DIR::X_POS, ROTATION_DIR::Y_NEG, ROTATION_DIR::Y_POS,
  ROTATION_DIR::Z_NEG, ROTATION_DIR::Z_POS
}
 Rotation direction for the 3d canvas. More...
 
enum  CAMERA_TYPE { CAMERA_TYPE::TRACKBALL }
 Camera types. More...
 
enum  GRID3D_TYPE {
  GRID3D_TYPE::NONE, GRID3D_TYPE::GRID_1MM, GRID3D_TYPE::GRID_2P5MM, GRID3D_TYPE::GRID_5MM,
  GRID3D_TYPE::GRID_10MM
}
 Grid types. More...
 
enum  RENDER_ENGINE { RENDER_ENGINE::OPENGL_LEGACY, RENDER_ENGINE::RAYTRACING }
 Render engine mode. More...
 
enum  MATERIAL_MODE { MATERIAL_MODE::NORMAL, MATERIAL_MODE::DIFFUSE_ONLY, MATERIAL_MODE::CAD_MODE }
 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 CAMERA_TYPE
strong

Camera types.

Enumerator
TRACKBALL 

Definition at line 91 of file 3d_enums.h.

◆ DISPLAY3D_FLG

Flags used in rendering options.

Enumerator
FL_AXIS 
FL_ZONE 
FL_ADHESIVE 
FL_SILKSCREEN 
FL_SOLDERMASK 
FL_SOLDERPASTE 
FL_COMMENTS 
FL_ECO 
FL_MODULE_ATTRIBUTES_NORMAL 
FL_MODULE_ATTRIBUTES_NORMAL_INSERT 
FL_MODULE_ATTRIBUTES_VIRTUAL 
FL_USE_SELECTION 
FL_SHOW_BOARD_BODY 
FL_MOUSEWHEEL_PANNING 
FL_USE_REALISTIC_MODE 
FL_SUBTRACT_MASK_FROM_SILK 
FL_CLIP_SILK_ON_VIA_ANNULUS 
FL_RENDER_PLATED_PADS_AS_PLATED 
FL_RENDER_OPENGL_SHOW_MODEL_BBOX 
FL_RENDER_OPENGL_COPPER_THICKNESS 
FL_RENDER_OPENGL_AA_DISABLE_ON_MOVE 
FL_RENDER_OPENGL_THICKNESS_DISABLE_ON_MOVE 
FL_RENDER_OPENGL_VIAS_DISABLE_ON_MOVE 
FL_RENDER_OPENGL_HOLES_DISABLE_ON_MOVE 
FL_RENDER_RAYTRACING_SHADOWS 
FL_RENDER_RAYTRACING_BACKFLOOR 
FL_RENDER_RAYTRACING_REFRACTIONS 
FL_RENDER_RAYTRACING_REFLECTIONS 
FL_RENDER_RAYTRACING_POST_PROCESSING 
FL_RENDER_RAYTRACING_ANTI_ALIASING 
FL_RENDER_RAYTRACING_PROCEDURAL_TEXTURES 
FL_LAST 

Definition at line 34 of file 3d_enums.h.

35 {
36  FL_AXIS = 0,
37  FL_ZONE,
43  FL_ECO,
44 
48 
50 
57 
58  // OpenGL options
65 
66  // Raytracing options
74  FL_LAST
75 };

◆ GRID3D_TYPE

enum GRID3D_TYPE
strong

Grid types.

Enumerator
NONE 
GRID_1MM 
GRID_2P5MM 
GRID_5MM 
GRID_10MM 

Definition at line 98 of file 3d_enums.h.

◆ MATERIAL_MODE

enum 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 117 of file 3d_enums.h.

118 {
119  NORMAL,
120  DIFFUSE_ONLY,
121  CAD_MODE
122 };
Use a gray shading based on diffuse material.
Use only diffuse material properties.
Use all material properties from model file.

◆ RENDER_ENGINE

enum RENDER_ENGINE
strong

Render engine mode.

Enumerator
OPENGL_LEGACY 
RAYTRACING 

Definition at line 109 of file 3d_enums.h.

◆ ROTATION_DIR

enum ROTATION_DIR
strong

Rotation direction for the 3d canvas.

Enumerator
X_NEG 
X_POS 
Y_NEG 
Y_POS 
Z_NEG 
Z_POS 

Definition at line 79 of file 3d_enums.h.