KiCad PCB EDA Suite
|
#include <pcb_keepout.h>
Public Member Functions | |
PCB_KEEPOUT (PCB_CALLBACKS *aCallbacks, BOARD *aBoard, int aPCadLayer) | |
~PCB_KEEPOUT () | |
virtual bool | Parse (XNODE *aNode, const wxString &aDefaultMeasurementUnit, const wxString &aActualConversion) override |
virtual void | SetPosOffset (int aX_offs, int aY_offs) override |
virtual void | Flip () override |
void | AddToFootprint (FOOTPRINT *aFootprint) override |
void | AddToBoard () override |
void | AssignNet (const wxString &aNetName) |
void | SetOutline (VERTICES_ARRAY *aOutline) |
void | FormPolygon (XNODE *aNode, VERTICES_ARRAY *aPolygon, const wxString &aDefaultUnits, const wxString &actualConversion) |
PCB_LAYER_ID | GetKiCadLayer () const |
int | GetNetCode (const wxString &aNetName) const |
Public Attributes | |
int | m_width |
int | m_priority |
VERTICES_ARRAY | m_outline |
ISLANDS_ARRAY | m_islands |
ISLANDS_ARRAY | m_cutouts |
int | m_tag |
char | m_objType |
int | m_PCadLayer |
PCB_LAYER_ID | m_KiCadLayer |
KIID | m_uuid |
int | m_positionX |
int | m_positionY |
EDA_ANGLE | m_rotation |
TTEXTVALUE | m_name |
wxString | m_net |
int | m_netCode |
wxString | m_compRef |
wxString | m_patGraphRefName |
Protected Attributes | |
bool | m_filled |
PCB_CALLBACKS * | m_callbacks |
BOARD * | m_board |
Definition at line 36 of file pcb_keepout.h.
PCAD2KICAD::PCB_KEEPOUT::PCB_KEEPOUT | ( | PCB_CALLBACKS * | aCallbacks, |
BOARD * | aBoard, | ||
int | aPCadLayer | ||
) |
Definition at line 34 of file pcb_keepout.cpp.
References PCAD2KICAD::PCB_COMPONENT::m_objType.
PCAD2KICAD::PCB_KEEPOUT::~PCB_KEEPOUT | ( | ) |
Definition at line 43 of file pcb_keepout.cpp.
|
overridevirtualinherited |
Implements PCAD2KICAD::PCB_COMPONENT.
Definition at line 185 of file pcb_polygon.cpp.
References BOARD::Add(), APPEND, ZONE::AppendCorner(), DIAGONAL_EDGE, ZONE::GetDefaultHatchPitch(), KiROUND(), PCAD2KICAD::PCB_COMPONENT::m_board, PCAD2KICAD::PCB_COMPONENT::m_KiCadLayer, PCAD2KICAD::PCB_COMPONENT::m_netCode, PCAD2KICAD::PCB_COMPONENT::m_objType, PCAD2KICAD::PCB_POLYGON::m_outline, PCAD2KICAD::PCB_POLYGON::m_priority, PCAD2KICAD::PCB_POLYGON::m_width, ZONE::SetAssignedPriority(), ZONE::SetBorderDisplayStyle(), ZONE::SetDoNotAllowCopperPour(), ZONE::SetDoNotAllowFootprints(), ZONE::SetDoNotAllowPads(), ZONE::SetDoNotAllowTracks(), ZONE::SetDoNotAllowVias(), ZONE::SetIsRuleArea(), ZONE::SetLayer(), ZONE::SetLocalClearance(), and BOARD_CONNECTED_ITEM::SetNetCode().
|
overridevirtualinherited |
Reimplemented from PCAD2KICAD::PCB_COMPONENT.
Definition at line 161 of file pcb_polygon.cpp.
References FOOTPRINT::Add(), IsNonCopperLayer(), PCAD2KICAD::PCB_COMPONENT::m_KiCadLayer, PCAD2KICAD::PCB_POLYGON::m_outline, POLY, FP_SHAPE::SetDrawCoord(), FP_SHAPE::SetEnd0(), BOARD_ITEM::SetLayer(), EDA_SHAPE::SetPolyPoints(), FP_SHAPE::SetStart0(), and PCB_SHAPE::SetStroke().
|
inherited |
Definition at line 86 of file pcb_polygon.cpp.
References PCAD2KICAD::PCB_COMPONENT::GetNetCode(), PCAD2KICAD::PCB_COMPONENT::m_net, and PCAD2KICAD::PCB_COMPONENT::m_netCode.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::DoLayerContentsObjects().
|
overridevirtualinherited |
Reimplemented from PCAD2KICAD::PCB_COMPONENT.
Definition at line 237 of file pcb_polygon.cpp.
References PCAD2KICAD::PCB_COMPONENT::Flip(), FlipLayer(), and PCAD2KICAD::PCB_COMPONENT::m_KiCadLayer.
|
inherited |
Definition at line 108 of file pcb_polygon.cpp.
References PCAD2KICAD::FindNode(), XNODE::GetNext(), and PCAD2KICAD::SetDoublePrecisionPosition().
Referenced by PCAD2KICAD::PCB_FOOTPRINT::DoLayerContentsObjects(), Parse(), PCAD2KICAD::PCB_CUTOUT::Parse(), PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), and PCAD2KICAD::PCB_PLANE::Parse().
|
inlineinherited |
Definition at line 56 of file pcb_component.h.
References PCAD2KICAD::PCB_CALLBACKS::GetKiCadLayer(), PCAD2KICAD::PCB_COMPONENT::m_callbacks, and PCAD2KICAD::PCB_COMPONENT::m_PCadLayer.
Referenced by PCAD2KICAD::PCB::GetBoardOutline(), PCAD2KICAD::PCB_PAD_SHAPE::Parse(), PCAD2KICAD::PCB_VIA_SHAPE::Parse(), PCAD2KICAD::PCB_ARC::Parse(), PCAD2KICAD::PCB_LINE::Parse(), PCAD2KICAD::PCB_TEXT::Parse(), and PCAD2KICAD::PCB_POLYGON::PCB_POLYGON().
|
inlineinherited |
Definition at line 58 of file pcb_component.h.
References PCAD2KICAD::PCB_CALLBACKS::GetNetCode(), and PCAD2KICAD::PCB_COMPONENT::m_callbacks.
Referenced by PCAD2KICAD::PCB_POLYGON::AssignNet(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_PLANE::Parse(), PCAD2KICAD::PCB_VIA::Parse(), and PCAD2KICAD::PCB_LINE::Parse().
|
overridevirtual |
Reimplemented from PCAD2KICAD::PCB_POLYGON.
Definition at line 48 of file pcb_keepout.cpp.
References PCAD2KICAD::FindNode(), PCAD2KICAD::PCB_POLYGON::FormPolygon(), PCAD2KICAD::PCB_POLYGON::m_outline, PCAD2KICAD::PCB_COMPONENT::m_positionX, and PCAD2KICAD::PCB_COMPONENT::m_positionY.
Referenced by PCAD2KICAD::PCB::DoPCBComponents().
|
inherited |
Definition at line 92 of file pcb_polygon.cpp.
References PCAD2KICAD::PCB_POLYGON::m_outline, PCAD2KICAD::PCB_COMPONENT::m_positionX, and PCAD2KICAD::PCB_COMPONENT::m_positionY.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::DoLayerContentsObjects().
|
overridevirtualinherited |
Reimplemented from PCAD2KICAD::PCB_COMPONENT.
Definition at line 245 of file pcb_polygon.cpp.
References PCAD2KICAD::PCB_POLYGON::m_cutouts, PCAD2KICAD::PCB_POLYGON::m_islands, PCAD2KICAD::PCB_POLYGON::m_outline, and PCAD2KICAD::PCB_COMPONENT::SetPosOffset().
|
protectedinherited |
Definition at line 79 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB::AddToBoard(), PCAD2KICAD::PCB_ARC::AddToBoard(), PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_LINE::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), PCAD2KICAD::PCB_POLYGON::AddToBoard(), PCAD2KICAD::PCB_TEXT::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB_FOOTPRINT::DoLayerContentsObjects(), PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_FOOTPRINT::Parse(), and PCAD2KICAD::PCB::ParseBoard().
|
protectedinherited |
Definition at line 78 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::DoLayerContentsObjects(), PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_COMPONENT::GetKiCadLayer(), PCAD2KICAD::PCB_COMPONENT::GetNetCode(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_VIA::Parse(), and PCAD2KICAD::PCB_FOOTPRINT::Parse().
|
inherited |
Definition at line 74 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB::DoPCBComponents(), and PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT().
|
inherited |
Definition at line 68 of file pcb_polygon.h.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::DoLayerContentsObjects(), PCAD2KICAD::PCB_POLYGON::SetPosOffset(), and PCAD2KICAD::PCB_POLYGON::~PCB_POLYGON().
|
protectedinherited |
Definition at line 71 of file pcb_polygon.h.
Referenced by PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_COPPER_POUR::PCB_COPPER_POUR(), and PCAD2KICAD::PCB_POLYGON::PCB_POLYGON().
|
inherited |
Definition at line 67 of file pcb_polygon.h.
Referenced by PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_POLYGON::SetPosOffset(), and PCAD2KICAD::PCB_POLYGON::~PCB_POLYGON().
|
inherited |
Definition at line 66 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_ARC::AddToBoard(), PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_LINE::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), PCAD2KICAD::PCB_POLYGON::AddToBoard(), PCAD2KICAD::PCB_TEXT::AddToBoard(), PCAD2KICAD::PCB_ARC::AddToFootprint(), PCAD2KICAD::PCB_LINE::AddToFootprint(), PCAD2KICAD::PCB_POLYGON::AddToFootprint(), PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB_ARC::Flip(), PCAD2KICAD::PCB_LINE::Flip(), PCAD2KICAD::PCB_PAD::Flip(), PCAD2KICAD::PCB_POLYGON::Flip(), PCAD2KICAD::PCB_PAD_SHAPE::Parse(), PCAD2KICAD::PCB_VIA_SHAPE::Parse(), PCAD2KICAD::PCB_ARC::Parse(), PCAD2KICAD::PCB_LINE::Parse(), PCAD2KICAD::PCB_TEXT::Parse(), PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT(), PCAD2KICAD::PCB_FOOTPRINT::PCB_FOOTPRINT(), and PCAD2KICAD::PCB_POLYGON::PCB_POLYGON().
|
inherited |
Definition at line 71 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), PCAD2KICAD::PCB_TEXT::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB::ConnectPinToNet(), PCAD2KICAD::PCB_FOOTPRINT::DoLayerContentsObjects(), PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_TEXT::Parse(), PCAD2KICAD::PCB_FOOTPRINT::Parse(), PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT(), and PCAD2KICAD::PCB_FOOTPRINT::SetName().
|
inherited |
Definition at line 72 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB_POLYGON::AssignNet(), PCAD2KICAD::PCB::ConnectPinToNet(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_PLANE::Parse(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_LINE::Parse(), and PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT().
|
inherited |
Definition at line 73 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_LINE::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), PCAD2KICAD::PCB_POLYGON::AddToBoard(), PCAD2KICAD::PCB_POLYGON::AssignNet(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_PLANE::Parse(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_LINE::Parse(), and PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT().
|
inherited |
Definition at line 64 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), PCAD2KICAD::PCB_POLYGON::AddToBoard(), PCAD2KICAD::PCB::ConnectPinToNet(), PCAD2KICAD::PCB_FOOTPRINT::Flip(), PCAD2KICAD::PCB_PAD::Flip(), PCAD2KICAD::PCB::ParseBoard(), PCAD2KICAD::PCB_ARC::PCB_ARC(), PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT(), PCAD2KICAD::PCB_CUTOUT::PCB_CUTOUT(), PCAD2KICAD::PCB_FOOTPRINT::PCB_FOOTPRINT(), PCB_KEEPOUT(), PCAD2KICAD::PCB_LINE::PCB_LINE(), PCAD2KICAD::PCB_PAD::PCB_PAD(), PCAD2KICAD::PCB_POLYGON::PCB_POLYGON(), PCAD2KICAD::PCB_TEXT::PCB_TEXT(), PCAD2KICAD::PCB_VIA::PCB_VIA(), and PCAD2KICAD::PCB_FOOTPRINT::SetName().
|
inherited |
Definition at line 66 of file pcb_polygon.h.
Referenced by PCAD2KICAD::PCB_POLYGON::AddToBoard(), PCAD2KICAD::PCB_POLYGON::AddToFootprint(), Parse(), PCAD2KICAD::PCB_CUTOUT::Parse(), PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_PLANE::Parse(), PCAD2KICAD::PCB_POLYGON::SetOutline(), PCAD2KICAD::PCB_POLYGON::SetPosOffset(), and PCAD2KICAD::PCB_POLYGON::~PCB_POLYGON().
|
inherited |
Definition at line 75 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_FOOTPRINT::Parse(), and PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT().
|
inherited |
Definition at line 65 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_COMPONENT::GetKiCadLayer(), PCAD2KICAD::PCB_PAD_SHAPE::Parse(), PCAD2KICAD::PCB_VIA_SHAPE::Parse(), PCAD2KICAD::PCB_ARC::Parse(), PCAD2KICAD::PCB_LINE::Parse(), PCAD2KICAD::PCB_TEXT::Parse(), PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT(), and PCAD2KICAD::PCB_POLYGON::PCB_POLYGON().
|
inherited |
Definition at line 68 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_ARC::AddToBoard(), PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_LINE::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), PCAD2KICAD::PCB_TEXT::AddToBoard(), PCAD2KICAD::PCB_ARC::AddToFootprint(), PCAD2KICAD::PCB_LINE::AddToFootprint(), PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_COMPONENT::Flip(), Parse(), PCAD2KICAD::PCB_CUTOUT::Parse(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_PLANE::Parse(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_ARC::Parse(), PCAD2KICAD::PCB_LINE::Parse(), PCAD2KICAD::PCB_TEXT::Parse(), PCAD2KICAD::PCB::ParseBoard(), PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT(), PCAD2KICAD::PCB_POLYGON::SetOutline(), and PCAD2KICAD::PCB_COMPONENT::SetPosOffset().
|
inherited |
Definition at line 69 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_ARC::AddToBoard(), PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_LINE::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), PCAD2KICAD::PCB_TEXT::AddToBoard(), PCAD2KICAD::PCB_ARC::AddToFootprint(), PCAD2KICAD::PCB_LINE::AddToFootprint(), PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB::DoPCBComponents(), Parse(), PCAD2KICAD::PCB_CUTOUT::Parse(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_PLANE::Parse(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_ARC::Parse(), PCAD2KICAD::PCB_LINE::Parse(), PCAD2KICAD::PCB_TEXT::Parse(), PCAD2KICAD::PCB::ParseBoard(), PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT(), PCAD2KICAD::PCB_POLYGON::SetOutline(), and PCAD2KICAD::PCB_COMPONENT::SetPosOffset().
|
inherited |
Definition at line 65 of file pcb_polygon.h.
Referenced by PCAD2KICAD::PCB_POLYGON::AddToBoard(), PCAD2KICAD::PCB_PLANE::PCB_PLANE(), and PCAD2KICAD::PCB_POLYGON::PCB_POLYGON().
|
inherited |
Definition at line 70 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_TEXT::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_FOOTPRINT::Flip(), PCAD2KICAD::PCB_PAD::Flip(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_TEXT::Parse(), and PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT().
|
inherited |
Definition at line 63 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT().
|
inherited |
Definition at line 67 of file pcb_component.h.
|
inherited |
Definition at line 64 of file pcb_polygon.h.
Referenced by PCAD2KICAD::PCB_POLYGON::AddToBoard(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_PLANE::Parse(), and PCAD2KICAD::PCB_POLYGON::PCB_POLYGON().