| 
    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 176 of file pns_node.h.
| PNS::OBSTACLE_VISITOR::OBSTACLE_VISITOR | ( | const ITEM * | aItem | ) | 
Definition at line 188 of file pns_node.cpp.
References m_item, m_node, and m_override.
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::DEFAULT_OBSTACLE_VISITOR(), and PNS::HIT_VISITOR::HIT_VISITOR().
      
  | 
  inlinevirtual | 
Definition at line 181 of file pns_node.h.
      
  | 
  inline | 
Definition at line 188 of file pns_node.h.
References m_layerContext.
      
  | 
  pure virtual | 
Implemented in PNS::HIT_VISITOR, and PNS::NODE::DEFAULT_OBSTACLE_VISITOR.
      
  | 
  inline | 
Definition at line 187 of file pns_node.h.
References m_layerContext.
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.
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()().
      
  | 
  protected | 
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()().
      
  | 
  protected | 
Definition at line 200 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 198 of file pns_node.h.
Referenced by OBSTACLE_VISITOR(), PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()(), and SetWorld().
      
  | 
  protected | 
node that overrides root entries
Definition at line 199 of file pns_node.h.
Referenced by OBSTACLE_VISITOR(), SetWorld(), and visit().