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

Method SelfRegister

Common/DataModel/vtkKdTree.cxx:1612–1623  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1610
1611//------------------------------------------------------------------------------
1612void vtkKdTree::SelfRegister(vtkKdNode* kd)
1613{
1614 if (kd->GetLeft() == nullptr)
1615 {
1616 this->RegionList[kd->GetID()] = kd;
1617 }
1618 else
1619 {
1620 this->SelfRegister(kd->GetLeft());
1621 this->SelfRegister(kd->GetRight());
1622 }
1623}
1624
1625//------------------------------------------------------------------------------
1626int vtkKdTree::SelfOrder(int startId, vtkKdNode* kd)

Callers 1

BuildRegionListMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected