|
PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
|
Generic n-ary tree traversals. More...
Go to the source code of this file.
Namespaces | |
| namespace | pbat |
| The main namespace of the library. | |
| namespace | pbat::common |
| Common functionality. | |
Functions | |
| template<class FVisit, class FChild, class TIndex = Index, auto N = 2, auto kStackDepth = 64> | |
| PBAT_HOST_DEVICE void | pbat::common::TraverseNAryTreePseudoPreOrder (FVisit fVisit, FChild fChild, TIndex root=0) |
| Pre-order traversal over an n-ary tree starting from root. | |
| template<class FVisit, class FChild, class TIndex = Index, auto N = 2, auto kStackDepth = 64> | |
| PBAT_HOST_DEVICE void | pbat::common::TraverseNAryTreePseudoPostOrder (FVisit fVisit, FChild fChild, TIndex root=0) |
| Post-order traversal over an n-ary tree starting from root. | |
Generic n-ary tree traversals.