KiCad PCB EDA Suite
|
A general implementation of a COLLECTORS_GUIDE. More...
#include <collectors.h>
Public Member Functions | |
GENERAL_COLLECTORS_GUIDE (LSET aVisibleLayerMask, PCB_LAYER_ID aPreferredLayer, KIGFX::VIEW *aView) | |
Grab stuff from global preferences and uses reasonable defaults. | |
bool | IsLayerVisible (PCB_LAYER_ID aLayerId) const override |
void | SetLayerVisible (PCB_LAYER_ID aLayerId, bool isVisible) |
void | SetLayerVisibleBits (LSET aLayerBits) |
PCB_LAYER_ID | GetPreferredLayer () const override |
void | SetPreferredLayer (PCB_LAYER_ID aLayer) |
bool | IgnoreLockedItems () const override |
void | SetIgnoreLockedItems (bool ignore) |
bool | IncludeSecondary () const override |
Determine if the secondary criteria, or 2nd choice items should be included. | |
void | SetIncludeSecondary (bool include) |
bool | IgnoreFPTextOnBack () const override |
void | SetIgnoreFPTextOnBack (bool ignore) |
bool | IgnoreFPTextOnFront () const override |
void | SetIgnoreFPTextOnFront (bool ignore) |
bool | IgnoreFootprintsOnBack () const override |
void | SetIgnoreFootprintsOnBack (bool ignore) |
bool | IgnoreFootprintsOnFront () const override |
void | SetIgnoreFootprintsOnFront (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 | SetIgnoreFPValues (bool ignore) |
bool | IgnoreFPReferences () const override |
void | SetIgnoreFPReferences (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) |
int | Accuracy () const override |
void | SetAccuracy (int aValue) |
double | OnePixelInIU () const override |
virtual bool | IgnorePads () const |
Private Attributes | |
PCB_LAYER_ID | m_preferredLayer |
LSET | m_visibleLayers |
bit-mapped layer visible bits | |
bool | m_ignoreLockedItems |
bool | m_includeSecondary |
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 |
int | m_accuracy |
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 318 of file collectors.h.
|
inline |
Grab stuff from global preferences and uses reasonable defaults.
Add more constructors as needed.
aVisibleLayerMask | is the current visible layers (bit mask). |
aPreferredLayer | is the layer to search first. |
Definition at line 330 of file collectors.h.
References KiROUND(), m_accuracy, m_ignoreBlindBuriedVias, m_ignoreFootprintsOnBack, m_ignoreFootprintsOnFront, m_ignoreFPReferences, m_ignoreFPTextOnBack, m_ignoreFPTextOnFront, m_ignoreFPValues, m_ignoreLockedItems, m_ignoreMicroVias, m_ignorePadsOnBack, m_ignorePadsOnFront, m_ignoreThroughHolePads, m_ignoreThroughVias, m_ignoreTracks, m_ignoreZoneFills, m_includeSecondary, m_onePixelInIU, m_preferredLayer, m_visibleLayers, KIGFX::VIEW::ToWorld(), and VECTOR2< T >::x.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 383 of file collectors.h.
References m_preferredLayer.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 457 of file collectors.h.
References m_ignoreBlindBuriedVias.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 415 of file collectors.h.
References m_ignoreFootprintsOnBack.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 421 of file collectors.h.
References m_ignoreFootprintsOnFront.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 451 of file collectors.h.
References m_ignoreFPReferences.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 403 of file collectors.h.
References m_ignoreFPTextOnBack.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 409 of file collectors.h.
References m_ignoreFPTextOnFront.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 445 of file collectors.h.
References m_ignoreFPValues.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 389 of file collectors.h.
References m_ignoreLockedItems.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 460 of file collectors.h.
References m_ignoreMicroVias.
|
inlinevirtualinherited |
Definition at line 118 of file collectors.h.
References COLLECTORS_GUIDE::IgnorePadsOnBack(), COLLECTORS_GUIDE::IgnorePadsOnFront(), and COLLECTORS_GUIDE::IgnoreThroughHolePads().
Referenced by GENERAL_COLLECTOR::Inspect().
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 427 of file collectors.h.
References m_ignorePadsOnBack.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 433 of file collectors.h.
References m_ignorePadsOnFront.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 439 of file collectors.h.
References m_ignoreThroughHolePads.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 454 of file collectors.h.
References m_ignoreThroughVias.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 463 of file collectors.h.
References m_ignoreTracks.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 466 of file collectors.h.
References m_ignoreZoneFills.
|
inlineoverridevirtual |
Determine if the secondary criteria, or 2nd choice items should be included.
Implements COLLECTORS_GUIDE.
Definition at line 397 of file collectors.h.
References m_includeSecondary.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 370 of file collectors.h.
References m_visibleLayers.
|
inlineoverridevirtual |
Implements COLLECTORS_GUIDE.
Definition at line 472 of file collectors.h.
References m_onePixelInIU.
|
inline |
Definition at line 470 of file collectors.h.
References m_accuracy.
|
inline |
Definition at line 458 of file collectors.h.
References m_ignoreBlindBuriedVias.
Referenced by PCB_BASE_FRAME::GetCollectorsGuide(), PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 416 of file collectors.h.
References m_ignoreFootprintsOnBack.
Referenced by PCB_BASE_FRAME::GetCollectorsGuide(), PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 422 of file collectors.h.
References m_ignoreFootprintsOnFront.
Referenced by PCB_BASE_FRAME::GetCollectorsGuide(), PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 452 of file collectors.h.
References m_ignoreFPReferences.
Referenced by PAD_TOOL::EnumeratePads(), PCB_BASE_FRAME::GetCollectorsGuide(), PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 404 of file collectors.h.
References m_ignoreFPTextOnBack.
Referenced by PAD_TOOL::EnumeratePads(), PCB_BASE_FRAME::GetCollectorsGuide(), PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 410 of file collectors.h.
References m_ignoreFPTextOnFront.
Referenced by PAD_TOOL::EnumeratePads(), PCB_BASE_FRAME::GetCollectorsGuide(), PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 446 of file collectors.h.
References m_ignoreFPValues.
Referenced by PAD_TOOL::EnumeratePads(), PCB_BASE_FRAME::GetCollectorsGuide(), PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 390 of file collectors.h.
References m_ignoreLockedItems.
|
inline |
Definition at line 461 of file collectors.h.
References m_ignoreMicroVias.
Referenced by PCB_BASE_FRAME::GetCollectorsGuide(), PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 428 of file collectors.h.
References m_ignorePadsOnBack.
Referenced by PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 434 of file collectors.h.
References m_ignorePadsOnFront.
Referenced by PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 440 of file collectors.h.
References m_ignoreThroughHolePads.
Referenced by PCB_BASE_FRAME::GetCollectorsGuide(), PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 455 of file collectors.h.
References m_ignoreThroughVias.
Referenced by PCB_BASE_FRAME::GetCollectorsGuide(), PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 464 of file collectors.h.
References m_ignoreTracks.
Referenced by PCB_BASE_FRAME::GetCollectorsGuide(), PCB_SELECTION_TOOL::getCollectorsGuide(), and PCB_TEST_SELECTION_TOOL::getCollectorsGuide().
|
inline |
Definition at line 467 of file collectors.h.
References m_ignoreZoneFills.
Referenced by BOARD_INSPECTION_TOOL::highlightNet(), and PCB_SELECTION_TOOL::selectPoint().
|
inline |
Definition at line 398 of file collectors.h.
References m_includeSecondary.
|
inline |
Definition at line 374 of file collectors.h.
References m_visibleLayers, and BASE_SET::set().
|
inline |
Definition at line 378 of file collectors.h.
References m_visibleLayers.
Referenced by PCB_SELECTION_TOOL::selectAllConnectedShapes().
|
inline |
Definition at line 384 of file collectors.h.
References m_preferredLayer.
Referenced by BOARD_INSPECTION_TOOL::highlightNet().
|
private |
Definition at line 501 of file collectors.h.
Referenced by Accuracy(), GENERAL_COLLECTORS_GUIDE(), and SetAccuracy().
|
private |
Definition at line 495 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreBlindBuriedVias(), and SetIgnoreBlindBuriedVias().
|
private |
Definition at line 487 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreFootprintsOnBack(), and SetIgnoreFootprintsOnBack().
|
private |
Definition at line 488 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreFootprintsOnFront(), and SetIgnoreFootprintsOnFront().
|
private |
Definition at line 493 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreFPReferences(), and SetIgnoreFPReferences().
|
private |
Definition at line 485 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreFPTextOnBack(), and SetIgnoreFPTextOnBack().
|
private |
Definition at line 486 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreFPTextOnFront(), and SetIgnoreFPTextOnFront().
|
private |
Definition at line 492 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreFPValues(), and SetIgnoreFPValues().
|
private |
Definition at line 482 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreLockedItems(), and SetIgnoreLockedItems().
|
private |
Definition at line 496 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreMicroVias(), and SetIgnoreMicroVias().
|
private |
Definition at line 490 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnorePadsOnBack(), and SetIgnorePadsOnBack().
|
private |
Definition at line 489 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnorePadsOnFront(), and SetIgnorePadsOnFront().
|
private |
Definition at line 491 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreThroughHolePads(), and SetIgnoreThroughHolePads().
|
private |
Definition at line 494 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreThroughVias(), and SetIgnoreThroughVias().
|
private |
Definition at line 497 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreTracks(), and SetIgnoreTracks().
|
private |
Definition at line 498 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IgnoreZoneFills(), and SetIgnoreZoneFills().
|
private |
Definition at line 483 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IncludeSecondary(), and SetIncludeSecondary().
|
private |
Definition at line 500 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), and OnePixelInIU().
|
private |
Definition at line 478 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), GetPreferredLayer(), and SetPreferredLayer().
|
private |
bit-mapped layer visible bits
Definition at line 480 of file collectors.h.
Referenced by GENERAL_COLLECTORS_GUIDE(), IsLayerVisible(), SetLayerVisible(), and SetLayerVisibleBits().