|
KiCad PCB EDA Suite
|
#include <algorithm>#include <cmath>#include <map>#include <set>#include <tuple>#include <vector>#include <geometry/geometry_utils.h>#include <math/util.h>#include <board.h>#include <board_commit.h>#include <board_design_settings.h>#include <footprint.h>#include <layer_range.h>#include <netinfo.h>#include <netclass.h>#include <pad.h>#include <zone.h>#include <lset.h>#include <padstack.h>#include <pcb_base_edit_frame.h>#include <pcb_track.h>#include <pcbnew_settings.h>#include <scoped_set_reset.h>#include <wx/choicdlg.h>#include <tool/actions.h>#include <tool/tool_manager.h>#include <view/view.h>#include <gal/graphics_abstraction_layer.h>#include <trigo.h>#include <view/view_controls.h>#include <properties/property.h>#include <properties/property_mgr.h>#include <dialogs/dialog_microvia_stack.h>#include <generators/pcb_via_stack.h>#include <generators_mgr.h>#include <drc/drc_engine.h>#include <router/router_tool.h>#include <router/pns_router.h>#include <router/pns_routing_settings.h>#include <widgets/wx_infobar.h>#include <tools/drawing_tool.h>#include <tools/generator_tool.h>#include <tools/pcb_actions.h>#include <tools/pcb_grid_helper.h>#include <tools/pcb_selection.h>Go to the source code of this file.
Classes | |
| struct | PCB_VIA_STACK_DESC |
Typedefs | |
| using | SCOPED_DRAW_MODE = SCOPED_SET_RESET<DRAWING_TOOL::MODE> |
Functions | |
| static wxString | styleToString (VIA_STACK_STYLE aStyle) |
| static VIA_STACK_STYLE | styleFromString (const wxString &aStr) |
| static PCB_LAYER_ID | layerFromName (const wxString &aName, PCB_LAYER_ID aFallback) |
| static std::optional< std::tuple< int, int, int > > | memberKey (BOARD_ITEM *aItem) |
| static void | layerOrder (BOARD *aBoard, std::vector< PCB_LAYER_ID > &aOrder, std::map< int, int > &aOrdinals) |
| static bool | isExpandableMicrovia (const std::map< int, int > &aOrdinals, PCB_VIA *aVia) |
Variables | |
| static GENERATORS_MGR::REGISTER< PCB_VIA_STACK > | registerMe |
| static struct PCB_VIA_STACK_DESC | _PCB_VIA_STACK_DESC |
Definition at line 961 of file pcb_via_stack.cpp.
|
static |
Definition at line 743 of file pcb_via_stack.cpp.
References std::abs(), PCB_VIA::BottomLayer(), EDA_ITEM::GetParentGroup(), PCB_VIA::GetViaType(), MICROVIA, top(), and PCB_VIA::TopLayer().
Referenced by PCB_VIA_STACK::CollectExpandableMicrovias(), and PCB_VIA_STACK::ExpandMultiHopMicrovias().
|
static |
Definition at line 88 of file pcb_via_stack.cpp.
References IsCopperLayer(), name, LSET::NameToLayer(), PCB_LAYER_ID_COUNT, and ToLAYER_ID().
Referenced by PCB_VIA_STACK::SetProperties().
|
static |
Definition at line 582 of file pcb_via_stack.cpp.
References B_Cu, F_Cu, and BOARD::GetCopperLayerCount().
Referenced by PCB_VIA_STACK::CollectExpandableMicrovias(), PCB_VIA_STACK::CreateFromItems(), and PCB_VIA_STACK::ExpandMultiHopMicrovias().
|
static |
Definition at line 319 of file pcb_via_stack.cpp.
References BOARD_ITEM::GetLayer(), PCB_TRACE_T, PCB_VIA_T, EDA_ITEM::Type(), and via.
Referenced by PCB_VIA_STACK::reuseMembers().
|
static |
Definition at line 81 of file pcb_via_stack.cpp.
References STACKED, and STAGGERED.
Referenced by PCB_VIA_STACK::SetProperties().
|
static |
Definition at line 75 of file pcb_via_stack.cpp.
References STAGGERED.
Referenced by PCB_VIA_STACK::GetProperties().
|
static |
|
static |
Definition at line 1416 of file pcb_via_stack.cpp.