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.
|
inlinevirtual |
Definition at line 471 of file pns_node.cpp.
|
inlineinherited |
Definition at line 187 of file pns_node.h.
References PNS::OBSTACLE_VISITOR::m_layerContext.
Referenced by PNS::LAYER_CONTEXT_SETTER::~LAYER_CONTEXT_SETTER().
|
inlineoverridevirtual |
Implements PNS::OBSTACLE_VISITOR.
Definition at line 475 of file pns_node.cpp.
References PNS::ITEM_SET::Add(), SHAPE::Collide(), m_items, m_point, and PNS::ITEM::Shape().
|
inlineinherited |
Definition at line 186 of file pns_node.h.
References PNS::OBSTACLE_VISITOR::m_layerContext.
Referenced by PNS::LAYER_CONTEXT_SETTER::LAYER_CONTEXT_SETTER().
|
inherited |
Definition at line 196 of file pns_node.cpp.
References PNS::OBSTACLE_VISITOR::m_node, and PNS::OBSTACLE_VISITOR::m_override.
Referenced by PNS::NODE::HitTest(), and PNS::NODE::QueryColliding().
|
protectedinherited |
Definition at line 203 of file pns_node.cpp.
References PNS::OBSTACLE_VISITOR::m_override, and PNS::NODE::Overrides().
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()().
|
protectedinherited |
the item we are looking for collisions with
Definition at line 195 of file pns_node.h.
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()().
ITEM_SET& PNS::HIT_VISITOR::m_items |
Definition at line 462 of file pns_node.cpp.
Referenced by operator()().
|
protectedinherited |
Definition at line 199 of file pns_node.h.
Referenced by PNS::OBSTACLE_VISITOR::ClearLayerContext(), PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()(), and PNS::OBSTACLE_VISITOR::SetLayerContext().
|
protectedinherited |
node we are searching in (either root or a branch)
Definition at line 197 of file pns_node.h.
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()(), and PNS::OBSTACLE_VISITOR::SetWorld().
|
protectedinherited |
node that overrides root entries
Definition at line 198 of file pns_node.h.
Referenced by PNS::OBSTACLE_VISITOR::SetWorld(), and PNS::OBSTACLE_VISITOR::visit().
const VECTOR2I& PNS::HIT_VISITOR::m_point |
Definition at line 463 of file pns_node.cpp.
Referenced by operator()().