KiCad PCB EDA Suite
GENERAL_COLLECTORS_GUIDE Class Reference

A general implementation of a COLLECTORS_GUIDE. More...

#include <collectors.h>

Inheritance diagram for GENERAL_COLLECTORS_GUIDE:
COLLECTORS_GUIDE

Public Member Functions

 GENERAL_COLLECTORS_GUIDE (LSET aVisibleLayerMask, PCB_LAYER_ID aPreferredLayer, KIGFX::VIEW *aView)
 Grab stuff from global preferences and uses reasonable defaults. More...
 
bool IsLayerLocked (PCB_LAYER_ID aLayerId) const override
 
void SetLayerLocked (PCB_LAYER_ID aLayerId, bool isLocked)
 
bool IsLayerVisible (PCB_LAYER_ID aLayerId) const override
 
void SetLayerVisible (PCB_LAYER_ID aLayerId, bool isVisible)
 
void SetLayerVisibleBits (LSET aLayerBits)
 
bool IgnoreLockedLayers () const override
 
void SetIgnoreLockedLayers (bool ignore)
 
bool IgnoreNonVisibleLayers () const override
 
void SetIgnoreNonVisibleLayers (bool ignore)
 
PCB_LAYER_ID GetPreferredLayer () const override
 
void SetPreferredLayer (PCB_LAYER_ID aLayer)
 
bool IgnorePreferredLayer () const override
 Provide wildcard behavior regarding the preferred layer. More...
 
void SetIgnorePreferredLayer (bool ignore)
 
bool IgnoreLockedItems () const override
 
void SetIgnoreLockedItems (bool ignore)
 
bool IncludeSecondary () const override
 Determine if the secondary criteria, or 2nd choice items should be included. More...
 
void SetIncludeSecondary (bool include)
 
bool IgnoreHiddenFPText () const override
 
void SetIgnoreMTextsMarkedNoShow (bool ignore)
 
bool IgnoreFPTextOnBack () const override
 
void SetIgnoreMTextsOnBack (bool ignore)
 
bool IgnoreFPTextOnFront () const override
 
void SetIgnoreMTextsOnFront (bool ignore)
 
bool IgnoreFootprintsOnBack () const override
 
void SetIgnoreModulesOnBack (bool ignore)
 
bool IgnoreFootprintsOnFront () const override
 
void SetIgnoreModulesOnFront (bool ignore)
 
bool IgnorePadsOnBack () const override
 
void SetIgnorePadsOnBack (bool ignore)
 
bool IgnorePadsOnFront () const override
 
void SetIgnorePadsOnFront (bool ignore)
 
bool IgnoreThroughHolePads () const override
 
void SetIgnoreThroughHolePads (bool ignore)
 
bool IgnoreFPValues () const override
 
void SetIgnoreModulesVals (bool ignore)
 
bool IgnoreFPReferences () const override
 
void SetIgnoreModulesRefs (bool ignore)
 
bool IgnoreThroughVias () const override
 
void SetIgnoreThroughVias (bool ignore)
 
bool IgnoreBlindBuriedVias () const override
 
void SetIgnoreBlindBuriedVias (bool ignore)
 
bool IgnoreMicroVias () const override
 
void SetIgnoreMicroVias (bool ignore)
 
bool IgnoreTracks () const override
 
void SetIgnoreTracks (bool ignore)
 
bool IgnoreZoneFills () const override
 
void SetIgnoreZoneFills (bool ignore)
 
double OnePixelInIU () const override
 
void SetOnePixelInIU (double aValue)
 
virtual bool IgnorePads () const
 

Private Attributes

PCB_LAYER_ID m_preferredLayer
 
bool m_ignorePreferredLayer
 
LSET m_lockedLayers
 bit-mapped layer locked bits More...
 
bool m_ignoreLockedLayers
 
LSET m_visibleLayers
 bit-mapped layer visible bits More...
 
bool m_ignoreNonVisibleLayers
 
bool m_ignoreLockedItems
 
bool m_includeSecondary
 
bool m_ignoreHiddenFPText
 
bool m_ignoreFPTextOnBack
 
bool m_ignoreFPTextOnFront
 
bool m_ignoreFootprintsOnBack
 
bool m_ignoreFootprintsOnFront
 
bool m_ignorePadsOnFront
 
bool m_ignorePadsOnBack
 
