KiCad PCB EDA Suite
Loading...
Searching...
No Matches
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...
 
enum class  VIEW3D_TYPE {
  VIEW3D_TOP , VIEW3D_BOTTOM , VIEW3D_LEFT , VIEW3D_RIGHT ,
  VIEW3D_FRONT , VIEW3D_BACK , VIEW3D_FLIP , VIEW3D_PAN_UP ,
  VIEW3D_PAN_DOWN , VIEW3D_PAN_LEFT , VIEW3D_PAN_RIGHT , VIEW3D_ZOOM_IN ,
  VIEW3D_ZOOM_OUT , VIEW3D_PIVOT_CENTER , VIEW3D_FIT_SCREEN
}
 

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.

◆ 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.

◆ 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.

◆ RENDER_ENGINE

enum class RENDER_ENGINE
strong

Render engine mode.

Enumerator
OPENGL 
RAYTRACING 

Definition at line 63 of file 3d_enums.h.

◆ 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.

◆ VIEW3D_TYPE

enum class VIEW3D_TYPE
strong
Enumerator
VIEW3D_TOP 
VIEW3D_BOTTOM 
VIEW3D_LEFT 
VIEW3D_RIGHT 
VIEW3D_FRONT 
VIEW3D_BACK 
VIEW3D_FLIP 
VIEW3D_PAN_UP 
VIEW3D_PAN_DOWN 
VIEW3D_PAN_LEFT 
VIEW3D_PAN_RIGHT 
VIEW3D_ZOOM_IN 
VIEW3D_ZOOM_OUT 
VIEW3D_PIVOT_CENTER 
VIEW3D_FIT_SCREEN 

Definition at line 77 of file 3d_enums.h.