------------------------------------------------------------------------------
| 295 | |
| 296 | //------------------------------------------------------------------------------ |
| 297 | vtkKdTree::~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 | //------------------------------------------------------------------------------ |
| 324 | void vtkKdTree::SetCalculator(vtkKdNode* kd) |
nothing calls this directly
no test coverage detected