------------------------------------------------------------------------------
| 113 | |
| 114 | //------------------------------------------------------------------------------ |
| 115 | void 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 | //------------------------------------------------------------------------------ |
| 128 | bool vtkHyperTreeGridLevelEntry::IsTerminalNode(const vtkHyperTreeGrid* grid) const |