KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_selection_tool.cpp File Reference
#include <limits>
#include <cmath>
#include <functional>
#include <stack>
#include <advanced_config.h>
#include <macros.h>
#include <board.h>
#include <board_design_settings.h>
#include <pcb_point.h>
#include <pcb_table.h>
#include <pcb_tablecell.h>
#include <pcb_marker.h>
#include <pcb_generator.h>
#include <pcb_base_edit_frame.h>
#include <zone.h>
#include <collectors.h>
#include <dialog_filter_selection.h>
#include <view/view_controls.h>
#include <gal/painter.h>
#include <router/router_tool.h>
#include <pcbnew_settings.h>
#include <tool/tool_event.h>
#include <tool/tool_manager.h>
#include <tools/tool_event_utils.h>
#include <tools/pcb_point_editor.h>
#include <tools/pcb_selection_tool.h>
#include <tools/pcb_actions.h>
#include <tools/board_inspection_tool.h>
#include <ratsnest/ratsnest_data.h>
#include <geometry/geometry_utils.h>
#include <wx/event.h>
#include <wx/timer.h>
#include <wx/log.h>
#include <wx/debug.h>
#include <core/profile.h>
#include <math/vector2wx.h>

Go to the source code of this file.

Classes

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

Functions

static void passEvent (TOOL_EVENT *const aEvent, const TOOL_ACTION *const aAllowedActions[])
 
void connectedItemFilter (const VECTOR2I &, GENERAL_COLLECTOR &aCollector, PCB_SELECTION_TOOL *sTool)
 
static bool itemIsIncludedByFilter (const BOARD_ITEM &aItem, const BOARD &aBoard, const DIALOG_FILTER_SELECTION::OPTIONS &aFilterOptions)
 Determine if an item is included by the filter specified.
 

Variables

const TOOL_ACTIONallowedActions []
 

Function Documentation

◆ connectedItemFilter()

void connectedItemFilter ( const VECTOR2I & ,
GENERAL_COLLECTOR & aCollector,
PCB_SELECTION_TOOL * sTool )

◆ itemIsIncludedByFilter()

◆ passEvent()

static void passEvent ( TOOL_EVENT *const aEvent,
const TOOL_ACTION *const aAllowedActions[] )
static

Definition at line 914 of file pcb_selection_tool.cpp.

References TOOL_EVENT::IsAction(), and TOOL_EVENT::SetPassEvent().

Variable Documentation

◆ allowedActions

const TOOL_ACTION* allowedActions[]
Initial value:
static TOOL_ACTION cursorLeft
Definition actions.h:171
static TOOL_ACTION zoomOutCenter
Definition actions.h:135
static TOOL_ACTION zoomIn
Definition actions.h:132
static TOOL_ACTION cursorLeftFast
Definition actions.h:176
static TOOL_ACTION cursorDown
Definition actions.h:170
static TOOL_ACTION zoomOut
Definition actions.h:133
static TOOL_ACTION cursorRightFast
Definition actions.h:177
static TOOL_ACTION zoomCenter
Definition actions.h:140
static TOOL_ACTION panDown
Definition actions.h:184
static TOOL_ACTION cursorDownFast
Definition actions.h:175
static TOOL_ACTION cursorUpFast
Definition actions.h:174
static TOOL_ACTION panLeft
Definition actions.h:185
static TOOL_ACTION zoomFitScreen
Definition actions.h:141
static TOOL_ACTION panUp
Definition actions.h:183
static TOOL_ACTION zoomFitObjects
Definition actions.h:142
static TOOL_ACTION zoomInCenter
Definition actions.h:134
static TOOL_ACTION panRight
Definition actions.h:186
static TOOL_ACTION cursorUp
Cursor control with keyboard.
Definition actions.h:169
static TOOL_ACTION cursorRight
Definition actions.h:172

Definition at line 902 of file pcb_selection_tool.cpp.