KiCad PCB EDA Suite
|
Public Member Functions | |
void | SetHostTool (PCB_TOOL_BASE *aTool) override |
void | Commit () override |
void | ClearCommits () |
void | AddItem (PNS::ITEM *aItem) override |
void | UpdateItem (PNS::ITEM *aItem) override |
void | RemoveItem (PNS::ITEM *aItem) override |
std::vector< GENERATOR_PNS_CHANGES > & | Changes () |
void | SetView (KIGFX::VIEW *aView) |
void | EraseView () override |
bool | IsAnyLayerVisible (const PNS_LAYER_RANGE &aLayer) const override |
bool | IsItemVisible (const PNS::ITEM *aItem) const override |
void | HideItem (PNS::ITEM *aItem) override |
void | DisplayItem (const PNS::ITEM *aItem, int aClearance, bool aEdit=false, int aFlags=0) override |
void | DisplayPathLine (const SHAPE_LINE_CHAIN &aLine, int aImportance) override |
void | DisplayRatline (const SHAPE_LINE_CHAIN &aRatline, PNS::NET_HANDLE aNet) override |
int | GetNetCode (PNS::NET_HANDLE aNet) const override |
wxString | GetNetName (PNS::NET_HANDLE aNet) const override |
void | UpdateNet (PNS::NET_HANDLE aNet) override |
EDA_UNITS | GetUnits () const override |
void | SetCommitFlags (int aCommitFlags) |
void | SetBoard (BOARD *aBoard) |
void | SyncWorld (PNS::NODE *aWorld) override |
bool | IsFlashedOnLayer (const PNS::ITEM *aItem, int aLayer) const override |
bool | IsFlashedOnLayer (const PNS::ITEM *aItem, const PNS_LAYER_RANGE &aLayer) const override |
bool | IsPNSCopperLayer (int aPNSLayer) const override |
bool | IsKicadCopperLayer (PCB_LAYER_ID aPcbnewLayer) const |
bool | ImportSizes (PNS::SIZES_SETTINGS &aSizes, PNS::ITEM *aStartItem, PNS::NET_HANDLE aNet, VECTOR2D aStartPosition) override |
int | StackupHeight (int aFirstLayer, int aSecondLayer) const override |
PNS::NET_HANDLE | GetOrphanedNetHandle () override |
void | SetDebugDecorator (PNS::DEBUG_DECORATOR *aDec) |
PCB_LAYER_ID | GetBoardLayerFromPNSLayer (int aLayer) const override |
int | GetPNSLayerFromBoardLayer (PCB_LAYER_ID aLayer) const override |
void | SetStartLayerFromPCBNew (PCB_LAYER_ID aLayer) |
void | SetStartLayerFromPNS (int aLayer) |
PNS_LAYER_RANGE | SetLayersFromPCBNew (PCB_LAYER_ID aStartLayer, PCB_LAYER_ID aEndLayer) |
virtual PNS::NODE * | GetWorld () const override |
BOARD * | GetBoard () const |
PNS::RULE_RESOLVER * | GetRuleResolver () override |
PNS::DEBUG_DECORATOR * | GetDebugDecorator () override |
Protected Member Functions | |
BOARD_CONNECTED_ITEM * | createBoardItem (PNS::ITEM *aItem) |
void | modifyBoardItem (PNS::ITEM *aItem) |
std::vector< std::unique_ptr< PNS::SOLID > > | syncPad (PAD *aPad) |
std::unique_ptr< PNS::SEGMENT > | syncTrack (PCB_TRACK *aTrack) |
std::unique_ptr< PNS::ARC > | syncArc (PCB_ARC *aArc) |
std::unique_ptr< PNS::VIA > | syncVia (PCB_VIA *aVia) |
bool | syncTextItem (PNS::NODE *aWorld, PCB_TEXT *aText, PCB_LAYER_ID aLayer) |
bool | syncGraphicalItem (PNS::NODE *aWorld, PCB_SHAPE *aItem) |
bool | syncZone (PNS::NODE *aWorld, ZONE *aZone, SHAPE_POLY_SET *aBoardOutline) |
bool | inheritTrackWidth (PNS::ITEM *aItem, int *aInheritedWidth) |
Protected Attributes | |
std::map< PAD *, OFFSET > | m_fpOffsets |
KIGFX::VIEW * | m_view |
KIGFX::VIEW_GROUP * | m_previewItems |
std::unordered_set< BOARD_ITEM * > | m_hiddenItems |
PCB_TOOL_BASE * | m_tool |
std::unique_ptr< BOARD_COMMIT > | m_commit |
int | m_commitFlags |
PNS_PCBNEW_RULE_RESOLVER * | m_ruleResolver |
PNS::DEBUG_DECORATOR * | m_debugDecorator |
PNS::NODE * | m_world |
BOARD * | m_board |
int | m_startLayer |
Private Attributes | |
std::vector< GENERATOR_PNS_CHANGES > | m_changes |
Definition at line 36 of file generator_tool_pns_proxy.cpp.
|
inlineoverridevirtual |
Reimplemented from PNS_KICAD_IFACE.
Definition at line 58 of file generator_tool_pns_proxy.cpp.
References EDA_ITEM::ClearFlags(), PNS_KICAD_IFACE::createBoardItem(), m_changes, and PNS::ITEM::SetParent().
|
inline |
Definition at line 95 of file generator_tool_pns_proxy.cpp.
References m_changes.
|
inline |
Definition at line 52 of file generator_tool_pns_proxy.cpp.
References m_changes.
Referenced by SetHostTool().
|
inlineoverridevirtual |
Reimplemented from PNS_KICAD_IFACE.
Definition at line 47 of file generator_tool_pns_proxy.cpp.
References m_changes.
|
protectedinherited |
Definition at line 2045 of file pns_kicad_iface.cpp.
References SEG::A, PADSTACK::ALL_LAYERS, PNS::ITEM::ARC_T, SEG::B, PNS_KICAD_IFACE_BASE::GetBoardLayerFromPNSLayer(), BOARD::GetDesignSettings(), BOARD_CONNECTED_ITEM::GetNet(), NETINFO_ITEM::GetNetCode(), PNS::ITEM::Kind(), PNS::ITEM::Layers(), PNS_KICAD_IFACE_BASE::m_board, PNS_KICAD_IFACE::m_fpOffsets, BOARD_DESIGN_SETTINGS::m_NetSettings, PNS::ITEM::Net(), NETINFO_LIST::OrphanedItem(), pad, PNS::ITEM::Parent(), PNS::SEGMENT::Seg(), PNS::ITEM::SEGMENT_T, PCB_VIA::SetDrill(), PCB_TRACK::SetEnd(), PCB_VIA::SetIsFree(), BOARD_ITEM::SetLayer(), PCB_VIA::SetLayerPair(), BOARD_CONNECTED_ITEM::SetNet(), NETINFO_ITEM::SetNetClass(), NETINFO_ITEM::SetParent(), PCB_VIA::SetPosition(), PCB_TRACK::SetStart(), PCB_VIA::SetViaType(), PCB_TRACK::SetWidth(), PCB_VIA::SetWidth(), PNS::ARC::Shape(), PNS::ITEM::SOLID_T, PNS_LAYER_RANGE::Start(), via, PNS::ITEM::VIA_T, PNS::ARC::Width(), PNS::SEGMENT::Width(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PNS_KICAD_IFACE::AddItem(), and AddItem().
|
overridevirtualinherited |
Reimplemented from PNS_KICAD_IFACE_BASE.
Definition at line 1792 of file pns_kicad_iface.cpp.
References KIGFX::VIEW_GROUP::Add(), PNS::ITEM::ARC_T, TOOL_BASE::GetManager(), TOOL_MANAGER::GetSettings(), PNS::ITEM::IsVirtual(), PNS::ITEM::LINE_T, PNS_KICAD_IFACE::m_previewItems, PNS_KICAD_IFACE::m_tool, PNS_KICAD_IFACE::m_view, PNS::ITEM::OfKind(), PNS::ITEM::Parent(), PNS_SEMI_SOLID, PNS::ITEM::SEGMENT_T, ROUTER_PREVIEW_ITEM::SetClearance(), SHOW_WHILE_ROUTING, SHOW_WITH_VIA_ALWAYS, SHOW_WITH_VIA_WHILE_ROUTING, SHOW_WITH_VIA_WHILE_ROUTING_OR_DRAGGING, ROUTER_PREVIEW_ITEM::ShowClearance(), KIGFX::VIEW::Update(), and PNS::ITEM::VIA_T.
Referenced by PCB_TUNING_PATTERN::resetToBaseline().
|
overridevirtualinherited |
Reimplemented from PNS_KICAD_IFACE_BASE.
Definition at line 1841 of file pns_kicad_iface.cpp.
References KIGFX::VIEW_GROUP::Add(), color, ROUTER_PREVIEW_ITEM::GetOriginDepth(), PNS_KICAD_IFACE::m_previewItems, PNS_KICAD_IFACE::m_view, ROUTER_PREVIEW_ITEM::PathOverlayDepth, ROUTER_PREVIEW_ITEM::SetColor(), ROUTER_PREVIEW_ITEM::SetDepth(), and KIGFX::VIEW::Update().
|
overridevirtualinherited |
Reimplemented from PNS_KICAD_IFACE_BASE.
Definition at line 1860 of file pns_kicad_iface.cpp.
References KIGFX::VIEW_GROUP::Add(), color, NET_SETTINGS::GetCachedEffectiveNetClass(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), BOARD::GetConnectivity(), KIGFX::RENDER_SETTINGS::GetHighlightNetCodes(), KIGFX::PCB_RENDER_SETTINGS::GetNetColorMap(), KIGFX::PCB_RENDER_SETTINGS::GetNetColorMode(), KIGFX::VIEW::GetPainter(), NETCLASS::GetPcbColor(), KIGFX::PAINTER::GetSettings(), NET_SETTINGS::HasEffectiveNetClass(), NETCLASS::HasPcbColor(), LAYER_RATSNEST, PNS_KICAD_IFACE_BASE::m_board, PNS_KICAD_IFACE::m_previewItems, PNS_KICAD_IFACE::m_view, ROUTER_PREVIEW_ITEM::SetColor(), and KIGFX::VIEW::Update().
|
overridevirtualinherited |
Reimplemented from PNS_KICAD_IFACE_BASE.
Definition at line 1768 of file pns_kicad_iface.cpp.
References PNS::DEBUG_DECORATOR::Clear(), KIGFX::VIEW_GROUP::FreeItems(), PNS_KICAD_IFACE_BASE::m_debugDecorator, PNS_KICAD_IFACE::m_hiddenItems, PNS_KICAD_IFACE::m_previewItems, PNS_KICAD_IFACE::m_view, KIGFX::VIEW::SetVisible(), and KIGFX::VIEW::Update().
Referenced by PNS_KICAD_IFACE::Commit(), PCB_TUNING_PATTERN::EditPush(), and PCB_TUNING_PATTERN::EditRevert().
|
inlineinherited |
Definition at line 96 of file pns_kicad_iface.h.
References PNS_KICAD_IFACE_BASE::m_board.
Referenced by ROUTER_TOOL::saveRouterDebugLog().
|
overridevirtualinherited |
Implements PNS::ROUTER_IFACE.
Definition at line 2241 of file pns_kicad_iface.cpp.
References B_Cu, F_Cu, BOARD::GetCopperLayerCount(), and PNS_KICAD_IFACE_BASE::m_board.
Referenced by PNS_KICAD_IFACE::createBoardItem(), ROUTER_TOOL::getStartLayer(), ROUTER_TOOL::handleLayerSwitch(), PNS_KICAD_IFACE::IsAnyLayerVisible(), PNS_KICAD_IFACE_BASE::IsFlashedOnLayer(), PNS_KICAD_IFACE_BASE::IsPNSCopperLayer(), PNS_KICAD_IFACE::modifyBoardItem(), ROUTER_TOOL::onViaCommand(), ROUTER_TOOL::performRouting(), PNS_KICAD_IFACE_BASE::StackupHeight(), ROUTER_TOOL::switchLayerOnViaPlacement(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
overridevirtualinherited |
Implements PNS::ROUTER_IFACE.
Definition at line 1087 of file pns_kicad_iface.cpp.
References PNS_KICAD_IFACE_BASE::m_debugDecorator.
|
overridevirtualinherited |
Reimplemented from PNS_KICAD_IFACE_BASE.
Definition at line 2198 of file pns_kicad_iface.cpp.
References PNS_KICAD_IFACE::GetNetCode().
Referenced by PNS_KICAD_IFACE::GetNetCode().
|
overridevirtualinherited |
Reimplemented from PNS_KICAD_IFACE_BASE.
Definition at line 2207 of file pns_kicad_iface.cpp.
Referenced by PCB_TUNING_PATTERN::Update(), and PNS_KICAD_IFACE::UpdateNet().
|
overridevirtualinherited |
Implements PNS::ROUTER_IFACE.
Definition at line 2222 of file pns_kicad_iface.cpp.
References NETINFO_LIST::OrphanedItem().
|
overridevirtualinherited |
Implements PNS::ROUTER_IFACE.
Definition at line 2256 of file pns_kicad_iface.cpp.
References B_Cu, F_Cu, BOARD::GetCopperLayerCount(), and PNS_KICAD_IFACE_BASE::m_board.
Referenced by ROUTER_TOOL::getStartLayer(), ROUTER_TOOL::handleLayerSwitch(), ROUTER_TOOL::InlineDrag(), ROUTER_TOOL::MainLoop(), ROUTER_TOOL::prepareInteractive(), PCB_TUNING_PATTERN::Remove(), PNS_KICAD_IFACE_BASE::SetLayersFromPCBNew(), PNS_KICAD_IFACE_BASE::SetStartLayerFromPCBNew(), ROUTER_TOOL::switchLayerOnViaPlacement(), PNS_KICAD_IFACE_BASE::syncArc(), PNS_KICAD_IFACE_BASE::syncGraphicalItem(), PNS_KICAD_IFACE_BASE::syncPad(), PNS_KICAD_IFACE_BASE::syncTextItem(), PNS_KICAD_IFACE_BASE::syncTrack(), PNS_KICAD_IFACE_BASE::syncVia(), PNS_KICAD_IFACE_BASE::syncZone(), and PCB_TUNING_PATTERN::Update().
|
overridevirtualinherited |
Implements PNS::ROUTER_IFACE.
Reimplemented in MOCK_PNS_KICAD_IFACE.
Definition at line 2228 of file pns_kicad_iface.cpp.
References PNS_KICAD_IFACE_BASE::m_ruleResolver.
Referenced by ROUTER_TOOL::UpdateMessagePanel().
|
overridevirtualinherited |
Reimplemented from PNS_KICAD_IFACE_BASE.
Definition at line 2163 of file pns_kicad_iface.cpp.
References TOOL_BASE::GetManager(), TOOL_MANAGER::GetSettings(), APP_SETTINGS_BASE::m_System, PNS_KICAD_IFACE::m_tool, and APP_SETTINGS_BASE::SYSTEM::units.
|
inlineoverridevirtualinherited |
Implements PNS::ROUTER_IFACE.
Definition at line 94 of file pns_kicad_iface.h.
References PNS_KICAD_IFACE_BASE::m_world.
|
overridevirtualinherited |
Reimplemented from PNS_KICAD_IFACE_BASE.
Definition at line 1906 of file pns_kicad_iface.cpp.
References KIGFX::APPEARANCE, EDA_ITEM::GetBoundingBox(), KIGFX::VIEW::IsVisible(), PNS_KICAD_IFACE_BASE::m_board, PNS_KICAD_IFACE::m_hiddenItems, PNS_KICAD_IFACE::m_view, PNS::ITEM::Parent(), KIGFX::VIEW::SetVisible(), PNS::ITEM::Shape(), KIGFX::VIEW::Update(), and BOARD::Zones().
|
overridevirtualinherited |
Implements PNS::ROUTER_IFACE.
Definition at line 654 of file pns_kicad_iface.cpp.
References _, PNS::ITEM::Anchor(), PNS::CT_CLEARANCE, PNS::CT_DIFF_PAIR_GAP, PNS::CT_HOLE_TO_HOLE, PNS::CT_VIA_DIAMETER, PNS::CT_VIA_HOLE, PNS::CT_WIDTH, VECTOR2< T >::Distance(), PNS_PCBNEW_RULE_RESOLVER::DpCoupledNet(), BOARD_DESIGN_SETTINGS::GetCurrentDiffPairGap(), BOARD_DESIGN_SETTINGS::GetCurrentDiffPairViaGap(), BOARD_DESIGN_SETTINGS::GetCurrentDiffPairWidth(), BOARD_DESIGN_SETTINGS::GetCurrentTrackWidth(), BOARD_DESIGN_SETTINGS::GetCurrentViaDrill(), BOARD_DESIGN_SETTINGS::GetCurrentViaSize(), BOARD::GetDesignSettings(), PNS_KICAD_IFACE_BASE::inheritTrackWidth(), PNS::ITEM::Kind(), PNS::ITEM::Layer(), PNS_KICAD_IFACE_BASE::m_board, BOARD_DESIGN_SETTINGS::m_HoleToHoleMin, BOARD_DESIGN_SETTINGS::m_MinClearance, BOARD_DESIGN_SETTINGS::m_MinThroughDrill, PNS::CONSTRAINT::m_RuleName, PNS_KICAD_IFACE_BASE::m_ruleResolver, PNS_KICAD_IFACE_BASE::m_startLayer, BOARD_DESIGN_SETTINGS::m_TempOverrideTrackWidth, BOARD_DESIGN_SETTINGS::m_TrackMinWidth, BOARD_DESIGN_SETTINGS::m_UseConnectedTrackWidth, PNS::CONSTRAINT::m_Value, BOARD_DESIGN_SETTINGS::m_ViasMinSize, MINOPTMAX< T >::Min(), PNS::ITEM::Net(), MINOPTMAX< T >::Opt(), PNS_PCBNEW_RULE_RESOLVER::QueryConstraint(), PNS::ITEM::SEGMENT_T, PNS::SIZES_SETTINGS::SetBoardMinTrackWidth(), PNS::SIZES_SETTINGS::SetClearance(), PNS::SIZES_SETTINGS::SetClearanceSource(), PNS::SIZES_SETTINGS::SetDiffPairGap(), PNS::SIZES_SETTINGS::SetDiffPairGapSource(), PNS::SIZES_SETTINGS::SetDiffPairHoleToHole(), PNS::SIZES_SETTINGS::SetDiffPairViaGap(), PNS::SIZES_SETTINGS::SetDiffPairViaGapSameAsTraceGap(), PNS::SIZES_SETTINGS::SetDiffPairWidth(), PNS::SIZES_SETTINGS::SetDiffPairWidthSource(), PNS::SEGMENT::SetEnds(), PNS::SIZES_SETTINGS::SetHoleToHole(), PNS::ITEM::SetLayer(), PNS::SIZES_SETTINGS::SetMinClearance(), PNS::ITEM::SetNet(), PNS::SIZES_SETTINGS::SetTrackWidth(), PNS::SIZES_SETTINGS::SetTrackWidthIsExplicit(), PNS::SIZES_SETTINGS::SetViaDiameter(), PNS::SIZES_SETTINGS::SetViaDrill(), PNS::SIZES_SETTINGS::SetWidthSource(), UNDEFINED_LAYER, BOARD_DESIGN_SETTINGS::UseNetClassDiffPair(), BOARD_DESIGN_SETTINGS::UseNetClassTrack(), BOARD_DESIGN_SETTINGS::UseNetClassVia(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by ROUTER_TOOL::onTrackViaSizeChanged(), and ROUTER_TOOL::prepareInteractive().
|
protectedinherited |
Definition at line 597 of file pns_kicad_iface.cpp.
References PNS::ITEM::ARC_T, PNS::JOINT::CLinks(), PNS::ITEM_SET::ExcludeItem(), PNS::ITEM_SET::FilterKinds(), PNS::ITEM_SET::Items(), PNS::ITEM::Kind(), PNS::OWNABLE_ITEM::Owner(), PNS::ITEM::SEGMENT_T, PNS::ITEM::SOLID_T, and PNS::ITEM::VIA_T.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes().
|
overridevirtualinherited |
Reimplemented from PNS_KICAD_IFACE_BASE.
Definition at line 1535 of file pns_kicad_iface.cpp.
References PNS_LAYER_RANGE::End(), PNS_KICAD_IFACE_BASE::GetBoardLayerFromPNSLayer(), KIGFX::VIEW::IsLayerVisible(), PNS_KICAD_IFACE::m_view, and PNS_LAYER_RANGE::Start().
Referenced by PNS::TOOL_BASE::pickSingleItem().
|
overridevirtualinherited |
Implements PNS::ROUTER_IFACE.
Definition at line 1583 of file pns_kicad_iface.cpp.
References PNS_KICAD_IFACE_BASE::GetBoardLayerFromPNSLayer(), PNS_LAYER_RANGE::Intersection(), PNS::ITEM::Layers(), pad, PNS::ITEM::Parent(), PCB_PAD_T, PCB_VIA_T, EDA_ITEM::Type(), and via.
|
overridevirtualinherited |
Default is all layers
Implements PNS::ROUTER_IFACE.
Definition at line 1550 of file pns_kicad_iface.cpp.
References PNS_KICAD_IFACE_BASE::GetBoardLayerFromPNSLayer(), PNS::ITEM::Layers(), PNS_LAYER_RANGE::Overlaps(), pad, PNS::ITEM::Parent(), PCB_PAD_T, PCB_VIA_T, EDA_ITEM::Type(), and via.
|
overridevirtualinherited |
Reimplemented from PNS_KICAD_IFACE_BASE.
Definition at line 1627 of file pns_kicad_iface.cpp.
References KIGFX::RENDER_SETTINGS::GetHighContrast(), BOARD_ITEM::GetLayerSet(), KIGFX::VIEW::GetPainter(), KIGFX::RENDER_SETTINGS::GetPrimaryHighContrastLayer(), KIGFX::VIEW::GetScale(), KIGFX::PAINTER::GetSettings(), BOARD_ITEM::IsOnLayer(), KIGFX::VIEW::IsVisible(), PNS_KICAD_IFACE::m_hiddenItems, PNS_KICAD_IFACE::m_view, PNS::ITEM::Parent(), LSET::Seq(), and KIGFX::VIEW_ITEM::ViewGetLOD().
Referenced by PNS::TOOL_BASE::snapToItem().
|
inherited |
Definition at line 1529 of file pns_kicad_iface.cpp.
Referenced by PNS_KICAD_IFACE_BASE::syncGraphicalItem(), and PNS_KICAD_IFACE_BASE::syncTextItem().
|
overridevirtualinherited |
Implements PNS::ROUTER_IFACE.
Definition at line 1522 of file pns_kicad_iface.cpp.
References PNS_KICAD_IFACE_BASE::GetBoardLayerFromPNSLayer().
Referenced by PNS::TOOL_BASE::pickSingleItem().
|
protectedinherited |
Definition at line 1962 of file pns_kicad_iface.cpp.
References SEG::A, PADSTACK::ALL_LAYERS, PNS::ITEM::ARC_T, SEG::B, SHAPE_ARC::GetArcMid(), PNS_KICAD_IFACE_BASE::GetBoardLayerFromPNSLayer(), SHAPE_ARC::GetP0(), SHAPE_ARC::GetP1(), PNS::ITEM::Kind(), PNS_KICAD_IFACE::m_commit, PNS_KICAD_IFACE::m_fpOffsets, pad, PNS::ITEM::Parent(), PNS::SEGMENT::Seg(), PNS::ITEM::SEGMENT_T, PCB_VIA::SetDrill(), PCB_TRACK::SetEnd(), PCB_VIA::SetIsFree(), PCB_VIA::SetLayerPair(), PCB_ARC::SetMid(), BOARD_CONNECTED_ITEM::SetNet(), PCB_VIA::SetPosition(), PCB_TRACK::SetStart(), PCB_VIA::SetViaType(), PCB_TRACK::SetWidth(), PCB_VIA::SetWidth(), PNS::ARC::Shape(), PNS::ITEM::SOLID_T, via, PNS::ITEM::VIA_T, PNS::ARC::Width(), PNS::SEGMENT::Width(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PNS_KICAD_IFACE::UpdateItem(), and UpdateItem().
|
inlineoverridevirtual |
Reimplemented from PNS_KICAD_IFACE.
Definition at line 76 of file generator_tool_pns_proxy.cpp.
References m_changes, PNS_KICAD_IFACE::m_fpOffsets, PNS::ITEM::OfKind(), pad, PNS::ITEM::Parent(), and PNS::ITEM::SOLID_T.
|
inherited |
Definition at line 1515 of file pns_kicad_iface.cpp.
References PNS_KICAD_IFACE_BASE::m_board.
Referenced by ROUTER_TOOL::handleLayerSwitch(), PNS::TOOL_BASE::Reset(), and GENERATOR_TOOL_PNS_PROXY::Reset().
|
inlineinherited |
Definition at line 150 of file pns_kicad_iface.h.
References PNS_KICAD_IFACE::m_commitFlags.
Referenced by ROUTER_TOOL::performRouting(), and ROUTER_TOOL::RouteSelected().
|
inherited |
Definition at line 1786 of file pns_kicad_iface.cpp.
References PNS_KICAD_IFACE_BASE::m_debugDecorator.
|
inlineoverridevirtual |
Reimplemented from PNS_KICAD_IFACE.
Definition at line 39 of file generator_tool_pns_proxy.cpp.
References ClearCommits(), PNS_KICAD_IFACE::m_commit, and PNS_KICAD_IFACE::m_tool.
|
inherited |
Definition at line 2277 of file pns_kicad_iface.cpp.
References PNS_KICAD_IFACE_BASE::GetPNSLayerFromBoardLayer().
Referenced by PNS_KICAD_IFACE_BASE::syncPad(), and PNS_KICAD_IFACE_BASE::syncVia().
|
inherited |
Definition at line 2271 of file pns_kicad_iface.cpp.
References PNS_KICAD_IFACE_BASE::GetPNSLayerFromBoardLayer(), and PNS_KICAD_IFACE_BASE::m_startLayer.
Referenced by ROUTER_TOOL::prepareInteractive(), and PCB_TUNING_PATTERN::Update().
|
inlineinherited |
Definition at line 90 of file pns_kicad_iface.h.
References PNS_KICAD_IFACE_BASE::m_startLayer.
|
inherited |
Definition at line 2169 of file pns_kicad_iface.cpp.
References KIGFX::VIEW::Add(), KIGFX::VIEW_GROUP::FreeItems(), ADVANCED_CFG::GetCfg(), LAYER_SELECT_OVERLAY, PNS_KICAD_IFACE_BASE::m_debugDecorator, PNS_KICAD_IFACE::m_previewItems, PNS_KICAD_IFACE::m_view, PNS::DEBUG_DECORATOR::SetDebugEnabled(), and KIGFX::VIEW_GROUP::SetLayer().
Referenced by PNS::TOOL_BASE::Reset(), and GENERATOR_TOOL_PNS_PROXY::Reset().
|
overridevirtualinherited |
Implements PNS::ROUTER_IFACE.
Definition at line 861 of file pns_kicad_iface.cpp.
References PNS_KICAD_IFACE_BASE::GetBoardLayerFromPNSLayer(), BOARD::GetDesignSettings(), BOARD_STACKUP::GetLayerDistance(), BOARD_DESIGN_SETTINGS::GetStackupDescriptor(), PNS_KICAD_IFACE_BASE::m_board, and BOARD_DESIGN_SETTINGS::m_UseHeightForLengthCalcs.
Definition at line 1269 of file pns_kicad_iface.cpp.
References PCB_TRACK::GetEnd(), BOARD_ITEM::GetLayer(), PCB_ARC::GetMid(), BOARD_CONNECTED_ITEM::GetNet(), BOARD_ITEM::GetParentGroup(), PNS_KICAD_IFACE_BASE::GetPNSLayerFromBoardLayer(), PCB_TRACK::GetStart(), PCB_TRACK::GetWidth(), IN_EDIT, BOARD_ITEM::IsLocked(), and PNS::MK_LOCKED.
Referenced by PNS_KICAD_IFACE_BASE::SyncWorld().
|
protectedinherited |
Definition at line 1464 of file pns_kicad_iface.cpp.
References PNS::NODE::Add(), Edge_Cuts, PCB_SHAPE::GetConnectionPoints(), BOARD::GetCopperLayerCount(), PCB_SHAPE::GetLayer(), BOARD_CONNECTED_ITEM::GetNet(), PNS_KICAD_IFACE_BASE::GetPNSLayerFromBoardLayer(), PNS_KICAD_IFACE_BASE::IsKicadCopperLayer(), PNS_KICAD_IFACE_BASE::m_board, EDA_SHAPE::MakeEffectiveShapes(), Margin, SH_ARC, SH_LINE_CHAIN, and SH_SEGMENT.
Referenced by PNS_KICAD_IFACE_BASE::SyncWorld().
|
protectedinherited |
Definition at line 1129 of file pns_kicad_iface.cpp.
References B_Cu, BOARD_ITEM::BoardCopperLayerCount(), LSET::CuStack(), PADSTACK::CUSTOM, ERROR_OUTSIDE, F_Cu, PADSTACK::ForEachUniqueLayer(), PADSTACK::FRONT_INNER_BACK, PAD::GetAttribute(), PAD::GetDrillSize(), PAD::GetEffectiveHoleShape(), PAD::GetEffectivePolygon(), PAD::GetEffectiveShape(), PAD::GetLayerSet(), BOARD_CONNECTED_ITEM::GetNet(), PAD::GetOffset(), PAD::GetOrientation(), PAD::GetPadToDieLength(), PNS_KICAD_IFACE_BASE::GetPNSLayerFromBoardLayer(), PAD::IsFreePad(), PADSTACK::Mode(), PAD::Padstack(), RotatePoint(), PNS_KICAD_IFACE_BASE::SetLayersFromPCBNew(), PAD::ShapePos(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PNS_KICAD_IFACE_BASE::SyncWorld().
|
protectedinherited |
Definition at line 1433 of file pns_kicad_iface.cpp.
References PNS::NODE::Add(), SHAPE_SIMPLE::Append(), SHAPE_LINE_CHAIN::CPoints(), ERROR_OUTSIDE, BOARD::GetDesignSettings(), BOARD_ITEM::GetLayer(), PNS_KICAD_IFACE_BASE::GetPNSLayerFromBoardLayer(), PNS_KICAD_IFACE_BASE::IsKicadCopperLayer(), PNS_KICAD_IFACE_BASE::m_board, BOARD_DESIGN_SETTINGS::m_MaxError, SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), and PCB_TEXT::TransformShapeToPolygon().
Referenced by PNS_KICAD_IFACE_BASE::SyncWorld().
|
protectedinherited |
Definition at line 1247 of file pns_kicad_iface.cpp.
References PCB_TRACK::GetEnd(), BOARD_ITEM::GetLayer(), BOARD_CONNECTED_ITEM::GetNet(), BOARD_ITEM::GetParentGroup(), PNS_KICAD_IFACE_BASE::GetPNSLayerFromBoardLayer(), PCB_TRACK::GetStart(), PCB_TRACK::GetWidth(), IN_EDIT, BOARD_ITEM::IsLocked(), and PNS::MK_LOCKED.
Referenced by PNS_KICAD_IFACE_BASE::SyncWorld().
Definition at line 1291 of file pns_kicad_iface.cpp.
References PADSTACK::ALL_LAYERS, PCB_VIA::BottomLayer(), PADSTACK::CUSTOM, PNS::VIA::CUSTOM, PADSTACK::ForEachUniqueLayer(), PADSTACK::FRONT_INNER_BACK, PNS::VIA::FRONT_INNER_BACK, PCB_VIA::GetDrillValue(), PCB_VIA::GetIsFree(), BOARD_CONNECTED_ITEM::GetNet(), BOARD_ITEM::GetParentGroup(), PNS_KICAD_IFACE_BASE::GetPNSLayerFromBoardLayer(), PCB_VIA::GetPosition(), PCB_VIA::GetViaType(), PCB_VIA::GetWidth(), IN_EDIT, PADSTACK::INNER_LAYERS, BOARD_ITEM::IsLocked(), PCB_VIA::LayerPair(), PNS::HOLE::MakeCircularHole(), PNS::MK_LOCKED, PADSTACK::Mode(), PADSTACK::NORMAL, PCB_VIA::Padstack(), PNS_KICAD_IFACE_BASE::SetLayersFromPCBNew(), PCB_VIA::TopLayer(), and via.
Referenced by PNS_KICAD_IFACE_BASE::SyncWorld().
|
overridevirtualinherited |
Implements PNS::ROUTER_IFACE.
Definition at line 1658 of file pns_kicad_iface.cpp.
References PNS::NODE::Add(), PNS::NODE::AddEdgeExclusion(), PNS_PCBNEW_RULE_RESOLVER::ClearanceEpsilon(), BOARD::Drawings(), BOARD::Footprints(), BOARD::GetBoardPolygonOutlines(), BOARD_ITEM::GetLayer(), BOARD::GetMaxClearanceValue(), PNS_KICAD_IFACE_BASE::m_board, PNS_KICAD_IFACE_BASE::m_ruleResolver, PNS_KICAD_IFACE_BASE::m_world, pad, PCB_ARC_T, PCB_SHAPE_T, PCB_TEXT_T, PCB_TEXTBOX_T, PCB_TRACE_T, PCB_VIA_T, PNS::NODE::SetMaxClearance(), PNS::NODE::SetRuleResolver(), PNS_KICAD_IFACE_BASE::syncArc(), PNS_KICAD_IFACE_BASE::syncGraphicalItem(), PNS_KICAD_IFACE_BASE::syncPad(), PNS_KICAD_IFACE_BASE::syncTextItem(), PNS_KICAD_IFACE_BASE::syncTrack(), PNS_KICAD_IFACE_BASE::syncVia(), PNS_KICAD_IFACE_BASE::syncZone(), BOARD::Tracks(), via, and BOARD::Zones().
|
protectedinherited |
Definition at line 1369 of file pns_kicad_iface.cpp.
References _, PNS::NODE::Add(), SHAPE_SIMPLE::Append(), B_Cu, SHAPE_POLY_SET::CacheTriangulation(), KIDIALOG::DoNotShowCheckbox(), F_Cu, BOARD::GetCopperLayerCount(), ZONE::GetIsRuleArea(), ZONE::GetItemDescription(), ZONE::GetLayerSet(), PNS_KICAD_IFACE_BASE::GetPNSLayerFromBoardLayer(), SHAPE_POLY_SET::TRIANGULATED_POLYGON::GetTriangle(), SHAPE_POLY_SET::TRIANGULATED_POLYGON::GetTriangleCount(), PNS_KICAD_IFACE_BASE::GetUnits(), ZONE::HasKeepoutParametersSet(), SHAPE_POLY_SET::IsTriangulationUpToDate(), KIDIALOG::KD_WARNING, PNS_KICAD_IFACE_BASE::m_board, ZONE::Outline(), pcbIUScale, KIDIALOG::ShowModal(), SHAPE_POLY_SET::TriangulatedPolyCount(), and SHAPE_POLY_SET::TriangulatedPolygon().
Referenced by PNS_KICAD_IFACE_BASE::SyncWorld().
|
inlineoverridevirtual |
Reimplemented from PNS_KICAD_IFACE.
Definition at line 71 of file generator_tool_pns_proxy.cpp.
References PNS_KICAD_IFACE::modifyBoardItem().
|
overridevirtualinherited |
Reimplemented from PNS_KICAD_IFACE_BASE.
Definition at line 2216 of file pns_kicad_iface.cpp.
References PNS_KICAD_IFACE::GetNetName().
|
protectedinherited |
Definition at line 118 of file pns_kicad_iface.h.
Referenced by PNS_KICAD_IFACE::createBoardItem(), PNS_KICAD_IFACE::DisplayRatline(), PNS_KICAD_IFACE_BASE::GetBoard(), PNS_KICAD_IFACE_BASE::GetBoardLayerFromPNSLayer(), PNS_KICAD_IFACE_BASE::GetPNSLayerFromBoardLayer(), PNS_KICAD_IFACE::HideItem(), PNS_KICAD_IFACE_BASE::ImportSizes(), PNS_KICAD_IFACE_BASE::PNS_KICAD_IFACE_BASE(), PNS_KICAD_IFACE_BASE::SetBoard(), PNS_KICAD_IFACE_BASE::StackupHeight(), PNS_KICAD_IFACE_BASE::syncGraphicalItem(), PNS_KICAD_IFACE_BASE::syncTextItem(), PNS_KICAD_IFACE_BASE::SyncWorld(), and PNS_KICAD_IFACE_BASE::syncZone().
|
private |
Definition at line 98 of file generator_tool_pns_proxy.cpp.
Referenced by AddItem(), Changes(), ClearCommits(), Commit(), and RemoveItem().
|
protectedinherited |
Definition at line 167 of file pns_kicad_iface.h.
Referenced by PNS_KICAD_IFACE::AddItem(), PNS_KICAD_IFACE::Commit(), PNS_KICAD_IFACE::modifyBoardItem(), PNS_KICAD_IFACE::RemoveItem(), PNS_KICAD_IFACE::SetHostTool(), and SetHostTool().
|
protectedinherited |
Definition at line 168 of file pns_kicad_iface.h.
Referenced by PNS_KICAD_IFACE::Commit(), PNS_KICAD_IFACE::PNS_KICAD_IFACE(), and PNS_KICAD_IFACE::SetCommitFlags().
|
protectedinherited |
Definition at line 105 of file pns_kicad_iface.h.
Referenced by PNS_KICAD_IFACE::EraseView(), PNS_KICAD_IFACE_BASE::GetDebugDecorator(), PNS_KICAD_IFACE_BASE::PNS_KICAD_IFACE_BASE(), PNS_KICAD_IFACE_BASE::SetDebugDecorator(), PNS_KICAD_IFACE::SetView(), and PNS_KICAD_IFACE_BASE::~PNS_KICAD_IFACE_BASE().
Definition at line 161 of file pns_kicad_iface.h.
Referenced by PNS_KICAD_IFACE::Commit(), PNS_KICAD_IFACE::createBoardItem(), PNS_KICAD_IFACE::modifyBoardItem(), PNS_KICAD_IFACE::RemoveItem(), and RemoveItem().
|
protectedinherited |
Definition at line 164 of file pns_kicad_iface.h.
Referenced by PNS_KICAD_IFACE::EraseView(), PNS_KICAD_IFACE::HideItem(), and PNS_KICAD_IFACE::IsItemVisible().
|
protectedinherited |
Definition at line 163 of file pns_kicad_iface.h.
Referenced by PNS_KICAD_IFACE::DisplayItem(), PNS_KICAD_IFACE::DisplayPathLine(), PNS_KICAD_IFACE::DisplayRatline(), PNS_KICAD_IFACE::EraseView(), PNS_KICAD_IFACE::PNS_KICAD_IFACE(), PNS_KICAD_IFACE::SetView(), and PNS_KICAD_IFACE::~PNS_KICAD_IFACE().
|
protectedinherited |
Definition at line 104 of file pns_kicad_iface.h.
Referenced by PNS_KICAD_IFACE_BASE::GetRuleResolver(), PNS_KICAD_IFACE_BASE::ImportSizes(), PNS_KICAD_IFACE_BASE::PNS_KICAD_IFACE_BASE(), PNS_KICAD_IFACE_BASE::SyncWorld(), and PNS_KICAD_IFACE_BASE::~PNS_KICAD_IFACE_BASE().
|
protectedinherited |
Definition at line 119 of file pns_kicad_iface.h.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes(), PNS_KICAD_IFACE_BASE::PNS_KICAD_IFACE_BASE(), PNS_KICAD_IFACE_BASE::SetStartLayerFromPCBNew(), and PNS_KICAD_IFACE_BASE::SetStartLayerFromPNS().
|
protectedinherited |
Definition at line 166 of file pns_kicad_iface.h.
Referenced by PNS_KICAD_IFACE::Commit(), PNS_KICAD_IFACE::DisplayItem(), PNS_KICAD_IFACE::GetUnits(), PNS_KICAD_IFACE::PNS_KICAD_IFACE(), PNS_KICAD_IFACE::SetHostTool(), and SetHostTool().
|
protectedinherited |
Definition at line 162 of file pns_kicad_iface.h.
Referenced by PNS_KICAD_IFACE::DisplayItem(), PNS_KICAD_IFACE::DisplayPathLine(), PNS_KICAD_IFACE::DisplayRatline(), PNS_KICAD_IFACE::EraseView(), PNS_KICAD_IFACE::HideItem(), PNS_KICAD_IFACE::IsAnyLayerVisible(), PNS_KICAD_IFACE::IsItemVisible(), PNS_KICAD_IFACE::PNS_KICAD_IFACE(), and PNS_KICAD_IFACE::SetView().
|
protectedinherited |
Definition at line 117 of file pns_kicad_iface.h.
Referenced by PNS_KICAD_IFACE_BASE::GetWorld(), PNS_KICAD_IFACE_BASE::PNS_KICAD_IFACE_BASE(), and PNS_KICAD_IFACE_BASE::SyncWorld().