[vtkusers] conversion from vtkImageData to vtkDataObject
Sercani
sercanimailgroups at gmail.com
Mon Jan 26 09:19:49 EST 2009
Hi Martine;
Actually vtkImageData inherits from vtkDataSet and it inherits from vtkDataObject, so you may use vtkImageData as a vtkDataObject object. I am using vtkImageData as an input for vtkPolyDataAlgoritm and i get no error…There must be some other stuff that causes error…
Best Regards,
Sercani…
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Martine Lefevre
Sent: Monday, January 26, 2009 4:08 PM
To: vtkusers at vtk.org
Subject: [vtkusers] conversion from vtkImageData to vtkDataObject
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/7d06fd51/attachment.htm>
More information about the vtkusers
mailing list