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

Method ClearLastBuildCache

Common/DataModel/vtkKdTree.cxx:2725–2748  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2723
2724//------------------------------------------------------------------------------
2725void vtkKdTree::ClearLastBuildCache()
2726{
2727 this->InvalidateGeometry();
2728
2729 if (this->LastDataCacheSize > 0)
2730 {
2731 delete[] this->LastInputDataSets;
2732 delete[] this->LastDataSetObserverTags;
2733 delete[] this->LastDataSetType;
2734 delete[] this->LastInputDataInfo;
2735 delete[] this->LastBounds;
2736 delete[] this->LastNumCells;
2737 delete[] this->LastNumPoints;
2738 this->LastDataCacheSize = 0;
2739 }
2740 this->LastNumDataSets = 0;
2741 this->LastInputDataSets = nullptr;
2742 this->LastDataSetObserverTags = nullptr;
2743 this->LastDataSetType = nullptr;
2744 this->LastInputDataInfo = nullptr;
2745 this->LastBounds = nullptr;
2746 this->LastNumPoints = nullptr;
2747 this->LastNumCells = nullptr;
2748}
2749
2750//------------------------------------------------------------------------------
2751void vtkKdTree::UpdateBuildTime()

Callers 4

vtkKdTreeMethod · 0.95
~vtkKdTreeMethod · 0.95
UpdateBuildTimeMethod · 0.95

Calls 1

InvalidateGeometryMethod · 0.95

Tested by

no test coverage detected