[vtkusers] conversion from vtkImageData to vtkDataObject

Martine Lefevre martine_lef at yahoo.fr
Mon Jan 26 09:07:53 EST 2009


Hi,
I'd like to compute the curvature of an 3D object and I got the following error:
error C2664: 'void vtkPolyDataAlgorithm::SetInput(vtkDataObject *)' : cannot convert parameter 1 from 'vtkImageData *' to 'vtkDataObject *'. 
So my question is how I can convert form vtkImageData to vtkDataObject.
Thanks 
Martine


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090126/5e9f2d95/attachment.htm>


More information about the vtkusers mailing list