------------------------------------------------------------------------------
| 1586 | |
| 1587 | //------------------------------------------------------------------------------ |
| 1588 | vtkHyperTree* vtkHyperTreeGrid::vtkHyperTreeGridIterator::GetNextTree(vtkIdType& index) |
| 1589 | { |
| 1590 | if (this->Iterator == this->Grid->HyperTrees.end()) |
| 1591 | { |
| 1592 | return nullptr; |
| 1593 | } |
| 1594 | vtkHyperTree* tree = this->Iterator->second.GetPointer(); |
| 1595 | index = this->Iterator->first; |
| 1596 | ++this->Iterator; |
| 1597 | |
| 1598 | return tree; |
| 1599 | } |
| 1600 | |
| 1601 | //------------------------------------------------------------------------------ |
| 1602 | vtkHyperTree* vtkHyperTreeGrid::vtkHyperTreeGridIterator::GetNextTree() |