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/track_ball.h"
#include <kiway_player.h>
#include <wx/colourdata.h>
#include <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 KICAD6_3DMODEL_DIR   wxT( "KICAD6_3DMODEL_DIR" )
 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 { ACTIVITY = 0, HOVERED_ITEM, X_POS, Y_POS }
 

Detailed Description

Declaration of the eda_3d_viewer class.

Definition in file eda_3d_viewer.h.

Macro Definition Documentation

◆ KICAD6_3DMODEL_DIR

#define KICAD6_3DMODEL_DIR   wxT( "KICAD6_3DMODEL_DIR" )

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.

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

◆ 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
ACTIVITY 
HOVERED_ITEM 
X_POS 
Y_POS 

Definition at line 55 of file eda_3d_viewer.h.

56 {
57  ACTIVITY = 0,
59  X_POS,
60  Y_POS,
61 };