vtkDecimate is not thread-safe
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When I attempted to use vtkDecimate in a multi-threaded application, where each thread operates on distinct and unrelated data, I would get a SEGFAULT in vtkDecimate when two threads would attempt to use their own isntances of vtkDecimate simultaneously. I checked vtkDecimate.Cxx and found several statically declared variables used by the class. When I made a vtkMyDecimate class that was identical, except having these variables as member variables of the class, the problem was resolved.