153 void Serialize( google::protobuf::Any &aContainer )
const override;
154 bool Deserialize(
const google::protobuf::Any &aContainer )
override;
169 bool aSkipConnectivity =
false )
override;
344 if( !
group.IsEmpty() )
354 *aSource = wxString::Format(
_(
"footprint %s" ),
GetReference() );
373 *aSource = wxString::Format(
_(
"footprint %s" ),
GetReference() );
448#define FP_is_LOCKED 0x01
449#define FP_is_PLACED 0x02
450#define FP_to_PLACE 0x04
451#define FP_PADS_are_LOCKED 0x08
516 const std::function<
void(
const PAD*,
int,
const wxString& )>& aErrorHandler );
524 const VECTOR2I& )>& aErrorHandler );
535 const VECTOR2I& )>& aErrorHandler );
547 const VECTOR2I& aPt )>& aErrorHandler );
558 static const std::set<int> emptySet;
581 int aMaxError,
ERROR_LOC aErrorLoc )
const;
599 bool aIncludeText =
true,
600 bool aIncludeShapes =
true,
601 bool aIncludePrivateItems =
false )
const;
627 bool HitTest(
const VECTOR2I& aPosition,
int aAccuracy = 0 )
const override;
642 bool HitTest(
const BOX2I& aRect,
bool aContained,
int aAccuracy = 0 )
const override;
722 bool HasField(
const wxString& aFieldName )
const;
730 void GetFields( std::vector<PCB_FIELD*>& aVector,
bool aVisibleOnly )
const;
821 std::vector<const PAD*>
GetPads(
const wxString& aPadNumber,
822 const PAD* aIgnore =
nullptr )
const;
871 std::optional<const std::set<wxString>>
GetJumperPadGroup(
const wxString& aPadNumber )
const;
884 double GetArea(
int aPadding = 0 )
const;
897 bool addToFootprint =
false );
907 const std::vector<KICAD_T>& aScanTypes )
override;
911 return wxT(
"FOOTPRINT" );
1027 std::set<KIFONT::OUTLINE_FONT*>
GetFonts()
const override;
1073 const std::unordered_set<wxString>& aComponentClassNames );
1079 virtual void Show(
int nestLevel, std::ostream& os )
const override { ShowDummy( os ); }
1095 bool operator()(
const PAD* aFirst,
const PAD* aSecond )
const;
ERROR_LOC
When approximating an arc or circle, should the error be placed on the outside or inside of the curve...
BITMAPS
A list of all bitmap identifiers.
BOARD_ITEM_CONTAINER(BOARD_ITEM *aParent, KICAD_T aType)
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
BOARD_ITEM(BOARD_ITEM *aParent, KICAD_T idtype, PCB_LAYER_ID aLayer=F_Cu)
virtual PCB_LAYER_ID GetLayer() const
Return the primary layer this item is on.
Information pertinent to a Pcbnew printed circuit board.
constexpr const Vec GetCenter() const
A lightweight representation of a component class.
Implement a canvas based on a wxGLCanvas.
The base class for create windows for drawing purpose.
A base class for most all the KiCad significant classes used in schematics and boards.
KICAD_T Type() const
Returns the type of object.
EDA_ITEM(EDA_ITEM *parent, KICAD_T idType, bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
virtual const wxString & GetText() const
Return the string associated with the text object.
virtual void SetText(const wxString &aText)
bool operator==(const FP_3DMODEL &aOther) const
VECTOR3D m_Offset
3D model offset (mm)
VECTOR3D m_Rotation
3D model rotation (degrees)
VECTOR3D m_Scale
3D model scaling factor (dimensionless)
wxString m_Filename
The 3D shape filename in 3D library.
bool m_Show
Include model in rendering.
Used when the right click button is pressed, or when the select tool is in effect.
Class OUTLINE_FONT implements outline font drawing.
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
A logical library item identifier and consists of various portions much like a URI.
An abstract class from which implementation specific LINE_READERs may be derived to read single lines...
LSET is a set of PCB_LAYER_IDs.
static const LSET & AllLayersMask()
EDA_MSG_PANEL items for displaying messages.
A PCB_POINT is a 0-dimensional point that is used to mark a position on a PCB, or more usually a foot...
A pure virtual class used to derive REPORTER objects from.
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
Represent a set of closed polygons.
An abstract shape on 2D plane.
Handle a list of polygons defining a copper zone.
const std::function< void(const wxString &msg, BOARD_ITEM *itemA, BOARD_ITEM *itemB, const VECTOR2I &pt)> OUTLINE_ERROR_HANDLER
const INSPECTOR_FUNC & INSPECTOR
std::function passed to nested users by ref, avoids copying std::function.
uint32_t timestamp_t
timestamp_t is our type to represent unique IDs for all kinds of elements; historically simply the ti...
FLASHING
Enum used during connectivity building to ensure we do not query connectivity while building the data...
@ DEFAULT
Flashing follows connectivity.
PCB_LAYER_ID
A quick note on layer IDs:
The Cairo implementation of the graphics abstraction layer.
std::vector< ZONE * > ZONES
A storage class for 128-bit hash value.
FIELD_T
The set of all field indices assuming an array like sequence that a SCH_COMPONENT or LIB_PART can hol...
@ REFERENCE
Field Reference of part, i.e. "IC21".
@ VALUE
Field Value of part, i.e. "3.3K".
@ PCB_FOOTPRINT_T
class FOOTPRINT, a footprint
VECTOR2< int32_t > VECTOR2I
VECTOR3< double > VECTOR3D
ZONE_CONNECTION
How pads are covered by copper in zone.