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

Method InvalidateGeometry

Common/DataModel/vtkKdTree.cxx:2713–2722  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Code to save state/time of last k-d tree build, and to determine if a data set's geometry has changed since the last build.

Source from the content-addressed store, hash-verified

2711// last build.
2712//
2713void vtkKdTree::InvalidateGeometry()
2714{
2715 // Remove observers to data sets.
2716 for (int i = 0; i < this->LastNumDataSets; i++)
2717 {
2718 this->LastInputDataSets[i]->RemoveObserver(this->LastDataSetObserverTags[i]);
2719 }
2720
2721 this->LastNumDataSets = 0;
2722}
2723
2724//------------------------------------------------------------------------------
2725void vtkKdTree::ClearLastBuildCache()

Callers 3

ClearLastBuildCacheMethod · 0.95
UpdateBuildTimeMethod · 0.95
LastInputDeletedCallbackFunction · 0.80

Calls 1

RemoveObserverMethod · 0.45

Tested by

no test coverage detected