133 void Serialize( google::protobuf::Any &aContainer )
const override;
134 bool Deserialize(
const google::protobuf::Any &aContainer )
override;
146 bool aSkipConnectivity =
false )
override;
301 if( !
group.IsEmpty() )
311 *aSource = wxString::Format(
_(
"footprint %s" ),
GetReference() );
330 *aSource = wxString::Format(
_(
"footprint %s" ),
GetReference() );
405#define FP_is_LOCKED 0x01
406#define FP_is_PLACED 0x02
407#define FP_to_PLACE 0x04
408#define FP_PADS_are_LOCKED 0x08
473 const std::function<
void(
const PAD*,
int,
const wxString& )>& aErrorHandler );
481 const VECTOR2I& )>& aErrorHandler );
492 const VECTOR2I& )>& aErrorHandler );
512 static const std::set<int> emptySet;
544 bool aSkipNPTHPadsWihNoCopper =
false,
545 bool aSkipPlatedPads =
false,
546 bool aSkipNonPlatedPads =
false )
const;
564 bool aIncludeText =
true,
565 bool aIncludeShapes =
true,
566 bool aIncludePrivateItems =
false )
const;
592 bool HitTest(
const VECTOR2I& aPosition,
int aAccuracy = 0 )
const override;
605 bool HitTest(
const BOX2I& aRect,
bool aContained,
int aAccuracy = 0 )
const override;
703 wxString
GetFieldText(
const wxString& aFieldName )
const;
711 void GetFields( std::vector<PCB_FIELD*>& aVector,
bool aVisibleOnly );
818 std::vector<const PAD*>
GetPads(
const wxString& aPadNumber,
819 const PAD* aIgnore =
nullptr )
const;
868 double GetArea(
int aPadding = 0 )
const;
890 const std::vector<KICAD_T>& aScanTypes )
override;
894 return wxT(
"FOOTPRINT" );
908 int aDepth = 0 )
const override;
999 FLASHING aFlash = FLASHING::DEFAULT )
const override;
1026 virtual void Show(
int nestLevel, std::ostream& os )
const override { ShowDummy( os ); }
1042 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
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 LSET AllLayersMask()
EDA_MSG_PANEL items for displaying messages.
A pure virtual class used to derive REPORTER objects from.
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
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.
MANDATORY_FIELD_T
The set of all field indices assuming an array like sequence that a SCH_COMPONENT or LIB_PART can hol...
@ VALUE_FIELD
Field Value of part, i.e. "3.3K".
@ REFERENCE_FIELD
Field Reference of part, i.e. "IC21".
@ PCB_FOOTPRINT_T
class FOOTPRINT, a footprint
ZONE_CONNECTION
How pads are covered by copper in zone.