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

Method DeleteChildNodes

Common/DataModel/vtkKdNode.cxx:551–564  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

549
550//------------------------------------------------------------------------------
551void vtkKdNode::DeleteChildNodes()
552{
553 if (this->GetLeft())
554 {
555 this->GetLeft()->SetUp(nullptr);
556 this->SetLeft(nullptr);
557 }
558
559 if (this->GetRight())
560 {
561 this->GetRight()->SetUp(nullptr);
562 this->SetRight(nullptr);
563 }
564}
565
566//------------------------------------------------------------------------------
567int vtkKdNode::IntersectsBox(

Callers 5

AddChildNodesMethod · 0.95
DeleteAllDescendantsMethod · 0.45
DeleteAllDescendantsMethod · 0.45
DeleteAllDescendantsMethod · 0.45
DeleteAllDescendantsMethod · 0.45

Calls 1

SetUpMethod · 0.45

Tested by

no test coverage detected