MCPcopy Create free account
hub / github.com/Kitware/VTK / GetNextTree

Method GetNextTree

Common/DataModel/vtkHyperTreeGrid.cxx:1588–1599  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1586
1587//------------------------------------------------------------------------------
1588vtkHyperTree* 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//------------------------------------------------------------------------------
1602vtkHyperTree* vtkHyperTreeGrid::vtkHyperTreeGridIterator::GetNextTree()

Callers 15

ReadPieceDataMethod · 0.80
WriteDataMethod · 0.80
WriteTrees_0Method · 0.80
WriteTrees_1Method · 0.80
WriteTrees_2Method · 0.80
count_treesFunction · 0.80
AreHTGSameFunction · 0.80
GetNumberOfLevelsMethod · 0.80
GetNumberOfCellsMethod · 0.80
GetNumberOfLeavesMethod · 0.80
GetPureMaskMethod · 0.80

Calls 2

endMethod · 0.45
GetPointerMethod · 0.45

Tested by 15

count_treesFunction · 0.64
AreHTGSameFunction · 0.64
TestTreeDeletionFunction · 0.64
TestElderChildIndexOKFunction · 0.64
ExecuteMethod · 0.64
TestSourceFunction · 0.64
TripAllFunction · 0.64
CheckTreeDepthsFunction · 0.64
CountMaskedTreesFunction · 0.64