MCPcopy Create free account
hub / github.com/Kitware/VTK / SubdivideLeaf

Method SubdivideLeaf

Common/DataModel/vtkHyperTreeGridEntry.cxx:89–99  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

87
88//------------------------------------------------------------------------------
89void vtkHyperTreeGridEntry::SubdivideLeaf(
90 const vtkHyperTreeGrid* grid, vtkHyperTree* tree, unsigned int level)
91{
92 assert("pre: not_tree" && tree);
93 assert("pre: depth_limiter" && level <= const_cast<vtkHyperTreeGrid*>(grid)->GetDepthLimiter());
94 assert("pre: is_masked" && !this->IsMasked(grid, tree));
95 if (this->IsLeaf(grid, tree, level))
96 {
97 tree->SubdivideLeaf(this->Index, level);
98 }
99}
100
101//------------------------------------------------------------------------------
102bool vtkHyperTreeGridEntry::IsTerminalNode(

Callers

nothing calls this directly

Calls 3

IsMaskedMethod · 0.95
IsLeafMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected