Improve FastPreSelection
fastpreselection currently has bad performance compared to preselection mode.
On this dataset test-perf.vtp, only the call to SelectSurfaceCell
(or SelectSurfacePoints
) method takes ~90 ms when FastPreSelection
is enable and takes only ~3 ms when it is disable.
This is because we clear at each time, the selectionCache when the FastPreSelection is to set to true, when we move the cursor. We should clear it only when the camera changed (or filter in input changed).
We also fixed an issue about bad performance when we perform an rotation #21433 (closed)