MeshLib C++ Docs
Loading...
Searching...
No Matches
MRProcessSelfTreeSubtasks.h File Reference
#include "MRMeshFwd.h"
#include "MRAABBTreeNode.h"
#include "MREnums.h"
#include <functional>

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

MR_BIND_IGNORE void MR::processSelfSubtasks (const AABBTree &tree, std::vector< NodeNode > &subtasks, std::vector< NodeNode > &nextSubtasks, std::function< Processing(const NodeNode &)> processLeaf, std::function< Processing(const Box3f &lBox, const Box3f &rBox)> processNodes)
 This function process all subtasks in one tree
left/right == right/left in this case, so on same non-leaf nodes it only adds 3 next subtasks,
same leafs are skipped and different leafs area processed with processLeaf callback.