KiCad PCB EDA Suite
|
Public Member Functions | |
DEFAULT_OBSTACLE_VISITOR (COLLISION_SEARCH_CONTEXT *aCtx, const ITEM *aItem) | |
virtual | ~DEFAULT_OBSTACLE_VISITOR () |
bool | operator() (ITEM *aCandidate) override |
void | SetWorld (const NODE *aNode, const NODE *aOverride=nullptr) |
void | SetLayerContext (int aLayer) |
void | ClearLayerContext () |
Public Attributes | |
COLLISION_SEARCH_CONTEXT * | m_ctx |
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 215 of file pns_node.cpp.
|
inline |
Definition at line 219 of file pns_node.cpp.
|
inlinevirtual |
Definition at line 225 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 229 of file pns_node.cpp.
References PNS::ITEM::Collide(), m_ctx, PNS::COLLISION_SEARCH_OPTIONS::m_filter, PNS::OBSTACLE_VISITOR::m_item, PNS::COLLISION_SEARCH_OPTIONS::m_kindMask, PNS::OBSTACLE_VISITOR::m_layerContext, PNS::COLLISION_SEARCH_OPTIONS::m_limitCount, PNS::OBSTACLE_VISITOR::m_node, PNS::COLLISION_SEARCH_CONTEXT::obstacles, PNS::ITEM::OfKind(), PNS::COLLISION_SEARCH_CONTEXT::options, and PNS::OBSTACLE_VISITOR::visit().
|
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 operator()().
COLLISION_SEARCH_CONTEXT* PNS::NODE::DEFAULT_OBSTACLE_VISITOR::m_ctx |
Definition at line 217 of file pns_node.cpp.
Referenced by operator()().
|
protectedinherited |
the item we are looking for collisions with
Definition at line 195 of file pns_node.h.
Referenced by operator()().
|
protectedinherited |
Definition at line 199 of file pns_node.h.
Referenced by PNS::OBSTACLE_VISITOR::ClearLayerContext(), 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 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().