------------------------------------------------------------------------------
| 139 | |
| 140 | //------------------------------------------------------------------------------ |
| 141 | void vtkHyperTreeGridLevelEntry::ToChild(const vtkHyperTreeGrid* grid, unsigned char ichild) |
| 142 | { |
| 143 | (void)grid; // Used in assert |
| 144 | assert("pre: not_tree" && this->Tree); |
| 145 | assert("pre: not_leaf" && !this->IsLeaf(grid)); |
| 146 | assert("pre: valid_child" && ichild < this->Tree->GetNumberOfChildren()); |
| 147 | assert( |
| 148 | "pre: depth_limiter" && this->Level <= const_cast<vtkHyperTreeGrid*>(grid)->GetDepthLimiter()); |
| 149 | assert("pre: is_masked" && !this->IsMasked(grid)); |
| 150 | this->Index = this->Tree->GetElderChildIndex(this->Index) + ichild; |
| 151 | this->Level++; |
| 152 | } |
| 153 | VTK_ABI_NAMESPACE_END |
nothing calls this directly
no test coverage detected