| 407 | } |
| 408 | |
| 409 | void vtkPropAssembly::BuildPaths(vtkAssemblyPaths* paths, vtkAssemblyPath* path) |
| 410 | { |
| 411 | vtkProp* prop; |
| 412 | |
| 413 | vtkCollectionSimpleIterator pit; |
| 414 | for (this->Parts->InitTraversal(pit); (prop = this->Parts->GetNextProp(pit));) |
| 415 | { |
| 416 | path->AddNode(prop, nullptr); |
| 417 | |
| 418 | // dive into the hierarchy |
| 419 | prop->BuildPaths(paths, path); |
| 420 | |
| 421 | // when returned, pop the last node off of the |
| 422 | // current path |
| 423 | path->DeleteLastNode(); |
| 424 | } |
| 425 | } |
| 426 | |
| 427 | void vtkPropAssembly::PrintSelf(ostream& os, vtkIndent indent) |
| 428 | { |
no test coverage detected