| 113 | } |
| 114 | |
| 115 | bool IsDoneWithTraversal() |
| 116 | { |
| 117 | if (!this->DataObject) |
| 118 | { |
| 119 | return true; |
| 120 | } |
| 121 | |
| 122 | if (this->PassSelf) |
| 123 | { |
| 124 | return false; |
| 125 | } |
| 126 | |
| 127 | if (!this->CompositeDataSet) |
| 128 | { |
| 129 | return true; |
| 130 | } |
| 131 | |
| 132 | if (this->Reverse && |
| 133 | this->ReverseIter == this->GetInternals(this->CompositeDataSet)->Children.rend()) |
| 134 | { |
| 135 | return true; |
| 136 | } |
| 137 | |
| 138 | if (!this->Reverse && |
| 139 | this->Iter == this->GetInternals(this->CompositeDataSet)->Children.end()) |
| 140 | { |
| 141 | return true; |
| 142 | } |
| 143 | return false; |
| 144 | } |
| 145 | |
| 146 | // Should not be called is this->IsDoneWithTraversal() returns true. |
| 147 | vtkDataObject* GetCurrentDataObject() |
no test coverage detected