KiCad PCB EDA Suite
|
#include <pns_node.h>
Public Member Functions | |
OBSTACLE_VISITOR (const ITEM *aItem) | |
virtual | ~OBSTACLE_VISITOR () |
void | SetWorld (const NODE *aNode, const NODE *aOverride=nullptr) |
virtual bool | operator() (ITEM *aCandidate)=0 |
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 | |
Definition at line 174 of file pns_node.h.
PNS::OBSTACLE_VISITOR::OBSTACLE_VISITOR | ( | const ITEM * | aItem | ) |
Definition at line 188 of file pns_node.cpp.
|
inlinevirtual |
Definition at line 179 of file pns_node.h.
|
pure virtual |
Implemented in PNS::NODE::DEFAULT_OBSTACLE_VISITOR, and PNS::HIT_VISITOR.
Definition at line 196 of file pns_node.cpp.
References m_node, and m_override.
Referenced by PNS::NODE::HitTest(), and PNS::NODE::QueryColliding().
|
protected |
Definition at line 203 of file pns_node.cpp.
References m_override, and PNS::NODE::Overrides().
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()().
|
protected |
the item we are looking for collisions with
Definition at line 191 of file pns_node.h.
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()().
|
protected |
node we are searching in (either root or a branch)
Definition at line 193 of file pns_node.h.
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()(), and SetWorld().
|
protected |
node that overrides root entries
Definition at line 194 of file pns_node.h.
Referenced by SetWorld(), and visit().