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

Method BuildPaths

Rendering/Image/vtkImageStack.cxx:590–601  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

588
589//------------------------------------------------------------------------------
590void vtkImageStack::BuildPaths(vtkAssemblyPaths* paths, vtkAssemblyPath* path)
591{
592 // the path consists only of the active image
593 vtkImageSlice* image = this->GetActiveImage();
594
595 if (image)
596 {
597 path->AddNode(image, image->GetMatrix());
598 image->BuildPaths(paths, path);
599 path->DeleteLastNode();
600 }
601}
602
603//------------------------------------------------------------------------------
604void vtkImageStack::PrintSelf(ostream& os, vtkIndent indent)

Callers 1

UpdatePathsMethod · 0.45

Calls 4

GetActiveImageMethod · 0.95
AddNodeMethod · 0.45
GetMatrixMethod · 0.45
DeleteLastNodeMethod · 0.45

Tested by

no test coverage detected