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

Method SubdivideLeaf

Common/DataModel/vtkHyperTreeGridLevelEntry.cxx:115–125  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

113
114//------------------------------------------------------------------------------
115void vtkHyperTreeGridLevelEntry::SubdivideLeaf(const vtkHyperTreeGrid* grid)
116{
117 assert("pre: not_tree" && this->Tree);
118 assert(
119 "pre: depth_limiter" && this->Level <= const_cast<vtkHyperTreeGrid*>(grid)->GetDepthLimiter());
120 assert("pre: is_masked" && !this->IsMasked(grid));
121 if (this->IsLeaf(grid))
122 {
123 this->Tree->SubdivideLeaf(this->Index, this->Level);
124 }
125}
126
127//------------------------------------------------------------------------------
128bool vtkHyperTreeGridLevelEntry::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