KiCad PCB EDA Suite
|
Public Member Functions | |
HIT_VISITOR (ITEM_SET &aTab, const VECTOR2I &aPoint) | |
virtual | ~HIT_VISITOR () |
bool | operator() (ITEM *aItem) override |
void | SetWorld (const NODE *aNode, const NODE *aOverride=nullptr) |
void | SetLayerContext (int aLayer) |
void | ClearLayerContext () |
Public Attributes | |
ITEM_SET & | m_items |
const VECTOR2I & | m_point |
Protected Member Functions | |
bool | visit (ITEM *aCandidate) |
Protected Attributes | |
const ITEM * | m_item |
the item we are looking for collisions with | |
const NODE * | m_node |
node we are searching in (either root or a branch) | |
const NODE * | m_override |
node that overrides root entries | |
std::optional< int > | m_layerContext |
Definition at line 460 of file pns_node.cpp.
Definition at line 465 of file pns_node.cpp.
References m_items, m_point, and PNS::OBSTACLE_VISITOR::OBSTACLE_VISITOR().
|
inlinevirtual |
Definition at line 471 of file pns_node.cpp.
|
inlineinherited |
Definition at line 188 of file pns_node.h.
References m_layerContext.
|
inlineoverridevirtual |
Implements PNS::OBSTACLE_VISITOR.
Definition at line 475 of file pns_node.cpp.
References SHAPE::Collide(), m_items, m_point, and PNS::ITEM::Shape().
|
inlineinherited |
Definition at line 187 of file pns_node.h.
References m_layerContext.
|
inherited |
Definition at line 196 of file pns_node.cpp.
References m_node, and m_override.
Referenced by PNS::NODE::HitTest(), and PNS::NODE::QueryColliding().
|
protectedinherited |
Definition at line 203 of file pns_node.cpp.
References m_override.
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()().
|
protectedinherited |
the item we are looking for collisions with
Definition at line 196 of file pns_node.h.
Referenced by OBSTACLE_VISITOR(), and PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()().
ITEM_SET& PNS::HIT_VISITOR::m_items |
Definition at line 462 of file pns_node.cpp.
Referenced by HIT_VISITOR(), and operator()().
|
protectedinherited |
Definition at line 200 of file pns_node.h.
Referenced by ClearLayerContext(), PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()(), and SetLayerContext().
|
protectedinherited |
node we are searching in (either root or a branch)
Definition at line 198 of file pns_node.h.
Referenced by OBSTACLE_VISITOR(), PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()(), and SetWorld().
|
protectedinherited |
node that overrides root entries
Definition at line 199 of file pns_node.h.
Referenced by OBSTACLE_VISITOR(), SetWorld(), and visit().
const VECTOR2I& PNS::HIT_VISITOR::m_point |
Definition at line 463 of file pns_node.cpp.
Referenced by HIT_VISITOR(), and operator()().