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

Method SubdivideLeaf

Common/DataModel/vtkHyperTreeGridGeometryLevelEntry.cxx:97–107  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

95
96//------------------------------------------------------------------------------
97void vtkHyperTreeGridGeometryLevelEntry::SubdivideLeaf(const vtkHyperTreeGrid* grid)
98{
99 assert("pre: not_tree" && this->Tree);
100 assert(
101 "pre: depth_limiter" && this->Level <= const_cast<vtkHyperTreeGrid*>(grid)->GetDepthLimiter());
102 assert("pre: is_masked" && !this->IsMasked(grid));
103 if (this->IsLeaf(grid))
104 {
105 this->Tree->SubdivideLeaf(this->Index, this->Level);
106 }
107}
108
109//------------------------------------------------------------------------------
110bool vtkHyperTreeGridGeometryLevelEntry::IsTerminalNode(const vtkHyperTreeGrid* grid) const

Callers

nothing calls this directly

Calls 3

IsMaskedMethod · 0.95
IsLeafMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected