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 952 of file pns_kicad_iface.cpp.
|
inline |
Definition at line 955 of file pns_kicad_iface.cpp.
References PNS::DEBUG_DECORATOR::DEBUG_DECORATOR(), m_depth, m_iface, m_items, and m_view.
|
inline |
Definition at line 963 of file pns_kicad_iface.cpp.
|
inlineoverridevirtual |
Reimplemented from PNS::DEBUG_DECORATOR.
Definition at line 1005 of file pns_kicad_iface.cpp.
References m_iface, m_items, m_view, nextDepth(), ROUTER_PREVIEW_ITEM::SetColor(), ROUTER_PREVIEW_ITEM::SetDepth(), ROUTER_PREVIEW_ITEM::SetWidth(), and KIGFX::COLOR4D::WithAlpha().
|
inlineoverridevirtual |
Reimplemented from PNS::DEBUG_DECORATOR.
Definition at line 987 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.
|
inlineinherited |
Definition at line 99 of file pns_debug_decorator.h.
References SEG::A, AddShape(), SHAPE_LINE_CHAIN::Append(), and SEG::B.
|
inlineoverridevirtual |
Reimplemented from PNS::DEBUG_DECORATOR.
Definition at line 1022 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().
|
inlineoverridevirtual |
Reimplemented from PNS::DEBUG_DECORATOR.
Definition at line 1041 of file pns_kicad_iface.cpp.
References m_iface, m_items, m_view, nextDepth(), ROUTER_PREVIEW_ITEM::SetColor(), ROUTER_PREVIEW_ITEM::SetDepth(), ROUTER_PREVIEW_ITEM::SetWidth(), and KIGFX::COLOR4D::WithAlpha().
|
inlinevirtualinherited |
Reimplemented in PNS_TEST_DEBUG_DECORATOR.
Definition at line 72 of file pns_debug_decorator.h.
References name.
|
inlineoverridevirtual |
Reimplemented from PNS::DEBUG_DECORATOR.
Definition at line 1058 of file pns_kicad_iface.cpp.
References m_depth, m_items, and m_view.
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 m_debugEnabled.
|
inlineoverridevirtual |
Reimplemented from PNS::DEBUG_DECORATOR.
Definition at line 1070 of file pns_kicad_iface.cpp.
|
inlinevirtualinherited |
Reimplemented in PNS_TEST_DEBUG_DECORATOR.
Definition at line 69 of file pns_debug_decorator.h.
References name.
|
inlineprivate |
Definition at line 1077 of file pns_kicad_iface.cpp.
References m_depth, and m_view.
Referenced by AddItem(), and AddShape().
|
inlineinherited |
Definition at line 61 of file pns_debug_decorator.h.
References m_debugEnabled.
Referenced by PNS_TEST_DEBUG_DECORATOR::PNS_TEST_DEBUG_DECORATOR().
|
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 969 of file pns_kicad_iface.cpp.
References Clear(), LAYER_SELECT_OVERLAY, m_depth, m_items, and m_view.
|
privateinherited |
Definition at line 114 of file pns_debug_decorator.h.
Referenced by DEBUG_DECORATOR(), IsDebugEnabled(), and SetDebugEnabled().
|
private |
Definition at line 1093 of file pns_kicad_iface.cpp.
Referenced by Clear(), nextDepth(), PNS_PCBNEW_DEBUG_DECORATOR(), and SetView().
|
private |
Definition at line 1089 of file pns_kicad_iface.cpp.
Referenced by AddItem(), AddShape(), and PNS_PCBNEW_DEBUG_DECORATOR().
|
private |
Definition at line 1091 of file pns_kicad_iface.cpp.
Referenced by AddItem(), AddShape(), Clear(), PNS_PCBNEW_DEBUG_DECORATOR(), SetView(), and ~PNS_PCBNEW_DEBUG_DECORATOR().
|
private |
Definition at line 1090 of file pns_kicad_iface.cpp.
Referenced by AddItem(), AddShape(), Clear(), nextDepth(), PNS_PCBNEW_DEBUG_DECORATOR(), and SetView().