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

Method GoToNextItem

Common/DataModel/vtkDataObjectTreeIterator.cxx:338–358  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

336
337//------------------------------------------------------------------------------
338void vtkDataObjectTreeIterator::GoToNextItem()
339{
340 if (!this->Internals->Iterator->IsDoneWithTraversal())
341 {
342 this->NextInternal();
343
344 while (!this->Internals->Iterator->IsDoneWithTraversal())
345 {
346 vtkDataObject* dObj = this->Internals->Iterator->GetCurrentDataObject();
347 if ((!dObj && this->SkipEmptyNodes) ||
348 (this->VisitOnlyLeaves && vtkDataObjectTreeIterator::IsDataObjectTree(dObj)))
349 {
350 this->NextInternal();
351 }
352 else
353 {
354 break;
355 }
356 }
357 }
358}
359
360//------------------------------------------------------------------------------
361void vtkDataObjectTreeIterator::NextInternal()

Callers 15

CopyStructureMethod · 0.45
GetNumberOfPointsMethod · 0.45
GetNumberOfCellsMethod · 0.45
GetActualMemorySizeMethod · 0.45
IncrementMethod · 0.45
sizeMethod · 0.45
EqualPropertiesMethod · 0.45
SetTimeModeMethod · 0.45
InitializeChildrenMethod · 0.45
FinalizeChildrenMethod · 0.45
TickInternalMethod · 0.45
BlankCellsMethod · 0.45

Calls 3

NextInternalMethod · 0.95
IsDoneWithTraversalMethod · 0.45
GetCurrentDataObjectMethod · 0.45

Tested by 3

TestConfigFunction · 0.36
TestConfigFunction · 0.36
LoopAndCheckFunction · 0.36