bool m_ignoreThroughHolePads
 
bool m_ignoreFPValues
 
bool m_ignoreFPReferences
 
bool m_ignoreThroughVias
 
bool m_ignoreBlindBuriedVias
 
bool m_ignoreMicroVias
 
bool m_ignoreTracks
 
bool m_ignoreZoneFills
 
double m_onePixelInIU
 

Detailed Description

A general implementation of a COLLECTORS_GUIDE.

One of its constructors is entitled to grab information from the program's global preferences.

Definition at line 377 of file collectors.h.

Constructor & Destructor Documentation

◆ GENERAL_COLLECTORS_GUIDE()

GENERAL_COLLECTORS_GUIDE::GENERAL_COLLECTORS_GUIDE ( LSET  aVisibleLayerMask,
PCB_LAYER_ID  aPreferredLayer,
KIGFX::VIEW aView 
)
inline

Grab stuff from global preferences and uses reasonable defaults.

Add more constructors as needed.

Parameters
aVisibleLayerMaskis the current visible layers (bit mask).
aPreferredLayeris the layer to search first.

Definition at line 389 of file collectors.h.

391  {
392  VECTOR2I one( 1, 1 );
393 
394  m_preferredLayer = aPreferredLayer;
395  m_ignorePreferredLayer = false;
396  m_visibleLayers = aVisibleLayerMask;
397  m_ignoreLockedLayers = true;
399  m_ignoreLockedItems = false;
400 
401 #if defined(USE_MATCH_LAYER)
402  m_includeSecondary = false;
403 #else
404  m_includeSecondary = true;
405 #endif
406 
407  m_ignoreHiddenFPText = true; // g_ModuleTextNOVColor;
408  m_ignoreFPTextOnBack = true;
409  m_ignoreFPTextOnFront = false;
410  m_ignoreFootprintsOnBack = true; // !Show_footprints_Cmp;
412 
413  m_ignorePadsOnFront = false;
414  m_ignorePadsOnBack = false;
415  m_ignoreThroughHolePads = false;
416 
417  m_ignoreFPValues = false;
418  m_ignoreFPReferences = false;
419 
420  m_ignoreThroughVias = false;
421  m_ignoreBlindBuriedVias = false;
422  m_ignoreMicroVias = false;
423  m_ignoreTracks = false;
424  m_ignoreZoneFills = true;
425 
426  m_onePixelInIU = abs( aView->ToWorld( one, false ).x );
427  }
VECTOR2D ToWorld(const VECTOR2D &aCoord, bool aAbsolute=true) const
Converts a screen space point/vector to a point/vector in world space coordinates.
Definition: view.cpp:447
LSET m_visibleLayers
bit-mapped layer visible bits
Definition: collectors.h:583
PCB_LAYER_ID m_preferredLayer
Definition: collectors.h:577

References m_ignoreBlindBuriedVias, m_ignoreFootprintsOnBack, m_ignoreFootprintsOnFront, m_ignoreFPReferences, m_ignoreFPTextOnBack, m_ignoreFPTextOnFront, m_ignoreFPValues, m_ignoreHiddenFPText, m_ignoreLockedItems, m_ignoreLockedLayers, m_ignoreMicroVias, m_ignoreNonVisibleLayers, m_ignorePadsOnBack, m_ignorePadsOnFront, m_ignorePreferredLayer, m_ignoreThroughHolePads, m_ignoreThroughVias, m_ignoreTracks, m_ignoreZoneFills, m_includeSecondary, m_onePixelInIU, m_preferredLayer, m_visibleLayers, KIGFX::VIEW::ToWorld(), and VECTOR2< T >::x.

Member Function Documentation

◆ GetPreferredLayer()

PCB_LAYER_ID GENERAL_COLLECTORS_GUIDE::GetPreferredLayer ( ) const
inlineoverridevirtual
Returns
int - the preferred layer for HitTest()ing.

Implements COLLECTORS_GUIDE.

Definition at line 470 of file collectors.h.

470 { return m_preferredLayer; }
PCB_LAYER_ID m_preferredLayer
Definition: collectors.h:577

References m_preferredLayer.

◆ IgnoreBlindBuriedVias()

bool GENERAL_COLLECTORS_GUIDE::IgnoreBlindBuriedVias ( ) const
inlineoverridevirtual
Returns
true if should ignore blind/buried vias

