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

Method GetChildNodes

Common/DataModel/vtkDataAssembly.cxx:1126–1135  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1124
1125//------------------------------------------------------------------------------
1126std::vector<int> vtkDataAssembly::GetChildNodes(
1127 int parent, bool traverse_subtree, int traversal_order) const
1128{
1129 vtkNew<GetChildNodesVisitor> visitor;
1130 visitor->TraverseSubtree = traverse_subtree;
1131 visitor->Root = parent;
1132 this->Visit(parent, visitor,
1133 traverse_subtree ? traversal_order : vtkDataAssembly::TraversalOrder::BreadthFirst);
1134 return visitor->Children;
1135}
1136
1137//------------------------------------------------------------------------------
1138std::vector<unsigned int> vtkDataAssembly::GetDataSetIndices(

Callers 8

RemoveNodeMethod · 0.95
RequestDataMethod · 0.80
FillAssemblyFunction · 0.80
AppendAssemblyMethod · 0.80
TestDataAssemblyFunction · 0.80
ExecuteMethod · 0.80

Calls 1

VisitMethod · 0.95

Tested by 2

TestDataAssemblyFunction · 0.64
ExecuteMethod · 0.64