| 31 | unsigned int ChildIndex; |
| 32 | |
| 33 | void InitChildIterator() |
| 34 | { |
| 35 | if (!this->ChildIterator) |
| 36 | { |
| 37 | this->ChildIterator = new vtkIterator(this->Parent); |
| 38 | } |
| 39 | this->ChildIterator->Initialize(this->Reverse, nullptr); |
| 40 | |
| 41 | if (this->Reverse && |
| 42 | this->ReverseIter != this->GetInternals(this->CompositeDataSet)->Children.rend()) |
| 43 | { |
| 44 | this->ChildIterator->Initialize(this->Reverse, this->ReverseIter->DataObject); |
| 45 | } |
| 46 | else if (!this->Reverse && |
| 47 | this->Iter != this->GetInternals(this->CompositeDataSet)->Children.end()) |
| 48 | { |
| 49 | this->ChildIterator->Initialize(this->Reverse, this->Iter->DataObject); |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | vtkDataObjectTreeInternals* GetInternals(vtkDataObjectTree* cd) |
| 54 | { |
no test coverage detected