Implements COLLECTORS_GUIDE.

Definition at line 558 of file collectors.h.

558 { return m_ignoreBlindBuriedVias; }

References m_ignoreBlindBuriedVias.

◆ IgnoreFootprintsOnBack()

bool GENERAL_COLLECTORS_GUIDE::IgnoreFootprintsOnBack ( ) const
inlineoverridevirtual
Returns
true if should ignore MODULEs on the back side

Implements COLLECTORS_GUIDE.

Definition at line 516 of file collectors.h.

516 { return m_ignoreFootprintsOnBack; }

References m_ignoreFootprintsOnBack.

◆ IgnoreFootprintsOnFront()

bool GENERAL_COLLECTORS_GUIDE::IgnoreFootprintsOnFront ( ) const
inlineoverridevirtual
Returns
true if should ignore MODULEs on component layer.

Implements COLLECTORS_GUIDE.

Definition at line 522 of file collectors.h.

References m_ignoreFootprintsOnFront.

◆ IgnoreFPReferences()

bool GENERAL_COLLECTORS_GUIDE::IgnoreFPReferences ( ) const
inlineoverridevirtual
Returns
true if should ignore footprints references.

Implements COLLECTORS_GUIDE.

Definition at line 552 of file collectors.h.

552 { return m_ignoreFPReferences; }

References m_ignoreFPReferences.

◆ IgnoreFPTextOnBack()

bool GENERAL_COLLECTORS_GUIDE::IgnoreFPTextOnBack ( ) const
inlineoverridevirtual
Returns
true if should ignore MTexts on back layers

Implements COLLECTORS_GUIDE.

Definition at line 504 of file collectors.h.

504 { return m_ignoreFPTextOnBack; }

References m_ignoreFPTextOnBack.

◆ IgnoreFPTextOnFront()

bool GENERAL_COLLECTORS_GUIDE::IgnoreFPTextOnFront ( ) const
inlineoverridevirtual
Returns
true if should ignore MTexts on front layers

Implements COLLECTORS_GUIDE.

Definition at line 510 of file collectors.h.

510 { return m_ignoreFPTextOnFront; }

References m_ignoreFPTextOnFront.

◆ IgnoreFPValues()

bool GENERAL_COLLECTORS_GUIDE::IgnoreFPValues ( ) const
inlineoverridevirtual
Returns
true if should ignore footprints values.

Implements COLLECTORS_GUIDE.

Definition at line 546 of file collectors.h.

546 { return m_ignoreFPValues; }

References m_ignoreFPValues.

◆ IgnoreHiddenFPText()

bool GENERAL_COLLECTORS_GUIDE::IgnoreHiddenFPText ( ) const
inlineoverridevirtual
Returns
true if MTexts marked as "no show" should be ignored.

Implements COLLECTORS_GUIDE.

Definition at line 498 of file collectors.h.

498 { return m_ignoreHiddenFPText; }

References m_ignoreHiddenFPText.

◆ IgnoreLockedItems()

bool GENERAL_COLLECTORS_GUIDE::IgnoreLockedItems ( ) const
inlineoverridevirtual
Returns
true if should ignore locked items, else false.

Implements COLLECTORS_GUIDE.

Definition at line 484 of file collectors.h.

484 { return m_ignoreLockedItems; }

References m_ignoreLockedItems.

◆ IgnoreLockedLayers()

bool GENERAL_COLLECTORS_GUIDE::IgnoreLockedLayers ( ) const
inlineoverridevirtual
Returns
true if should ignore locked layers, else false.

Implements COLLECTORS_GUIDE.

Definition at line 458 of file collectors.h.

458 { return m_ignoreLockedLayers; }

References m_ignoreLockedLayers.

◆ IgnoreMicroVias()

bool GENERAL_COLLECTORS_GUIDE::IgnoreMicroVias ( ) const
inlineoverridevirtual
Returns
true if should ignore micro vias

Implements COLLECTORS_GUIDE.

Definition at line 561 of file collectors.h.

561 { return m_ignoreMicroVias; }

References m_ignoreMicroVias.

◆ IgnoreNonVisibleLayers()

bool GENERAL_COLLECTORS_GUIDE::IgnoreNonVisibleLayers ( ) const
inlineoverridevirtual
Returns
true if should ignore non-visible layers, else false.

