KiCad PCB EDA Suite
|
Public Member Functions | |
PNS_PCBNEW_DEBUG_DECORATOR (PNS::ROUTER_IFACE *aIface) | |
~PNS_PCBNEW_DEBUG_DECORATOR () | |
void | SetView (KIGFX::VIEW *aView) |
void | AddPoint (const VECTOR2I &aP, const KIGFX::COLOR4D &aColor, int aSize, const wxString &aName=wxT(""), const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) override |
void | AddItem (const PNS::ITEM *aItem, const KIGFX::COLOR4D &aColor, int aOverrideWidth=0, const wxString &aName=wxT(""), const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) override |
void | AddShape (const BOX2I &aBox, const KIGFX::COLOR4D &aColor, int aOverrideWidth=0, const wxString &aName=wxT(""), const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) override |
void | AddShape (const SHAPE *aShape, const KIGFX::COLOR4D &aColor, int aOverrideWidth=0, const wxString &aName=wxT(""), const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) override |
void | Clear () override |
virtual void | Message (const wxString &msg, const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) override |
void | SetDebugEnabled (bool aEnabled) |
bool | IsDebugEnabled () const |
virtual void | SetIteration (int iter) |
virtual void | NewStage (const wxString &name, int iter, const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) |
virtual void | BeginGroup (const wxString &name, int aLevel=0, const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) |
virtual void | EndGroup (const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) |
void | AddShape (const SEG &aSeg, const KIGFX::COLOR4D &aColor, int aOverrideWidth=0, const wxString &aName=wxT(""), const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) |
Private Member Functions | |
double | nextDepth () |
Private Attributes | |
PNS::ROUTER_IFACE * | m_iface |
KIGFX::VIEW * | m_view |
KIGFX::VIEW_GROUP * | m_items |
double | m_depth |
bool | m_debugEnabled |
Definition at line 942 of file pns_kicad_iface.cpp.
|
inline |
Definition at line 945 of file pns_kicad_iface.cpp.
|
inline |
Definition at line 953 of file pns_kicad_iface.cpp.
|
inlineoverridevirtual |
Reimplemented from PNS::DEBUG_DECORATOR.
Definition at line 995 of file pns_kicad_iface.cpp.
References KIGFX::VIEW_GROUP::Add(), m_iface, m_items, m_view, nextDepth(), ROUTER_PREVIEW_ITEM::SetColor(), ROUTER_PREVIEW_ITEM::SetDepth(), ROUTER_PREVIEW_ITEM::SetWidth(), KIGFX::VIEW::Update(), and KIGFX::COLOR4D::WithAlpha().
|
inlineoverridevirtual |
Reimplemented from PNS::DEBUG_DECORATOR.
Definition at line 977 of file pns_kicad_iface.cpp.
References AddShape(), SHAPE_LINE_CHAIN::Append(), SHAPE_LINE_CHAIN::SetWidth(), SHAPE_LINE_CHAIN::Width(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
inlineoverridevirtual |
Reimplemented from PNS::DEBUG_DECORATOR.
Definition at line 1012 of file pns_kicad_iface.cpp.
References AddShape(), SHAPE_LINE_CHAIN::Append(), BOX2< Vec >::GetOrigin(), BOX2< Vec >::GetSize(), SHAPE_LINE_CHAIN::SetWidth(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by AddPoint(), and AddShape().
|
inlineinherited |
Definition at line 99 of file pns_debug_decorator.h.
References SEG::A, PNS::DEBUG_DECORATOR::AddShape(), SHAPE_LINE_CHAIN::Append(), and SEG::B.
|
inlineoverridevirtual |
Reimplemented from PNS::DEBUG_DECORATOR.
Definition at line 1031 of file pns_kicad_iface.cpp.
References KIGFX::VIEW_GROUP::Add(), m_iface, m_items, m_view, nextDepth(), ROUTER_PREVIEW_ITEM::SetColor(), ROUTER_PREVIEW_ITEM::SetDepth(), ROUTER_PREVIEW_ITEM::SetWidth(), KIGFX::VIEW::Update(), and KIGFX::COLOR4D::WithAlpha().
|
inlinevirtualinherited |
Reimplemented in PNS_TEST_DEBUG_DECORATOR.
Definition at line 72 of file pns_debug_decorator.h.
|
inlineoverridevirtual |
Reimplemented from PNS::DEBUG_DECORATOR.
Definition at line 1048 of file pns_kicad_iface.cpp.
References KIGFX::VIEW_GROUP::FreeItems(), KIGFX::VIEW::GetGAL(), KIGFX::GAL::GetMinDepth(), m_depth, m_items, m_view, and KIGFX::VIEW::Update().
Referenced by SetView(), and ~PNS_PCBNEW_DEBUG_DECORATOR().
|
inlinevirtualinherited |
Reimplemented in PNS_TEST_DEBUG_DECORATOR.
Definition at line 75 of file pns_debug_decorator.h.
|
inlineinherited |
Definition at line 62 of file pns_debug_decorator.h.
References PNS::DEBUG_DECORATOR::m_debugEnabled.
|
inlineoverridevirtual |
Reimplemented from PNS::DEBUG_DECORATOR.
Definition at line 1060 of file pns_kicad_iface.cpp.
|
inlinevirtualinherited |
Reimplemented in PNS_TEST_DEBUG_DECORATOR.
Definition at line 69 of file pns_debug_decorator.h.
|
inlineprivate |
Definition at line 1067 of file pns_kicad_iface.cpp.
References KIGFX::VIEW::GetGAL(), KIGFX::GAL::GetMinDepth(), m_depth, and m_view.
Referenced by AddItem(), and AddShape().
|
inlineinherited |
Definition at line 61 of file pns_debug_decorator.h.
References PNS::DEBUG_DECORATOR::m_debugEnabled.
Referenced by PNS_TEST_DEBUG_DECORATOR::PNS_TEST_DEBUG_DECORATOR(), and PNS_KICAD_IFACE::SetView().
|
inlinevirtualinherited |
Reimplemented in PNS_TEST_DEBUG_DECORATOR.
Definition at line 64 of file pns_debug_decorator.h.
Referenced by PNS::SHOVE::shoveIteration().
|
inline |
Definition at line 959 of file pns_kicad_iface.cpp.
References KIGFX::VIEW::Add(), Clear(), KIGFX::VIEW::GetGAL(), KIGFX::GAL::GetMinDepth(), LAYER_SELECT_OVERLAY, m_depth, m_items, m_view, and KIGFX::VIEW_GROUP::SetLayer().
|
privateinherited |
Definition at line 114 of file pns_debug_decorator.h.
Referenced by PNS::DEBUG_DECORATOR::IsDebugEnabled(), and PNS::DEBUG_DECORATOR::SetDebugEnabled().
|
private |
Definition at line 1083 of file pns_kicad_iface.cpp.
Referenced by Clear(), nextDepth(), and SetView().
|
private |
Definition at line 1079 of file pns_kicad_iface.cpp.
Referenced by AddItem(), and AddShape().
|
private |
Definition at line 1081 of file pns_kicad_iface.cpp.
Referenced by AddItem(), AddShape(), Clear(), SetView(), and ~PNS_PCBNEW_DEBUG_DECORATOR().
|
private |
Definition at line 1080 of file pns_kicad_iface.cpp.
Referenced by AddItem(), AddShape(), Clear(), nextDepth(), and SetView().