------------------------------------------------------------------------------ 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.
| 2711 | // last build. |
| 2712 | // |
| 2713 | void 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 | //------------------------------------------------------------------------------ |
| 2725 | void vtkKdTree::ClearLastBuildCache() |
no test coverage detected