------------------------------------------------------------------------------
| 95 | |
| 96 | //------------------------------------------------------------------------------ |
| 97 | void 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 | //------------------------------------------------------------------------------ |
| 110 | bool vtkHyperTreeGridGeometryLevelEntry::IsTerminalNode(const vtkHyperTreeGrid* grid) const |