[vtkusers] Problem solved: Cannot marshal object of type vtkPolyDataNoDeepCopyProb (MeGI's VTK_QT)

Martin Baumann mailsgetlost at web.de
Thu Sep 14 10:05:41 EDT 2006


Hi,

I had problems sending vtkPolyData objects with MPI. The problem was due
to the use of
MeGI's VTK_QT solution (http://wwwipr.ira.uka.de/~kuebler/vtkqt/).

The error looked like:

  vtk-5.0/Parallel/vtkCommunicator.cxx, line 412
  vtkMPICommunicator (0x7496b0): Cannot marshal object of type
vtkPolyDataNoDeepCopyProb

I commented the lines 105ff of vtkQtObjectFactory.cpp

  //if(strcmp(vtkclassname, "vtkPolyData") == 0)
  //{
  //  return vtkPolyDataNoDeepCopyProb::New();
  //}

So it worked for me.
The class vtkPolyDataNoDeepCopyProb was introduced as vtkPolyData had a
bug in DeepCopy().
Maybe this comment helps someone.

Regards,
M.B.



More information about the vtkusers mailing list