MCPcopy Create free account
hub / github.com/Kitware/VTK / ~vtkKdTree

Method ~vtkKdTree

Common/DataModel/vtkKdTree.cxx:297–321  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

295
296//------------------------------------------------------------------------------
297vtkKdTree::~vtkKdTree()
298{
299 if (this->DataSets)
300 {
301 this->DataSets->Delete();
302 this->DataSets = nullptr;
303 }
304
305 this->FreeSearchStructure();
306
307 this->DeleteCellLists();
308
309 delete[] this->CellRegionList;
310 this->CellRegionList = nullptr;
311
312 if (this->TimerLog)
313 {
314 this->TimerLog->Delete();
315 }
316
317 this->ClearLastBuildCache();
318
319 this->SetCalculator(nullptr);
320 this->SetCuts(nullptr);
321}
322
323//------------------------------------------------------------------------------
324void vtkKdTree::SetCalculator(vtkKdNode* kd)

Callers

nothing calls this directly

Calls 6

FreeSearchStructureMethod · 0.95
DeleteCellListsMethod · 0.95
ClearLastBuildCacheMethod · 0.95
SetCalculatorMethod · 0.95
SetCutsMethod · 0.95
DeleteMethod · 0.65

Tested by

no test coverage detected