|
KiCad PCB EDA Suite
|
#include <advanced_config.h>#include <core/typeinfo.h>#include <core/kicad_algo.h>#include <gal/graphics_abstraction_layer.h>#include <geometry/shape_compound.h>#include <sch_actions.h>#include <sch_collectors.h>#include <sch_selection_tool.h>#include <sch_base_frame.h>#include <connection_graph.h>#include <sch_netchain.h>#include <eeschema_id.h>#include <symbol_edit_frame.h>#include <symbol_viewer_frame.h>#include <math/util.h>#include <deque>#include <unordered_set>#include <geometry/geometry_utils.h>#include <geometry/shape_rect.h>#include <geometry/shape_line_chain.h>#include <sch_painter.h>#include <preview_items/selection_area.h>#include <sch_commit.h>#include <sch_edit_frame.h>#include <sch_line.h>#include <sch_bus_entry.h>#include <sch_pin.h>#include <sch_group.h>#include <sch_marker.h>#include <sch_no_connect.h>#include <sch_sheet_pin.h>#include <sch_table.h>#include <tool/tool_event.h>#include <tool/tool_manager.h>#include <tools/ee_grid_helper.h>#include <tools/sch_move_tool.h>#include <tools/sch_point_editor.h>#include <tools/sch_line_wire_bus_tool.h>#include <tools/sch_editor_control.h>#include <tools/sch_tool_utils.h>#include <trigo.h>#include <view/view.h>#include <view/view_controls.h>#include <wx/log.h>#include "symb_transforms_utils.h"Go to the source code of this file.
Classes | |
| class | REPLACE_TERMINAL_PIN_MENU |
| class | NET_CHAIN_MENU |
Macros | |
| #define | HITTEST_THRESHOLD_PIXELS 5 |
Enumerations | |
| enum | { ID_REPLACE_TERMINAL_PIN_A = wxID_HIGHEST + 2000 , ID_REPLACE_TERMINAL_PIN_B } |
Functions | |
| static bool | addCreateNetChainBetweenPinsIfApplicable (NET_CHAIN_MENU *aMenu, SCH_EDIT_FRAME *aFrame, const SCH_SELECTION &aSel) |
| static void | passEvent (TOOL_EVENT *const aEvent, const TOOL_ACTION *const aAllowedActions[]) |
Variables | |
| static std::vector< KICAD_T > | connectedTypes |
| static std::vector< KICAD_T > | connectedLineTypes |
| static std::vector< KICAD_T > | expandConnectionGraphTypes |
| static std::vector< KICAD_T > | crossProbingTypes |
| static std::vector< KICAD_T > | lineTypes = { SCH_LINE_T } |
| static std::vector< KICAD_T > | sheetTypes = { SCH_SHEET_T } |
| static std::vector< KICAD_T > | tableCellTypes = { SCH_TABLECELL_T } |
| const TOOL_ACTION * | allowedActions [] |
| #define HITTEST_THRESHOLD_PIXELS 5 |
Definition at line 481 of file sch_selection_tool.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| ID_REPLACE_TERMINAL_PIN_A | |
| ID_REPLACE_TERMINAL_PIN_B | |
Definition at line 162 of file sch_selection_tool.cpp.
|
static |
Definition at line 414 of file sch_selection_tool.cpp.
References _, ACTION_MENU::Add(), SCHEMATIC::ConnectionGraph(), SCH_ACTIONS::createNetChainBetweenPins, CONNECTION_GRAPH::FindPotentialNetChainBetweenPins(), SCH_EDIT_FRAME::GetCurrentSheet(), SCH_PIN::GetNumber(), SCH_ITEM::GetParentSymbol(), SYMBOL::GetRef(), SELECTION::GetSize(), and SCH_EDIT_FRAME::Schematic().
Referenced by NET_CHAIN_MENU::update().
|
static |
Definition at line 468 of file sch_selection_tool.cpp.
References TOOL_EVENT::IsAction(), and TOOL_EVENT::SetPassEvent().
Referenced by SCH_SELECTION_TOOL::selectLasso(), SCH_SELECTION_TOOL::selectMultiple(), PCB_SELECTION_TOOL::SelectPolyArea(), PCB_SELECTION_TOOL::SelectRectArea(), and PCB_SELECTION_TOOL::selectTableCells().
| const TOOL_ACTION* allowedActions[] |
Definition at line 2587 of file sch_selection_tool.cpp.
Referenced by SCH_SELECTION_TOOL::selectLasso(), SCH_SELECTION_TOOL::selectMultiple(), PCB_SELECTION_TOOL::SelectPolyArea(), PCB_SELECTION_TOOL::SelectRectArea(), PCB_SELECTION_TOOL::selectTableCells(), and SCH_SELECTION_TOOL::selectTableCells().
|
static |
Definition at line 524 of file sch_selection_tool.cpp.
Referenced by SCH_SELECTION_TOOL::Init().
|
static |
Definition at line 508 of file sch_selection_tool.cpp.
Referenced by SCH_SELECTION_TOOL::GetNode(), EDIT_TOOL::Init(), SCH_SELECTION_TOOL::Init(), and SCH_SELECTION_TOOL::SelectNode().
|
static |
Definition at line 550 of file sch_selection_tool.cpp.
Referenced by SCH_SELECTION_TOOL::Init().
|
static |
Definition at line 530 of file sch_selection_tool.cpp.
Referenced by SCH_SELECTION_TOOL::Init(), and SCH_SELECTION_TOOL::SelectConnection().
|
static |
Definition at line 557 of file sch_selection_tool.cpp.
Referenced by SCH_SELECTION_TOOL::Init().
|
static |
Definition at line 558 of file sch_selection_tool.cpp.
Referenced by SCH_EDIT_TOOL::Init(), and SCH_SELECTION_TOOL::Init().
|
static |
Definition at line 559 of file sch_selection_tool.cpp.
Referenced by PCB_SELECTION_TOOL::Init(), and SCH_SELECTION_TOOL::Init().