Use thread-safe call to this->GetDimensions
I ran TestPointSmoothingFilter using ThreadSanitizer and found two calls to this->GetDimensions()
, which isn't thread-safe since each call writes to a common array. This MR create a temporary array and uses vtkImageData::GetDimensions(int* dOut)
.
This is part of #18222