MCPcopy Create free account
hub / github.com/Kitware/VTK / BuildPaths

Method BuildPaths

Rendering/Core/vtkPropAssembly.cxx:409–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409void 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
427void vtkPropAssembly::PrintSelf(ostream& os, vtkIndent indent)
428{

Callers 1

UpdatePathsMethod · 0.45

Calls 4

GetNextPropMethod · 0.80
InitTraversalMethod · 0.45
AddNodeMethod · 0.45
DeleteLastNodeMethod · 0.45

Tested by

no test coverage detected