KiCad PCB EDA Suite
|
#include <pcad_line.h>
Public Member Functions | |
PCAD_LINE (PCAD_CALLBACKS *aCallbacks, BOARD *aBoard) | |
~PCAD_LINE () | |
virtual void | Parse (XNODE *aNode, int aLayer, const wxString &aDefaultUnits, const wxString &aActualConversion) |
virtual void | SetPosOffset (int aX_offs, int aY_offs) override |
virtual void | Flip () override |
void | AddToBoard (FOOTPRINT *aFootprint=nullptr) override |
PCB_LAYER_ID | GetKiCadLayer () const |
int | GetNetCode (const wxString &aNetName) const |
Public Attributes | |
int | m_Width |
int | m_ToX |
int | m_ToY |
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 | |
PCAD_CALLBACKS * | m_callbacks |
BOARD * | m_board |
Definition at line 39 of file pcad_line.h.
PCAD2KICAD::PCAD_LINE::PCAD_LINE | ( | PCAD_CALLBACKS * | aCallbacks, |
BOARD * | aBoard | ||
) |
Definition at line 39 of file pcad_line.cpp.
References PCAD2KICAD::PCAD_PCB_COMPONENT::m_ObjType, m_ToX, m_ToY, and m_Width.
PCAD2KICAD::PCAD_LINE::~PCAD_LINE | ( | ) |
Definition at line 49 of file pcad_line.cpp.
|
overridevirtual |
Implements PCAD2KICAD::PCAD_PCB_COMPONENT.
Definition at line 117 of file pcad_line.cpp.
References BOARD::Add(), FOOTPRINT::GetOrientation(), FOOTPRINT::GetPosition(), IsCopperLayer(), PCAD2KICAD::PCAD_PCB_COMPONENT::m_board, PCAD2KICAD::PCAD_PCB_COMPONENT::m_KiCadLayer, PCAD2KICAD::PCAD_PCB_COMPONENT::m_NetCode, PCAD2KICAD::PCAD_PCB_COMPONENT::m_PositionX, PCAD2KICAD::PCAD_PCB_COMPONENT::m_PositionY, m_ToX, m_ToY, m_Width, PCB_SHAPE::Move(), PCB_SHAPE::Rotate(), EDA_SHAPE::SetEnd(), PCB_TRACK::SetEnd(), BOARD_ITEM::SetLayer(), PCB_SHAPE::SetLayer(), BOARD_CONNECTED_ITEM::SetNetCode(), PCB_TRACK::SetPosition(), EDA_SHAPE::SetStart(), PCB_SHAPE::SetStroke(), and PCB_TRACK::SetWidth().
|
overridevirtual |
Reimplemented from PCAD2KICAD::PCAD_PCB_COMPONENT.
Definition at line 108 of file pcad_line.cpp.
References PCAD2KICAD::PCAD_PCB_COMPONENT::Flip(), BOARD::FlipLayer(), PCAD2KICAD::PCAD_PCB_COMPONENT::m_board, PCAD2KICAD::PCAD_PCB_COMPONENT::m_KiCadLayer, and m_ToX.
|
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(), 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(), PCAD2KICAD::PCAD_COPPER_POUR::Parse(), PCAD2KICAD::PCAD_PLANE::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), and Parse().
|
virtual |
Definition at line 54 of file pcad_line.cpp.
References PCAD2KICAD::FindNode(), PCAD2KICAD::PCAD_PCB_COMPONENT::GetKiCadLayer(), PCAD2KICAD::PCAD_PCB_COMPONENT::GetNetCode(), XNODE::GetNext(), PCAD2KICAD::PCAD_PCB_COMPONENT::m_KiCadLayer, PCAD2KICAD::PCAD_PCB_COMPONENT::m_Net, PCAD2KICAD::PCAD_PCB_COMPONENT::m_NetCode, PCAD2KICAD::PCAD_PCB_COMPONENT::m_PCadLayer, PCAD2KICAD::PCAD_PCB_COMPONENT::m_PositionX, PCAD2KICAD::PCAD_PCB_COMPONENT::m_PositionY, m_ToX, m_ToY, m_Width, PCAD2KICAD::SetPosition(), and PCAD2KICAD::SetWidth().
Referenced by PCAD2KICAD::PCAD_FOOTPRINT::DoLayerContentsObjects().
|
overridevirtual |
Reimplemented from PCAD2KICAD::PCAD_PCB_COMPONENT.
Definition at line 99 of file pcad_line.cpp.
References m_ToX, m_ToY, 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(), 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(), 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 65 of file pcad_pcb_component.h.
Referenced by PCAD2KICAD::PCAD_ARC::AddToBoard(), PCAD2KICAD::PCAD_FOOTPRINT::AddToBoard(), AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToBoard(), PCAD2KICAD::PCAD_POLYGON::AddToBoard(), PCAD2KICAD::PCAD_TEXT::AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToFootprint(), PCAD2KICAD::PCAD_ARC::Flip(), Flip(), PCAD2KICAD::PCAD_PAD::Flip(), PCAD2KICAD::PCAD_POLYGON::Flip(), PCAD2KICAD::PCAD_PAD_SHAPE::Parse(), PCAD2KICAD::PCAD_VIA_SHAPE::Parse(), PCAD2KICAD::PCAD_ARC::Parse(), 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(), PCAD2KICAD::PCAD_COPPER_POUR::Parse(), PCAD2KICAD::PCAD_PLANE::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), Parse(), and PCAD2KICAD::PCAD_PCB_COMPONENT::PCAD_PCB_COMPONENT().
|
inherited |
Definition at line 72 of file pcad_pcb_component.h.
Referenced by AddToBoard(), PCAD2KICAD::PCAD_PAD::AddToBoard(), PCAD2KICAD::PCAD_POLYGON::AddToBoard(), PCAD2KICAD::PCAD_POLYGON::AssignNet(), PCAD2KICAD::PCAD_PAD::Parse(), PCAD2KICAD::PCAD_POLYGON::Parse(), PCAD2KICAD::PCAD_COPPER_POUR::Parse(), PCAD2KICAD::PCAD_PLANE::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), 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(), 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 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(), 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(), 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(), PCAD2KICAD::PCAD_COPPER_POUR::Parse(), PCAD2KICAD::PCAD_PLANE::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), PCAD2KICAD::PCAD_ARC::Parse(), 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(), 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(), PCAD2KICAD::PCAD_COPPER_POUR::Parse(), PCAD2KICAD::PCAD_PLANE::Parse(), PCAD2KICAD::PCAD_VIA::Parse(), PCAD2KICAD::PCAD_ARC::Parse(), 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 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().
int PCAD2KICAD::PCAD_LINE::m_ToX |
Definition at line 56 of file pcad_line.h.
Referenced by AddToBoard(), Flip(), Parse(), PCAD_LINE(), and SetPosOffset().
int PCAD2KICAD::PCAD_LINE::m_ToY |
Definition at line 57 of file pcad_line.h.
Referenced by AddToBoard(), Parse(), PCAD_LINE(), and SetPosOffset().
|
inherited |
Definition at line 66 of file pcad_pcb_component.h.
int PCAD2KICAD::PCAD_LINE::m_Width |
Definition at line 55 of file pcad_line.h.
Referenced by AddToBoard(), Parse(), and PCAD_LINE().