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

Method SubdivideLeaf

Common/DataModel/vtkHyperTreeGridGeometryEntry.cxx:104–114  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

102
103//------------------------------------------------------------------------------
104void vtkHyperTreeGridGeometryEntry::SubdivideLeaf(
105 const vtkHyperTreeGrid* grid, vtkHyperTree* tree, unsigned int level)
106{
107 assert("pre: not_tree" && tree);
108 assert("pre: depth_limiter" && level <= const_cast<vtkHyperTreeGrid*>(grid)->GetDepthLimiter());
109 assert("pre: is_masked" && !this->IsMasked(grid, tree));
110 if (this->IsLeaf(grid, tree, level))
111 {
112 tree->SubdivideLeaf(this->Index, level);
113 }
114}
115
116//------------------------------------------------------------------------------
117bool vtkHyperTreeGridGeometryEntry::IsTerminalNode(

Callers

nothing calls this directly

Calls 3

IsMaskedMethod · 0.95
IsLeafMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected