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.
References m_ctx, and PNS::OBSTACLE_VISITOR::OBSTACLE_VISITOR().
|
inlinevirtual |
Definition at line 225 of file pns_node.cpp.
|
inlineinherited |
Definition at line 188 of file pns_node.h.
References m_layerContext.
|
inlineoverridevirtual |
Implements PNS::OBSTACLE_VISITOR.
Definition at line 229 of file pns_node.cpp.
References PNS::ITEM::Collide(), m_ctx, PNS::OBSTACLE_VISITOR::m_item, PNS::OBSTACLE_VISITOR::m_layerContext, PNS::OBSTACLE_VISITOR::m_node, PNS::ITEM::OfKind(), and PNS::OBSTACLE_VISITOR::visit().
|
inlineinherited |
Definition at line 187 of file pns_node.h.
References m_layerContext.
|
inherited |
Definition at line 196 of file pns_node.cpp.
References m_node, and m_override.
Referenced by PNS::NODE::HitTest(), and PNS::NODE::QueryColliding().
|
protectedinherited |
Definition at line 203 of file pns_node.cpp.
References m_override.
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()().
COLLISION_SEARCH_CONTEXT* PNS::NODE::DEFAULT_OBSTACLE_VISITOR::m_ctx |
Definition at line 217 of file pns_node.cpp.
Referenced by DEFAULT_OBSTACLE_VISITOR(), and operator()().
|
protectedinherited |
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()().
|
protectedinherited |
Definition at line 200 of file pns_node.h.
Referenced by ClearLayerContext(), PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()(), and SetLayerContext().
|
protectedinherited |
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().
|
protectedinherited |
node that overrides root entries
Definition at line 199 of file pns_node.h.
Referenced by OBSTACLE_VISITOR(), SetWorld(), and visit().