35 copy->SetOwner(
this );
43 copy->SetOwner(
this );
50 std::vector<ITEM*> newItems;
60 if( item->Layers().Overlaps( l ) ^ aInvert )
61 newItems.push_back( item );
72 std::vector<ITEM*> newItems;
76 if( item->OfKind( aKindMask ) ^ aInvert )
77 newItems.push_back( item );
88 std::vector<ITEM*> newItems;
92 if( item->Marker() & aMarker )
93 newItems.push_back( item );
104 std::vector<ITEM*> newItems;
108 if( ( item->Net() == aNet ) ^ aInvert )
109 newItems.push_back( item );
120 std::vector<ITEM*> newItems;
125 newItems.push_back( item );
Represent a contiguous set of PCB layers.
ITEM_SET & FilterNet(NET_HANDLE aNet, bool aInvert=false)
std::vector< ITEM * > m_items
void Add(const LINE &aLine)
ITEM_SET & ExcludeItem(const ITEM *aItem)
ITEM_SET & FilterMarker(int aMarker, bool aInvert=false)
ITEM_SET & FilterKinds(int aKindMask, bool aInvert=false)
ITEM_SET & FilterLayers(int aStart, int aEnd=-1, bool aInvert=false)
void Prepend(const LINE &aLine)
Base class for PNS router board items.
Represents a track on a PCB, connecting two non-trivial joints (that is, vias, pads,...
virtual LINE * Clone() const override
Return a deep copy of the item.
Push and Shove diff pair dimensions (gap) settings dialog.