KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_preview_3d_model.h File Reference
#include "panel_preview_3d_model_base.h"
#include <vector>
#include <widgets/unit_binder.h>
#include <tool/tools_holder.h>
#include <3d_canvas/eda_3d_canvas.h>
#include <3d_viewer_id.h>
#include <3d_rendering/track_ball.h>
#include <wx/event.h>

Go to the source code of this file.

Classes

class  PANEL_PREVIEW_3D_MODEL
 

Macros

#define MAX_SCALE   10000.0
 
#define MAX_ROTATION   180.0
 
#define MAX_OFFSET   1000.0
 
#define SCALE_INCREMENT_FINE   0.02
 
#define SCALE_INCREMENT   0.1
 
#define ROTATION_INCREMENT   90
 
#define ROTATION_INCREMENT_FINE   1
 
#define OFFSET_INCREMENT_MM   0.5
 
#define OFFSET_INCREMENT_MM_FINE   0.1
 
#define OFFSET_INCREMENT_MIL   25.0
 
#define OFFSET_INCREMENT_MIL_FINE   5.0
 
#define PANEL_PREVIEW_3D_MODEL_ID   wxID_HIGHEST + 1244
 

Functions

 wxDECLARE_EVENT (wxCUSTOM_PANEL_SHOWN_EVENT, wxCommandEvent)
 

Macro Definition Documentation

◆ MAX_OFFSET

#define MAX_OFFSET   1000.0

Definition at line 42 of file panel_preview_3d_model.h.

◆ MAX_ROTATION

#define MAX_ROTATION   180.0

Definition at line 41 of file panel_preview_3d_model.h.

◆ MAX_SCALE

#define MAX_SCALE   10000.0

Definition at line 40 of file panel_preview_3d_model.h.

◆ OFFSET_INCREMENT_MIL

#define OFFSET_INCREMENT_MIL   25.0

Definition at line 53 of file panel_preview_3d_model.h.

◆ OFFSET_INCREMENT_MIL_FINE

#define OFFSET_INCREMENT_MIL_FINE   5.0

Definition at line 54 of file panel_preview_3d_model.h.

◆ OFFSET_INCREMENT_MM

#define OFFSET_INCREMENT_MM   0.5

Definition at line 50 of file panel_preview_3d_model.h.

◆ OFFSET_INCREMENT_MM_FINE

#define OFFSET_INCREMENT_MM_FINE   0.1

Definition at line 51 of file panel_preview_3d_model.h.

◆ PANEL_PREVIEW_3D_MODEL_ID

#define PANEL_PREVIEW_3D_MODEL_ID   wxID_HIGHEST + 1244

Definition at line 67 of file panel_preview_3d_model.h.

◆ ROTATION_INCREMENT

#define ROTATION_INCREMENT   90

Definition at line 47 of file panel_preview_3d_model.h.

◆ ROTATION_INCREMENT_FINE

#define ROTATION_INCREMENT_FINE   1

Definition at line 48 of file panel_preview_3d_model.h.

◆ SCALE_INCREMENT

#define SCALE_INCREMENT   0.1

Definition at line 45 of file panel_preview_3d_model.h.

◆ SCALE_INCREMENT_FINE

#define SCALE_INCREMENT_FINE   0.02

Definition at line 44 of file panel_preview_3d_model.h.

Function Documentation

◆ wxDECLARE_EVENT()

wxDECLARE_EVENT ( wxCUSTOM_PANEL_SHOWN_EVENT  ,
wxCommandEvent   
)