138 void Serialize( google::protobuf::Any &aContainer )
const override;
139 bool Deserialize(
const google::protobuf::Any &aContainer )
override;
154 bool aSkipConnectivity =
false )
override;
310 if( !
group.IsEmpty() )
320 *aSource = wxString::Format(
_(
"footprint %s" ),
GetReference() );
339 *aSource = wxString::Format(
_(
"footprint %s" ),
GetReference() );
414#define FP_is_LOCKED 0x01
415#define FP_is_PLACED 0x02
416#define FP_to_PLACE 0x04
417#define FP_PADS_are_LOCKED 0x08
482 const std::function<
void(
const PAD*,
int,
const wxString& )>& aErrorHandler );
490 const VECTOR2I& )>& aErrorHandler );
501 const VECTOR2I& )>& aErrorHandler );
513 const VECTOR2I& aPt )>& aErrorHandler );
524 static const std::set<int> emptySet;
547 int aMaxError,
ERROR_LOC aErrorLoc )
const;
565 bool aIncludeText =
true,
566 bool aIncludeShapes =
true,
567 bool aIncludePrivateItems =
false )
const;
593 bool HitTest(
const VECTOR2I& aPosition,
int aAccuracy = 0 )
const override;
608 bool HitTest(
const BOX2I& aRect,
bool aContained,
int aAccuracy = 0 )
const override;
688 bool HasField(
const wxString& aFieldName )
const;
696 void GetFields( std::vector<PCB_FIELD*>& aVector,
bool aVisibleOnly )
const;
778 std::vector<const PAD*>
GetPads(
const wxString& aPadNumber,
779 const PAD* aIgnore =
nullptr )
const;
828 std::optional<const std::set<wxString>>
GetJumperPadGroup(
const wxString& aPadNumber )
const;
841 double GetArea(
int aPadding = 0 )
const;
854 bool addToFootprint =
false );
864 const std::vector<KICAD_T>& aScanTypes )
override;
868 return wxT(
"FOOTPRINT" );
969 FLASHING aFlash = FLASHING::DEFAULT )
const override;
984 std::set<KIFONT::OUTLINE_FONT*>
GetFonts()
const override;
1030 const std::unordered_set<wxString>& aComponentClassNames );
1036 virtual void Show(
int nestLevel, std::ostream& os )
const override { ShowDummy( os ); }
1052 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.
Abstract interface for BOARD_ITEMs capable of storing other items inside.
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
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.
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.
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.
int Parse(const UTF8 &aId, bool aFix=false)
Parse LIB_ID with the information from aId.
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 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...
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...
@ PCB_FOOTPRINT_T
class FOOTPRINT, a footprint
ZONE_CONNECTION
How pads are covered by copper in zone.