Implements COLLECTORS_GUIDE.

Definition at line 464 of file collectors.h.

464 { return m_ignoreNonVisibleLayers; }

References m_ignoreNonVisibleLayers.

◆ IgnorePads()

virtual bool COLLECTORS_GUIDE::IgnorePads ( ) const
inlinevirtualinherited
Returns
true if should ignore PADSs on Front side and Back side.

Definition at line 152 of file collectors.h.

153  {
155  }
virtual bool IgnorePadsOnFront() const =0
virtual bool IgnoreThroughHolePads() const =0
virtual bool IgnorePadsOnBack() const =0

References COLLECTORS_GUIDE::IgnorePadsOnBack(), COLLECTORS_GUIDE::IgnorePadsOnFront(), and COLLECTORS_GUIDE::IgnoreThroughHolePads().

Referenced by GENERAL_COLLECTOR::Inspect().

◆ IgnorePadsOnBack()

bool GENERAL_COLLECTORS_GUIDE::IgnorePadsOnBack ( ) const
inlineoverridevirtual
Returns
true if should ignore Pads on Back Side.

Implements COLLECTORS_GUIDE.

Definition at line 528 of file collectors.h.

528 { return m_ignorePadsOnBack; }

References m_ignorePadsOnBack.

◆ IgnorePadsOnFront()

bool GENERAL_COLLECTORS_GUIDE::IgnorePadsOnFront ( ) const
inlineoverridevirtual
Returns
true if should ignore PADSs on Front Side.

Implements COLLECTORS_GUIDE.

Definition at line 534 of file collectors.h.

534 { return m_ignorePadsOnFront; }

References m_ignorePadsOnFront.

◆ IgnorePreferredLayer()

bool GENERAL_COLLECTORS_GUIDE::IgnorePreferredLayer ( ) const
inlineoverridevirtual

Provide wildcard behavior regarding the preferred layer.

Returns
true if should ignore preferred layer, else false.

Implements COLLECTORS_GUIDE.

Definition at line 478 of file collectors.h.

478 { return m_ignorePreferredLayer; }

References m_ignorePreferredLayer.

◆ IgnoreThroughHolePads()

bool GENERAL_COLLECTORS_GUIDE::IgnoreThroughHolePads ( ) const
inlineoverridevirtual
Returns
true if should ignore through-hole PADSs.

Implements COLLECTORS_GUIDE.

Definition at line 540 of file collectors.h.

540 { return m_ignoreThroughHolePads; }

References m_ignoreThroughHolePads.

◆ IgnoreThroughVias()

bool GENERAL_COLLECTORS_GUIDE::IgnoreThroughVias ( ) const
inlineoverridevirtual
Returns
true if should ignore through-hole vias

Implements COLLECTORS_GUIDE.

Definition at line 555 of file collectors.h.

555 { return m_ignoreThroughVias; }

References m_ignoreThroughVias.

◆ IgnoreTracks()

bool GENERAL_COLLECTORS_GUIDE::IgnoreTracks ( ) const
inlineoverridevirtual
Returns
true if should ignore tracks

Implements COLLECTORS_GUIDE.

Definition at line 564 of file collectors.h.

564 { return m_ignoreTracks; }

References m_ignoreTracks.

◆ IgnoreZoneFills()

bool GENERAL_COLLECTORS_GUIDE::IgnoreZoneFills ( ) const
inlineoverridevirtual
Returns
true if should ignore the interiors of zones

Implements COLLECTORS_GUIDE.

Definition at line 567 of file collectors.h.

567 { return m_ignoreZoneFills; }

References m_ignoreZoneFills.

◆ IncludeSecondary()

bool GENERAL_COLLECTORS_GUIDE::IncludeSecondary ( ) const
inlineoverridevirtual

Determine if the secondary criteria, or 2nd choice items should be included.

Returns
true if should include, else false.

Implements COLLECTORS_GUIDE.

Definition at line 492 of file collectors.h.

492 { return m_includeSecondary; }

References m_includeSecondary.

◆ IsLayerLocked()

bool GENERAL_COLLECTORS_GUIDE::IsLayerLocked ( PCB_LAYER_ID  aLayerId) const
inlineoverridevirtual
Returns
true if the given layer is locked, else false.

Implements COLLECTORS_GUIDE.

