KiCad PCB EDA Suite
|
#include <pcad_copper_pour.h>
Public Member Functions | |
PCAD_COPPER_POUR (PCAD_CALLBACKS *aCallbacks, BOARD *aBoard, int aPCadLayer) | |
~PCAD_COPPER_POUR () | |
virtual bool | Parse (XNODE *aNode, const wxString &aDefaultUnits, const wxString &aActualConversion) override |
virtual void | SetPosOffset (int aX_offs, int aY_offs) override |
virtual void | Flip () override |
void | AddToBoard (FOOTPRINT *aFootprint=nullptr) 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 |
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 |
PCAD_CALLBACKS * | m_callbacks |
BOARD * | m_board |
Definition at line 37 of file pcad_copper_pour.h.
PCAD2KICAD::PCAD_COPPER_POUR::PCAD_COPPER_POUR | ( | PCAD_CALLBACKS * | aCallbacks, |
BOARD * | aBoard, | ||
int | aPCadLayer | ||
) |
Definition at line 35 of file pcad_copper_pour.cpp.
References PCAD2KICAD::PCAD_POLYGON::m_filled.
PCAD2KICAD::PCAD_COPPER_POUR::~PCAD_COPPER_POUR | ( | ) |
Definition at line 42 of file pcad_copper_pour.cpp.
|
overridevirtualinherited |
Implements PCAD2KICAD::PCAD_PCB_COMPONENT.
Definition at line 155 of file pcad_polygon.cpp.
References BOARD::Add(), FOOTPRINT::Add(), ZONE::AppendCorner(), ZONE::GetDefaultHatchPitch(), FOOTPRINT::GetOrientation(), FOOTPRINT::GetPosition(), KiROUND(), PCAD2KICAD::PCAD_PCB_COMPONENT::m_board, PCAD2KICAD::PCAD_PCB_COMPONENT::m_KiCadLayer, PCAD2KICAD::PCAD_PCB_COMPONENT::m_NetCode, PCAD2KICAD::PCAD_PCB_COMPONENT::m_ObjType, PCAD2KICAD::PCAD_POLYGON::m_Outline, PCAD2KICAD::PCAD_POLYGON::m_Priority, PCAD2KICAD::PCAD_POLYGON::m_Width, PCB_SHAPE::Move(), PCB_SHAPE::Rotate(), ZONE::SetAssignedPriority(), ZONE::SetBorderDisplayStyle(), ZONE::SetDoNotAllowCopperPour(), ZONE::SetDoNotAllowFootprints(), ZONE::SetDoNotAllowPads(), ZONE::SetDoNotAllowTracks(), ZONE::SetDoNotAllowVias(), EDA_SHAPE::SetEnd(), ZONE::SetIsRuleArea(), PCB_SHAPE::SetLayer(), ZONE::SetLayer(), ZONE::SetLocalClearance(), BOARD_CONNECTED_ITEM::SetNetCode(), EDA_SHAPE::SetPolyPoints(), EDA_SHAPE::SetStart(), and PCB_SHAPE::SetStroke().
|
inherited |
Definition at line 80 of file pcad_polygon.cpp.
References PCAD2KICAD::PCAD_PCB_COMPONENT::GetNetCode(), PCAD2KICAD::PCAD_PCB_COMPONENT::m_Net, and PCAD2KICAD::PCAD_PCB_COMPONENT::m_NetCode.
Referenced by PCAD2KICAD::PCAD_FOOTPRINT::DoLayerContentsObjects().
|
overridevirtualinherited |
Reimplemented from PCAD2KICAD::PCAD_PCB_COMPONENT.
Definition at line 229 of file pcad_polygon.cpp.
References PCAD2KICAD::PCAD_PCB_COMPONENT::Flip(), BOARD::FlipLayer(), PCAD2KICAD::PCAD_PCB_COMPONENT::m_board, and PCAD2KICAD::PCAD_PCB_COMPONENT::m_KiCadLayer.
|
inherited |
Definition at line 102 of file pcad_polygon.cpp.
References PCAD2KICAD::FindNode(), XNODE::GetNext(), and PCAD2KICAD::SetDoublePrecisionPosition().
Referenced by PCAD2KICAD::PCAD_FOOTPRINT::DoLayerContentsObjects(), PCAD2KICAD::PCAD_KEEPOUT::Parse(), PCAD2KICAD::PCAD_CUTOUT::Parse(), PCAD2KICAD::PCAD_POLYGON::Parse(), Parse(), and PCAD2KICAD::PCAD_PLANE::Parse().
|
inlineinherited |
Definition at line 55 of file pcad_pcb_component.h.
References PCAD2KICAD::PCAD_CALLBACKS::GetKiCadLayer(), PCAD2KICAD::PCAD_PCB_COMPONENT::m_callbacks, and PCAD2KICAD::PCAD_PCB_COMPONENT::m_PCadLayer.
Referenced by PCAD2KICAD::PCAD_PCB::GetBoardOutline(), PCAD2KICAD::PCAD_PAD_SHAPE::Parse(), PCAD2KICAD::PCAD_VIA_SHAPE::Parse(), PCAD2KICAD::PCAD_ARC::Parse(), PCAD2KICAD::PCAD_LINE::Parse(), PCAD2KICAD::PCAD_TEXT::Parse(), and PCAD2KICAD::PCAD_POLYGON::PCAD_POLYGON().
|
inlineinherited |
Definition at line 57 of file pcad_pcb_component.h.
References PCAD2KICAD::PCAD_CALLBACKS::GetNetCode(), and PCAD2KICAD::PCAD_PCB_COMPONENT::m_callbacks.
Referenced by PCAD2KICAD::PCAD_POLYGON::AssignNet(), PCAD2KICAD::PCAD_PAD::Parse(), PCAD2KICAD::PCAD_POLYGON::Parse(), Parse(), PCAD2KICAD::PCAD_PLANE::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), and PCAD2KICAD::PCAD_LINE::Parse().
|
overridevirtual |
Reimplemented from PCAD2KICAD::PCAD_POLYGON.
Definition at line 47 of file pcad_copper_pour.cpp.
References PCAD2KICAD::FindNode(), PCAD2KICAD::PCAD_POLYGON::FormPolygon(), PCAD2KICAD::PCAD_PCB_COMPONENT::GetNetCode(), PCAD2KICAD::PCAD_POLYGON::m_filled, PCAD2KICAD::PCAD_PCB_COMPONENT::m_Net, PCAD2KICAD::PCAD_PCB_COMPONENT::m_NetCode, PCAD2KICAD::PCAD_POLYGON::m_Outline, PCAD2KICAD::PCAD_PCB_COMPONENT::m_PositionX, PCAD2KICAD::PCAD_PCB_COMPONENT::m_PositionY, PCAD2KICAD::PCAD_POLYGON::m_Width, and PCAD2KICAD::SetWidth().
Referenced by PCAD2KICAD::PCAD_FOOTPRINT::DoLayerContentsObjects().
|
inherited |
Definition at line 86 of file pcad_polygon.cpp.
References PCAD2KICAD::PCAD_POLYGON::m_Outline, PCAD2KICAD::PCAD_PCB_COMPONENT::m_PositionX, and PCAD2KICAD::PCAD_PCB_COMPONENT::m_PositionY.
Referenced by PCAD2KICAD::PCAD_FOOTPRINT::DoLayerContentsObjects().
|
overridevirtualinherited |
Reimplemented from PCAD2KICAD::PCAD_PCB_COMPONENT.
Definition at line 237 of file pcad_polygon.cpp.
References PCAD2KICAD::PCAD_POLYGON::m_Cutouts, PCAD2KICAD::PCAD_POLYGON::m_Islands, PCAD2KICAD::PCAD_POLYGON::m_Outline, and PCAD2KICAD::PCAD_PCB_COMPONENT::SetPosOffset().
|
protectedinherited |
Definition at line 78 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_ARC::AddToBoard(), PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCAD_LINE::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToBoard(), PCAD2KICAD::PCAD_PCB::AddToBoard(), PCAD2KICAD::PCAD_POLYGON::AddToBoard(), PCAD2KICAD::PCAD_TEXT::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToFootprint(), PCAD2KICAD::PCAD_FOOTPRINT::DoLayerContentsObjects(), PCAD2KICAD::PCAD_PCB::DoPCBComponents(), PCAD2KICAD::PCAD_ARC::Flip(), PCAD2KICAD::PCAD_LINE::Flip(), PCAD2KICAD::PCAD_PAD::Flip(), PCAD2KICAD::PCAD_POLYGON::Flip(), PCAD2KICAD::PCAD_PAD::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), PCAD2KICAD::PCAD_FOOTPRINT::Parse(), and PCAD2KICAD::PCAD_PCB::ParseBoard().
|
protectedinherited |
Definition at line 77 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_FOOTPRINT::DoLayerContentsObjects(), PCAD2KICAD::PCAD_PCB::DoPCBComponents(), PCAD2KICAD::PCAD_PCB_COMPONENT::GetKiCadLayer(), PCAD2KICAD::PCAD_PCB_COMPONENT::GetNetCode(), PCAD2KICAD::PCAD_PAD::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), and PCAD2KICAD::PCAD_FOOTPRINT::Parse().
|
inherited |
Definition at line 73 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCAD_PCB::DoPCBComponents(), and PCAD2KICAD::PCAD_PCB_COMPONENT::PCAD_PCB_COMPONENT().
|
inherited |
Definition at line 67 of file pcad_polygon.h.
Referenced by PCAD2KICAD::PCAD_FOOTPRINT::DoLayerContentsObjects(), PCAD2KICAD::PCAD_POLYGON::SetPosOffset(), and PCAD2KICAD::PCAD_POLYGON::~PCAD_POLYGON().
|
protectedinherited |
Definition at line 70 of file pcad_polygon.h.
Referenced by Parse(), PCAD_COPPER_POUR(), and PCAD2KICAD::PCAD_POLYGON::PCAD_POLYGON().
|
inherited |
Definition at line 66 of file pcad_polygon.h.
Referenced by PCAD2KICAD::PCAD_POLYGON::Parse(), PCAD2KICAD::PCAD_POLYGON::SetPosOffset(), and PCAD2KICAD::PCAD_POLYGON::~PCAD_POLYGON().
|
inherited |
Definition at line 65 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_ARC::AddToBoard(), PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCAD_LINE::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToBoard(), PCAD2KICAD::PCAD_POLYGON::AddToBoard(), PCAD2KICAD::PCAD_TEXT::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToFootprint(), PCAD2KICAD::PCAD_ARC::Flip(), PCAD2KICAD::PCAD_LINE::Flip(), PCAD2KICAD::PCAD_PAD::Flip(), PCAD2KICAD::PCAD_POLYGON::Flip(), PCAD2KICAD::PCAD_PAD_SHAPE::Parse(), PCAD2KICAD::PCAD_VIA_SHAPE::Parse(), PCAD2KICAD::PCAD_ARC::Parse(), PCAD2KICAD::PCAD_LINE::Parse(), PCAD2KICAD::PCAD_TEXT::Parse(), PCAD2KICAD::PCAD_FOOTPRINT::PCAD_FOOTPRINT(), PCAD2KICAD::PCAD_PCB_COMPONENT::PCAD_PCB_COMPONENT(), and PCAD2KICAD::PCAD_POLYGON::PCAD_POLYGON().
|
inherited |
Definition at line 70 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToBoard(), PCAD2KICAD::PCAD_TEXT::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToFootprint(), PCAD2KICAD::PCAD_PCB::ConnectPinToNet(), PCAD2KICAD::PCAD_FOOTPRINT::DoLayerContentsObjects(), PCAD2KICAD::PCAD_PCB::DoPCBComponents(), PCAD2KICAD::PCAD_PAD::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), PCAD2KICAD::PCAD_TEXT::Parse(), PCAD2KICAD::PCAD_FOOTPRINT::Parse(), PCAD2KICAD::PCAD_PCB_COMPONENT::PCAD_PCB_COMPONENT(), and PCAD2KICAD::PCAD_FOOTPRINT::SetName().
|
inherited |
Definition at line 71 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_PAD::AddToFootprint(), PCAD2KICAD::PCAD_POLYGON::AssignNet(), PCAD2KICAD::PCAD_PCB::ConnectPinToNet(), PCAD2KICAD::PCAD_PAD::Parse(), PCAD2KICAD::PCAD_POLYGON::Parse(), Parse(), PCAD2KICAD::PCAD_PLANE::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), PCAD2KICAD::PCAD_LINE::Parse(), and PCAD2KICAD::PCAD_PCB_COMPONENT::PCAD_PCB_COMPONENT().
|
inherited |
Definition at line 72 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_LINE::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToBoard(), PCAD2KICAD::PCAD_POLYGON::AddToBoard(), PCAD2KICAD::PCAD_POLYGON::AssignNet(), PCAD2KICAD::PCAD_PAD::Parse(), PCAD2KICAD::PCAD_POLYGON::Parse(), Parse(), PCAD2KICAD::PCAD_PLANE::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), PCAD2KICAD::PCAD_LINE::Parse(), and PCAD2KICAD::PCAD_PCB_COMPONENT::PCAD_PCB_COMPONENT().
|
inherited |
Definition at line 63 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToBoard(), PCAD2KICAD::PCAD_POLYGON::AddToBoard(), PCAD2KICAD::PCAD_PCB::ConnectPinToNet(), PCAD2KICAD::PCAD_FOOTPRINT::Flip(), PCAD2KICAD::PCAD_PAD::Flip(), PCAD2KICAD::PCAD_PCB::ParseBoard(), PCAD2KICAD::PCAD_ARC::PCAD_ARC(), PCAD2KICAD::PCAD_CUTOUT::PCAD_CUTOUT(), PCAD2KICAD::PCAD_FOOTPRINT::PCAD_FOOTPRINT(), PCAD2KICAD::PCAD_KEEPOUT::PCAD_KEEPOUT(), PCAD2KICAD::PCAD_LINE::PCAD_LINE(), PCAD2KICAD::PCAD_PAD::PCAD_PAD(), PCAD2KICAD::PCAD_PCB_COMPONENT::PCAD_PCB_COMPONENT(), PCAD2KICAD::PCAD_POLYGON::PCAD_POLYGON(), PCAD2KICAD::PCAD_TEXT::PCAD_TEXT(), PCAD2KICAD::PCAD_VIA::PCAD_VIA(), and PCAD2KICAD::PCAD_FOOTPRINT::SetName().
|
inherited |
Definition at line 65 of file pcad_polygon.h.
Referenced by PCAD2KICAD::PCAD_POLYGON::AddToBoard(), PCAD2KICAD::PCAD_KEEPOUT::Parse(), PCAD2KICAD::PCAD_CUTOUT::Parse(), PCAD2KICAD::PCAD_POLYGON::Parse(), Parse(), PCAD2KICAD::PCAD_PLANE::Parse(), PCAD2KICAD::PCAD_POLYGON::SetOutline(), PCAD2KICAD::PCAD_POLYGON::SetPosOffset(), and PCAD2KICAD::PCAD_POLYGON::~PCAD_POLYGON().
|
inherited |
Definition at line 74 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_PCB::DoPCBComponents(), PCAD2KICAD::PCAD_FOOTPRINT::Parse(), and PCAD2KICAD::PCAD_PCB_COMPONENT::PCAD_PCB_COMPONENT().
|
inherited |
Definition at line 64 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_PCB_COMPONENT::GetKiCadLayer(), PCAD2KICAD::PCAD_PAD_SHAPE::Parse(), PCAD2KICAD::PCAD_VIA_SHAPE::Parse(), PCAD2KICAD::PCAD_ARC::Parse(), PCAD2KICAD::PCAD_LINE::Parse(), PCAD2KICAD::PCAD_TEXT::Parse(), PCAD2KICAD::PCAD_PCB_COMPONENT::PCAD_PCB_COMPONENT(), and PCAD2KICAD::PCAD_POLYGON::PCAD_POLYGON().
|
inherited |
Definition at line 67 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_ARC::AddToBoard(), PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCAD_LINE::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToBoard(), PCAD2KICAD::PCAD_TEXT::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToFootprint(), PCAD2KICAD::PCAD_PCB::DoPCBComponents(), PCAD2KICAD::PCAD_PCB_COMPONENT::Flip(), PCAD2KICAD::PCAD_KEEPOUT::Parse(), PCAD2KICAD::PCAD_CUTOUT::Parse(), PCAD2KICAD::PCAD_PAD::Parse(), PCAD2KICAD::PCAD_POLYGON::Parse(), Parse(), PCAD2KICAD::PCAD_PLANE::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), PCAD2KICAD::PCAD_ARC::Parse(), PCAD2KICAD::PCAD_LINE::Parse(), PCAD2KICAD::PCAD_TEXT::Parse(), PCAD2KICAD::PCAD_PCB::ParseBoard(), PCAD2KICAD::PCAD_PCB_COMPONENT::PCAD_PCB_COMPONENT(), PCAD2KICAD::PCAD_POLYGON::SetOutline(), and PCAD2KICAD::PCAD_PCB_COMPONENT::SetPosOffset().
|
inherited |
Definition at line 68 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_ARC::AddToBoard(), PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCAD_LINE::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToBoard(), PCAD2KICAD::PCAD_TEXT::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToFootprint(), PCAD2KICAD::PCAD_PCB::DoPCBComponents(), PCAD2KICAD::PCAD_KEEPOUT::Parse(), PCAD2KICAD::PCAD_CUTOUT::Parse(), PCAD2KICAD::PCAD_PAD::Parse(), PCAD2KICAD::PCAD_POLYGON::Parse(), Parse(), PCAD2KICAD::PCAD_PLANE::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), PCAD2KICAD::PCAD_ARC::Parse(), PCAD2KICAD::PCAD_LINE::Parse(), PCAD2KICAD::PCAD_TEXT::Parse(), PCAD2KICAD::PCAD_PCB::ParseBoard(), PCAD2KICAD::PCAD_PCB_COMPONENT::PCAD_PCB_COMPONENT(), PCAD2KICAD::PCAD_POLYGON::SetOutline(), and PCAD2KICAD::PCAD_PCB_COMPONENT::SetPosOffset().
|
inherited |
Definition at line 64 of file pcad_polygon.h.
Referenced by PCAD2KICAD::PCAD_POLYGON::AddToBoard(), PCAD2KICAD::PCAD_PLANE::PCAD_PLANE(), and PCAD2KICAD::PCAD_POLYGON::PCAD_POLYGON().
|
inherited |
Definition at line 69 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCAD_TEXT::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToFootprint(), PCAD2KICAD::PCAD_PCB::DoPCBComponents(), PCAD2KICAD::PCAD_FOOTPRINT::Flip(), PCAD2KICAD::PCAD_PAD::Flip(), PCAD2KICAD::PCAD_PAD::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), PCAD2KICAD::PCAD_TEXT::Parse(), and PCAD2KICAD::PCAD_PCB_COMPONENT::PCAD_PCB_COMPONENT().
|
inherited |
Definition at line 66 of file pcad_pcb_component.h.
|
inherited |
Definition at line 63 of file pcad_polygon.h.
Referenced by PCAD2KICAD::PCAD_POLYGON::AddToBoard(), Parse(), PCAD2KICAD::PCAD_PLANE::Parse(), and PCAD2KICAD::PCAD_POLYGON::PCAD_POLYGON().