Per-thread context used to manage memory allocations, also records some useful statistics. More...
#include <mitsuba/render/gkdtree.h>
Public Member Functions | |
| BuildContext (SizeType primCount, SizeType binCount) | |
| size_t | size () |
| void | printStats (ELogLevel level) |
| void | accumulateStatisticsFrom (const BuildContext &ctx) |
Public Attributes | |
| OrderedChunkAllocator | leftAlloc |
| OrderedChunkAllocator | rightAlloc |
| BlockedVector< KDNode,(512 *1024/sizeof(KDNode)) > | nodes |
| BlockedVector< IndexType,(512 *1024/sizeof(uint32_t)) > | indices |
| ClassificationStorage | classStorage |
| MinMaxBins | minMaxBins |
| SizeType | leafNodeCount |
| SizeType | nonemptyLeafNodeCount |
| SizeType | innerNodeCount |
| SizeType | primIndexCount |
| SizeType | retractedSplits |
| SizeType | pruned |
Per-thread context used to manage memory allocations, also records some useful statistics.
|
inline |
|
inline |
|
inline |
|
inline |
| ClassificationStorage mitsuba::GenericKDTree< AABBType, TreeConstructionHeuristic, Derived >::BuildContext::classStorage |
| BlockedVector<IndexType, (512*1024/sizeof(uint32_t)) > mitsuba::GenericKDTree< AABBType, TreeConstructionHeuristic, Derived >::BuildContext::indices |
| SizeType mitsuba::GenericKDTree< AABBType, TreeConstructionHeuristic, Derived >::BuildContext::innerNodeCount |
| SizeType mitsuba::GenericKDTree< AABBType, TreeConstructionHeuristic, Derived >::BuildContext::leafNodeCount |
| OrderedChunkAllocator mitsuba::GenericKDTree< AABBType, TreeConstructionHeuristic, Derived >::BuildContext::leftAlloc |
| MinMaxBins mitsuba::GenericKDTree< AABBType, TreeConstructionHeuristic, Derived >::BuildContext::minMaxBins |
| BlockedVector<KDNode, (512*1024/sizeof(KDNode)) > mitsuba::GenericKDTree< AABBType, TreeConstructionHeuristic, Derived >::BuildContext::nodes |
| SizeType mitsuba::GenericKDTree< AABBType, TreeConstructionHeuristic, Derived >::BuildContext::nonemptyLeafNodeCount |
| SizeType mitsuba::GenericKDTree< AABBType, TreeConstructionHeuristic, Derived >::BuildContext::primIndexCount |
| SizeType mitsuba::GenericKDTree< AABBType, TreeConstructionHeuristic, Derived >::BuildContext::pruned |
| SizeType mitsuba::GenericKDTree< AABBType, TreeConstructionHeuristic, Derived >::BuildContext::retractedSplits |
| OrderedChunkAllocator mitsuba::GenericKDTree< AABBType, TreeConstructionHeuristic, Derived >::BuildContext::rightAlloc |