KiCad PCB EDA Suite

Public Member Functions


Detailed Description

Definition at line 1339 of file class_zone.cpp.

Constructor & Destructor Documentation



Definition at line 1341 of file class_zone.cpp.

1342  {
1344  .Map( ZONE_CONNECTION::INHERITED, _( "Inherited" ) )
1345  .Map( ZONE_CONNECTION::NONE, _( "None" ) )
1346  .Map( ZONE_CONNECTION::THERMAL, _( "Thermal reliefs" ) )
1347  .Map( ZONE_CONNECTION::FULL, _( "Solid" ) )
1348  .Map( ZONE_CONNECTION::THT_THERMAL, _( "Reliefs for PTH" ) );
1353  propMgr.AddProperty( new PROPERTY<ZONE_CONTAINER, unsigned>( _( "Priority" ),
1355  //propMgr.AddProperty( new PROPERTY<ZONE_CONTAINER, bool>( "Filled",
1356  //&ZONE_CONTAINER::SetIsFilled, &ZONE_CONTAINER::IsFilled ) );
1357  propMgr.AddProperty( new PROPERTY<ZONE_CONTAINER, wxString>( _( "Name" ),
1359  propMgr.AddProperty( new PROPERTY<ZONE_CONTAINER, int>( _( "Clearance" ),
1362  propMgr.AddProperty( new PROPERTY<ZONE_CONTAINER, int>( _( "Min Width" ),
1365  propMgr.AddProperty( new PROPERTY_ENUM<ZONE_CONTAINER, ZONE_CONNECTION>( _( "Pad Connections" ),
1367  propMgr.AddProperty( new PROPERTY<ZONE_CONTAINER, int>( _( "Thermal Clearance" ),
1370  propMgr.AddProperty( new PROPERTY<ZONE_CONTAINER, int>( _( "Thermal Spoke Width" ),
1373  }
ZONE_CONTAINER handles a list of polygons defining a copper zone.
Definition: class_zone.h:61
static PROPERTY_MANAGER & Instance()
Definition: property_mgr.h:61
#define TYPE_HASH(x)
Macro to generate unique identifier for a type
Definition: property.h:53
void SetPadConnection(ZONE_CONNECTION aPadConnection)
Definition: class_zone.h:215
static ENUM_MAP< T > & Instance()
Definition: property.h:517
void SetZoneName(const wxString &aName)
Definition: class_zone.h:114
void SetThermalReliefSpokeWidth(int aThermalReliefSpokeWidth)
Definition: class_zone.h:168
BOARD_CONNECTED_ITEM is a base class derived from BOARD_ITEM for items that can be connected and have...
#define REGISTER_TYPE(x)
Helper macro to map type hashes to names
Definition: property_mgr.h:244
void SetPriority(unsigned aPriority)
Function SetPriority.
Definition: class_zone.h:100
wxString GetZoneName() const
Definition: class_zone.h:113
Display value expressed in distance units (mm/inch)
Definition: property.h:47
pads are covered by copper
int GetLocalClearance() const
Definition: class_zone.h:130
void InheritsAfter(TYPE_ID aDerived, TYPE_ID aBase)
Declares an inheritance relationship between types.
Thermal relief only for THT pads.
void SetLocalClearance(int aClearance)
Definition: class_zone.h:131
int GetThermalReliefGap() const
Definition: class_zone.h:165
Use thermal relief for pads.
unsigned GetPriority() const
Function GetPriority.
Definition: class_zone.h:106
#define _(s)
Definition: 3d_actions.cpp:33
void AddProperty(PROPERTY_BASE *aProperty)
Registers a property.
int GetMinThickness() const
Definition: class_zone.h:217
Pads are not covered.
ZONE_CONNECTION GetPadConnection() const
Definition: class_zone.h:214
Provides class metadata.
Definition: property_mgr.h:58
void SetMinThickness(int aMinThickness)
Definition: class_zone.h:218
int GetThermalReliefSpokeWidth() const
Definition: class_zone.h:175
void SetThermalReliefGap(int aThermalReliefGap)
Definition: class_zone.h:158

References _, PROPERTY_MANAGER::AddProperty(), DISTANCE, FULL, ZONE_CONTAINER::GetLocalClearance(), ZONE_CONTAINER::GetMinThickness(), ZONE_CONTAINER::GetPadConnection(), ZONE_CONTAINER::GetPriority(), ZONE_CONTAINER::GetThermalReliefGap(), ZONE_CONTAINER::GetThermalReliefSpokeWidth(), ZONE_CONTAINER::GetZoneName(), INHERITED, PROPERTY_MANAGER::InheritsAfter(), PROPERTY_MANAGER::Instance(), ENUM_MAP< T >::Instance(), NONE, REGISTER_TYPE, ZONE_CONTAINER::SetLocalClearance(), ZONE_CONTAINER::SetMinThickness(), ZONE_CONTAINER::SetPadConnection(), ZONE_CONTAINER::SetPriority(), ZONE_CONTAINER::SetThermalReliefGap(), ZONE_CONTAINER::SetThermalReliefSpokeWidth(), ZONE_CONTAINER::SetZoneName(), THERMAL, THT_THERMAL, and TYPE_HASH.

The documentation for this struct was generated from the following file: