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_SHOW_BOARD_BODY,
  FL_MOUSEWHEEL_PANNING, FL_USE_REALISTIC_MODE, FL_SUBTRACT_MASK_FROM_SILK, FL_CLIP_SILK_ON_VIA_ANNULUS,
  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  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 76 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_SHOW_BOARD_BODY 
FL_MOUSEWHEEL_PANNING 
FL_USE_REALISTIC_MODE 
FL_SUBTRACT_MASK_FROM_SILK 
FL_CLIP_SILK_ON_VIA_ANNULUS 
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 
54 
55  // OpenGL options
62 
63  // Raytracing options
71  FL_LAST
72 };

◆ GRID3D_TYPE

enum GRID3D_TYPE
strong

Grid types.

Enumerator
NONE 
GRID_1MM 
GRID_2P5MM 
GRID_5MM 
GRID_10MM 

Definition at line 83 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 102 of file 3d_enums.h.

103 {
104  NORMAL,
105  DIFFUSE_ONLY,
106  CAD_MODE
107 };
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 94 of file 3d_enums.h.