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) |
void | SetLayerContext (int aLayer) |
void | ClearLayerContext () |
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 | |
std::optional< int > | m_layerContext |
Definition at line 175 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 180 of file pns_node.h.
|
inline |
Definition at line 187 of file pns_node.h.
References m_layerContext.
Referenced by PNS::LAYER_CONTEXT_SETTER::~LAYER_CONTEXT_SETTER().
|
pure virtual |
Implemented in PNS::NODE::DEFAULT_OBSTACLE_VISITOR, and PNS::HIT_VISITOR.
|
inline |
Definition at line 186 of file pns_node.h.
References m_layerContext.
Referenced by PNS::LAYER_CONTEXT_SETTER::LAYER_CONTEXT_SETTER().
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 195 of file pns_node.h.
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()().
|
protected |
Definition at line 199 of file pns_node.h.
Referenced by ClearLayerContext(), PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()(), and SetLayerContext().
|
protected |
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 SetWorld().
|
protected |
node that overrides root entries
Definition at line 198 of file pns_node.h.
Referenced by SetWorld(), and visit().