Go to the next element.
| 200 | |
| 201 | // Go to the next element. |
| 202 | void Next() |
| 203 | { |
| 204 | if (this->PassSelf) |
| 205 | { |
| 206 | this->PassSelf = false; |
| 207 | } |
| 208 | else if (this->ChildIterator) |
| 209 | { |
| 210 | this->ChildIterator->Next(); |
| 211 | if (this->ChildIterator->IsDoneWithTraversal()) |
| 212 | { |
| 213 | this->ChildIndex++; |
| 214 | if (this->Reverse) |
| 215 | { |
| 216 | ++this->ReverseIter; |
| 217 | } |
| 218 | else |
| 219 | { |
| 220 | ++this->Iter; |
| 221 | } |
| 222 | this->InitChildIterator(); |
| 223 | } |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | // Returns the full-tree index for the current location. |
| 228 | vtkDataObjectTreeIndex GetCurrentIndex() |
no test coverage detected