Definition at line 432 of file collectors.h.

433  {
434  return m_lockedLayers[aLayerId];
435  }
LSET m_lockedLayers
bit-mapped layer locked bits
Definition: collectors.h:580

References m_lockedLayers.

◆ IsLayerVisible()

bool GENERAL_COLLECTORS_GUIDE::IsLayerVisible ( PCB_LAYER_ID  aLayerId) const
inlineoverridevirtual
Returns
true if the given layer is visible, else false.

Implements COLLECTORS_GUIDE.

Definition at line 445 of file collectors.h.

446  {
447  return m_visibleLayers[aLayerId];
448  }
LSET m_visibleLayers
bit-mapped layer visible bits
Definition: collectors.h:583

References m_visibleLayers.

◆ OnePixelInIU()

double GENERAL_COLLECTORS_GUIDE::OnePixelInIU ( ) const
inlineoverridevirtual

Implements COLLECTORS_GUIDE.

Definition at line 570 of file collectors.h.

570 { return m_onePixelInIU; }

References m_onePixelInIU.

Referenced by PCB_SELECTION_TOOL::selectionContains().

◆ SetIgnoreBlindBuriedVias()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreBlindBuriedVias ( bool  ignore)
inline

Definition at line 559 of file collectors.h.

559 { m_ignoreBlindBuriedVias = ignore; }

References m_ignoreBlindBuriedVias.

Referenced by PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnoreLockedItems()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreLockedItems ( bool  ignore)
inline

Definition at line 485 of file collectors.h.

485 { m_ignoreLockedItems = ignore; }

References m_ignoreLockedItems.

◆ SetIgnoreLockedLayers()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreLockedLayers ( bool  ignore)
inline

Definition at line 459 of file collectors.h.

459 { m_ignoreLockedLayers = ignore; }

References m_ignoreLockedLayers.

◆ SetIgnoreMicroVias()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreMicroVias ( bool  ignore)
inline

Definition at line 562 of file collectors.h.

562 { m_ignoreMicroVias = ignore; }

References m_ignoreMicroVias.

Referenced by PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnoreModulesOnBack()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreModulesOnBack ( bool  ignore)
inline

Definition at line 517 of file collectors.h.

517 { m_ignoreFootprintsOnBack = ignore; }

References m_ignoreFootprintsOnBack.

Referenced by PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnoreModulesOnFront()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreModulesOnFront ( bool  ignore)
inline

Definition at line 523 of file collectors.h.

523 { m_ignoreFootprintsOnFront = ignore; }

References m_ignoreFootprintsOnFront.

Referenced by PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnoreModulesRefs()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreModulesRefs ( bool  ignore)
inline

Definition at line 553 of file collectors.h.

553 { m_ignoreFPReferences = ignore; }

References m_ignoreFPReferences.

Referenced by PAD_TOOL::EnumeratePads(), and PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnoreModulesVals()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreModulesVals ( bool  ignore)
inline

Definition at line 547 of file collectors.h.

547 { m_ignoreFPValues = ignore; }

References m_ignoreFPValues.

Referenced by PAD_TOOL::EnumeratePads(), and PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnoreMTextsMarkedNoShow()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreMTextsMarkedNoShow ( bool  ignore)
inline

◆ SetIgnoreMTextsOnBack()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreMTextsOnBack ( bool  ignore)
inline

Definition at line 505 of file collectors.h.

505 { m_ignoreFPTextOnBack = ignore; }

References m_ignoreFPTextOnBack.

Referenced by PAD_TOOL::EnumeratePads(), and PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnoreMTextsOnFront()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreMTextsOnFront ( bool  ignore)
inline

Definition at line 511 of file collectors.h.

511 { m_ignoreFPTextOnFront = ignore; }

References m_ignoreFPTextOnFront.

Referenced by PAD_TOOL::EnumeratePads(), and PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnoreNonVisibleLayers()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreNonVisibleLayers ( bool  ignore)
inline

Definition at line 465 of file collectors.h.

465 { m_ignoreLockedLayers = ignore; }

References m_ignoreLockedLayers.

◆ SetIgnorePadsOnBack()

void GENERAL_COLLECTORS_GUIDE::SetIgnorePadsOnBack ( bool  ignore)
inline

Definition at line 529 of file collectors.h.

529 { m_ignorePadsOnBack = ignore; }

