KiCad PCB EDA Suite
mocks.cpp File Reference
#include <pgm_base.h>
#include <kiface_i.h>
#include <confirm.h>
#include <pcb_edit_frame.h>
#include <eda_dde.h>
#include <wx/file.h>
#include <wx/snglinst.h>
#include <wx/app.h>
#include <board.h>
#include <fp_lib_table.h>
#include <footprint_viewer_frame.h>
#include <footprint_wizard_frame.h>
#include <footprint.h>
#include <tools/pcb_actions.h>
#include <router/router_tool.h>
#include <dialog_find.h>
#include <dialog_filter_selection.h>
#include "3d_viewer/3d_viewer_settings.h"
#include "3d_viewer/eda_3d_viewer.h"
#include <3d-viewer/3d_viewer_id.h>
#include <tools/pcb_selection_tool.h>

Go to the source code of this file.

Classes

class  PCB_SELECTION_TOOL::PRIV
 Private implementation of firewalled private data. More...
 

Functions

 EVT_TOOL_RANGE (ID_START_COMMAND_3D, ID_MENU_COMMAND_END, EDA_3D_VIEWER::Process_Special_Functions) EDA_3D_VIEWER
 
static bool itemIsIncludedByFilter (const BOARD_ITEM &aItem, const BOARD &aBoard, const DIALOG_FILTER_SELECTION::OPTIONS &aFilterOptions)
 Function itemIsIncludedByFilter() More...
 

Variables

FP_LIB_TABLE GFootprintTable
 !!!!!!!!!!!!!! This code is obsolete because of the merge into pcbnew, don't bother with it. More...
 
static const int viewer3dSchemaVersion = 0
 

Function Documentation

◆ EVT_TOOL_RANGE()

Definition at line 297 of file mocks.cpp.

311  :
312  KIWAY_PLAYER( aKiway, aParent, FRAME_PCB_DISPLAY3D, aTitle, wxDefaultPosition,
313  wxDefaultSize, style, QUALIFIED_VIEWER3D_FRAMENAME( aParent ) ),
314  m_mainToolBar( nullptr ),
315  m_canvas( nullptr ),
316  m_currentCamera( m_trackBallCamera ),
317  m_trackBallCamera( RANGE_SCALE_3D ),
318  m_disable_ray_tracing( true )
319 {
320 
321 }
A wxFrame capable of the OpenProjectFiles function, meaning it can load a portion of a KiCad project.
Definition: kiway_player.h:61
#define RANGE_SCALE_3D
This defines the range that all coord will have to be rendered.
Definition: board_adapter.h:61
#define QUALIFIED_VIEWER3D_FRAMENAME(parent)
Definition: eda_3d_viewer.h:51

◆ itemIsIncludedByFilter()

static bool itemIsIncludedByFilter ( const BOARD_ITEM aItem,
const BOARD aBoard,
const DIALOG_FILTER_SELECTION::OPTIONS aFilterOptions 
)
static

Function itemIsIncludedByFilter()

Determine if an item is included by the filter specified

Returns
true if aItem should be selected by this filter (i..e not filtered out)

Definition at line 711 of file mocks.cpp.

713 {
714 
715 
716  return false;
717 }

Variable Documentation

◆ GFootprintTable

FP_LIB_TABLE GFootprintTable

!!!!!!!!!!!!!! This code is obsolete because of the merge into pcbnew, don't bother with it.

!!!!!!!!!!!!!! This code is obsolete because of the merge into pcbnew, don't bother with it.

This is not dynamically allocated because in a multiple project environment we must keep its address constant (since it is the fallback table for multiple projects).

Definition at line 42 of file mocks.cpp.

◆ viewer3dSchemaVersion

const int viewer3dSchemaVersion = 0
static

Definition at line 260 of file mocks.cpp.