KiCad PCB EDA Suite
eda_3d_viewer.h File Reference

Declaration of the eda_3d_viewer class. More...

#include "3d_canvas/board_adapter.h"
#include "3d_canvas/eda_3d_canvas.h"
#include "3d_rendering/ctrack_ball.h"
#include <kiway_player.h>
#include <wx/colourdata.h>
#include <../common/dialogs/dialog_color_picker.h>

Go to the source code of this file.

Classes

class  EDA_3D_VIEWER
 Create and handle a window for the 3d viewer connected to a Kiway and a pcbboard. More...
 

Macros

#define KISYS3DMOD   wxT( "KISYS3DMOD" )
 A variable name whose value holds the path of 3D shape files. More...
 
#define KICAD_DEFAULT_3D_DRAWFRAME_STYLE   (wxDEFAULT_FRAME_STYLE | wxWANTS_CHARS)
 
#define VIEWER3D_FRAMENAME   wxT( "Viewer3DFrameName" )
 
#define QUALIFIED_VIEWER3D_FRAMENAME(parent)   ( wxString( VIEWER3D_FRAMENAME ) + wxT( ":" ) + parent->GetName() )
 

Enumerations

enum  EDA_3D_VIEWER_STATUSBAR { STATUS_TEXT = 0, X_POS, Y_POS }
 

Detailed Description

Declaration of the eda_3d_viewer class.

Definition in file eda_3d_viewer.h.

Macro Definition Documentation

◆ KICAD_DEFAULT_3D_DRAWFRAME_STYLE

#define KICAD_DEFAULT_3D_DRAWFRAME_STYLE   (wxDEFAULT_FRAME_STYLE | wxWANTS_CHARS)

Definition at line 48 of file eda_3d_viewer.h.

◆ KISYS3DMOD

#define KISYS3DMOD   wxT( "KISYS3DMOD" )

A variable name whose value holds the path of 3D shape files.

Currently an environment variable, eventually a project variable.

Definition at line 45 of file eda_3d_viewer.h.

◆ QUALIFIED_VIEWER3D_FRAMENAME

#define QUALIFIED_VIEWER3D_FRAMENAME (   parent)    ( wxString( VIEWER3D_FRAMENAME ) + wxT( ":" ) + parent->GetName() )

Definition at line 51 of file eda_3d_viewer.h.

◆ VIEWER3D_FRAMENAME

#define VIEWER3D_FRAMENAME   wxT( "Viewer3DFrameName" )

Definition at line 50 of file eda_3d_viewer.h.

Enumeration Type Documentation

◆ EDA_3D_VIEWER_STATUSBAR

Enumerator
STATUS_TEXT 
X_POS 
Y_POS 

Definition at line 55 of file eda_3d_viewer.h.

56 {
57  STATUS_TEXT = 0,
58  X_POS,
59  Y_POS
60 };