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

Method SetTree

Common/DataModel/vtkTreeIterator.cxx:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void vtkTreeIterator::SetTree(vtkTree* tree)
34{
35 bool needs_init = this->Tree != tree;
36 vtkSetObjectBodyMacro(Tree, vtkTree, tree);
37 if (needs_init)
38 {
39 this->StartVertex = -1;
40 this->Initialize();
41 }
42}
43
44void vtkTreeIterator::SetStartVertex(vtkIdType vertex)
45{

Callers 3

TestTreeDeletionFunction · 0.45
TestTreeDFSIteratorFunction · 0.45
TestTreeBFSIteratorFunction · 0.45

Calls 1

InitializeMethod · 0.45

Tested by 3

TestTreeDeletionFunction · 0.36
TestTreeDFSIteratorFunction · 0.36
TestTreeBFSIteratorFunction · 0.36