------------------------------------------------------------------------------
| 315 | |
| 316 | //------------------------------------------------------------------------------ |
| 317 | void vtkDataObjectTreeIterator::GoToFirstItem() |
| 318 | { |
| 319 | this->InitializeInternal(); |
| 320 | this->NextInternal(); |
| 321 | |
| 322 | while (!this->Internals->Iterator->IsDoneWithTraversal()) |
| 323 | { |
| 324 | vtkDataObject* dObj = this->Internals->Iterator->GetCurrentDataObject(); |
| 325 | if ((!dObj && this->SkipEmptyNodes) || |
| 326 | (this->VisitOnlyLeaves && vtkDataObjectTreeIterator::IsDataObjectTree(dObj))) |
| 327 | { |
| 328 | this->NextInternal(); |
| 329 | } |
| 330 | else |
| 331 | { |
| 332 | break; |
| 333 | } |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | //------------------------------------------------------------------------------ |
| 338 | void vtkDataObjectTreeIterator::GoToNextItem() |
no test coverage detected