References m_ignorePadsOnBack.

Referenced by PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnorePadsOnFront()

void GENERAL_COLLECTORS_GUIDE::SetIgnorePadsOnFront ( bool  ignore)
inline

Definition at line 535 of file collectors.h.

535 { m_ignorePadsOnFront = ignore; }

References m_ignorePadsOnFront.

Referenced by PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnorePreferredLayer()

void GENERAL_COLLECTORS_GUIDE::SetIgnorePreferredLayer ( bool  ignore)
inline

Definition at line 479 of file collectors.h.

479 { m_ignorePreferredLayer = ignore; }

References m_ignorePreferredLayer.

◆ SetIgnoreThroughHolePads()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreThroughHolePads ( bool  ignore)
inline

Definition at line 541 of file collectors.h.

541 { m_ignoreThroughHolePads = ignore; }

References m_ignoreThroughHolePads.

Referenced by PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnoreThroughVias()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreThroughVias ( bool  ignore)
inline

Definition at line 556 of file collectors.h.

556 { m_ignoreThroughVias = ignore; }

References m_ignoreThroughVias.

Referenced by PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnoreTracks()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreTracks ( bool  ignore)
inline

Definition at line 565 of file collectors.h.

565 { m_ignoreTracks = ignore; }

References m_ignoreTracks.

Referenced by PCB_SELECTION_TOOL::getCollectorsGuide().

◆ SetIgnoreZoneFills()

void GENERAL_COLLECTORS_GUIDE::SetIgnoreZoneFills ( bool  ignore)
inline

Definition at line 568 of file collectors.h.

568 { m_ignoreZoneFills = ignore; }

References m_ignoreZoneFills.

Referenced by BOARD_INSPECTION_TOOL::highlightNet(), and PCB_SELECTION_TOOL::selectPoint().

◆ SetIncludeSecondary()

void GENERAL_COLLECTORS_GUIDE::SetIncludeSecondary ( bool  include)
inline

Definition at line 493 of file collectors.h.

493 { m_includeSecondary = include; }

References m_includeSecondary.

◆ SetLayerLocked()

void GENERAL_COLLECTORS_GUIDE::SetLayerLocked ( PCB_LAYER_ID  aLayerId,
bool  isLocked 
)
inline

Definition at line 437 of file collectors.h.

438  {
439  m_lockedLayers.set( aLayerId, isLocked );
440  }
LSET m_lockedLayers
bit-mapped layer locked bits
Definition: collectors.h:580

References m_lockedLayers.

◆ SetLayerVisible()

void GENERAL_COLLECTORS_GUIDE::SetLayerVisible ( PCB_LAYER_ID  aLayerId,
bool  isVisible 
)
inline

Definition at line 449 of file collectors.h.

450  {
451  m_visibleLayers.set( aLayerId, isVisible );
452  }
LSET m_visibleLayers
bit-mapped layer visible bits
Definition: collectors.h:583

References m_visibleLayers.

◆ SetLayerVisibleBits()

void GENERAL_COLLECTORS_GUIDE::SetLayerVisibleBits ( LSET  aLayerBits)
inline

Definition at line 453 of file collectors.h.

453 { m_visibleLayers = aLayerBits; }
LSET m_visibleLayers
bit-mapped layer visible bits
Definition: collectors.h:583

References m_visibleLayers.

◆ SetOnePixelInIU()

void GENERAL_COLLECTORS_GUIDE::SetOnePixelInIU ( double  aValue)
inline

Definition at line 571 of file collectors.h.

571 { m_onePixelInIU = aValue; }

References m_onePixelInIU.

Referenced by PCB_SELECTION_TOOL::selectionContains().

◆ SetPreferredLayer()

void GENERAL_COLLECTORS_GUIDE::SetPreferredLayer ( PCB_LAYER_ID  aLayer)
inline

Definition at line 471 of file collectors.h.

471 { m_preferredLayer = aLayer; }
PCB_LAYER_ID m_preferredLayer
Definition: collectors.h:577

References m_preferredLayer.

Referenced by BOARD_INSPECTION_TOOL::highlightNet().

Member Data Documentation

◆ m_ignoreBlindBuriedVias

bool GENERAL_COLLECTORS_GUIDE::m_ignoreBlindBuriedVias
private

◆ m_ignoreFootprintsOnBack

