------------------------------------------------------------------------------
| 101 | |
| 102 | //------------------------------------------------------------------------------ |
| 103 | bool vtkHyperTreeGridLevelEntry::IsLeaf(const vtkHyperTreeGrid* grid) const |
| 104 | { |
| 105 | assert("pre: not_tree" && this->Tree); |
| 106 | // How to set an accessor to DepthLimiter which is const? |
| 107 | if (this->Level == const_cast<vtkHyperTreeGrid*>(grid)->GetDepthLimiter()) |
| 108 | { |
| 109 | return true; |
| 110 | } |
| 111 | return this->Tree->IsLeaf(this->Index); |
| 112 | } |
| 113 | |
| 114 | //------------------------------------------------------------------------------ |
| 115 | void vtkHyperTreeGridLevelEntry::SubdivideLeaf(const vtkHyperTreeGrid* grid) |
no test coverage detected