bool GENERAL_COLLECTORS_GUIDE::m_ignoreFootprintsOnBack
private

◆ m_ignoreFootprintsOnFront

bool GENERAL_COLLECTORS_GUIDE::m_ignoreFootprintsOnFront
private

◆ m_ignoreFPReferences

bool GENERAL_COLLECTORS_GUIDE::m_ignoreFPReferences
private

◆ m_ignoreFPTextOnBack

bool GENERAL_COLLECTORS_GUIDE::m_ignoreFPTextOnBack
private

◆ m_ignoreFPTextOnFront

bool GENERAL_COLLECTORS_GUIDE::m_ignoreFPTextOnFront
private

◆ m_ignoreFPValues

bool GENERAL_COLLECTORS_GUIDE::m_ignoreFPValues
private

Definition at line 597 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreFPValues(), and SetIgnoreModulesVals().

◆ m_ignoreHiddenFPText

bool GENERAL_COLLECTORS_GUIDE::m_ignoreHiddenFPText
private

◆ m_ignoreLockedItems

bool GENERAL_COLLECTORS_GUIDE::m_ignoreLockedItems
private

Definition at line 586 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreLockedItems(), and SetIgnoreLockedItems().

◆ m_ignoreLockedLayers

bool GENERAL_COLLECTORS_GUIDE::m_ignoreLockedLayers
private

◆ m_ignoreMicroVias

bool GENERAL_COLLECTORS_GUIDE::m_ignoreMicroVias
private

Definition at line 601 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreMicroVias(), and SetIgnoreMicroVias().

◆ m_ignoreNonVisibleLayers

bool GENERAL_COLLECTORS_GUIDE::m_ignoreNonVisibleLayers
private

Definition at line 584 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), and IgnoreNonVisibleLayers().

◆ m_ignorePadsOnBack

bool GENERAL_COLLECTORS_GUIDE::m_ignorePadsOnBack
private

Definition at line 595 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), IgnorePadsOnBack(), and SetIgnorePadsOnBack().

◆ m_ignorePadsOnFront

bool GENERAL_COLLECTORS_GUIDE::m_ignorePadsOnFront
private

Definition at line 594 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), IgnorePadsOnFront(), and SetIgnorePadsOnFront().

◆ m_ignorePreferredLayer

bool GENERAL_COLLECTORS_GUIDE::m_ignorePreferredLayer
private

◆ m_ignoreThroughHolePads

bool GENERAL_COLLECTORS_GUIDE::m_ignoreThroughHolePads
private

◆ m_ignoreThroughVias

bool GENERAL_COLLECTORS_GUIDE::m_ignoreThroughVias
private

Definition at line 599 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreThroughVias(), and SetIgnoreThroughVias().

◆ m_ignoreTracks

bool GENERAL_COLLECTORS_GUIDE::m_ignoreTracks
private

Definition at line 602 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreTracks(), and SetIgnoreTracks().

◆ m_ignoreZoneFills

bool GENERAL_COLLECTORS_GUIDE::m_ignoreZoneFills
private

Definition at line 603 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreZoneFills(), and SetIgnoreZoneFills().

◆ m_includeSecondary

bool GENERAL_COLLECTORS_GUIDE::m_includeSecondary
private

Definition at line 587 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), IncludeSecondary(), and SetIncludeSecondary().

◆ m_lockedLayers

LSET GENERAL_COLLECTORS_GUIDE::m_lockedLayers
private

bit-mapped layer locked bits

Definition at line 580 of file collectors.h.

Referenced by IsLayerLocked(), and SetLayerLocked().

◆ m_onePixelInIU

double GENERAL_COLLECTORS_GUIDE::m_onePixelInIU
private

Definition at line 605 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), OnePixelInIU(), and SetOnePixelInIU().

◆ m_preferredLayer

PCB_LAYER_ID GENERAL_COLLECTORS_GUIDE::m_preferredLayer
private

Definition at line 577 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), GetPreferredLayer(), and SetPreferredLayer().

◆ m_visibleLayers

LSET GENERAL_COLLECTORS_GUIDE::m_visibleLayers
private

bit-mapped layer visible bits

Definition at line 583 of file collectors.h.

Referenced by GENERAL_COLLECTORS_GUIDE(), IsLayerVisible(), SetLayerVisible(), and SetLayerVisibleBits().


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