[vtkusers] Problem with 'vtkThreshold'

Nour Mestiri nourmestiri at yahoo.fr
Wed Nov 12 12:54:56 EST 2008

Hi all vtk users.
I have a problem with 'vtkThreshold' class.
I want to use the output of a 'vtkThreshold ' as the input of a 'GeometryFilter'.
I do this:
vtkThreshold *thresholdEdgels = vtkThreshold::New();
vtkGeometryFilter *gf = vtkGeometryFilter::New();
When i this this code, i have this error:
cannot convert parameter 1 from 'class vtkUnstructuredGrid *' to 'class vtkDataObject *'
How should i do to rectify this?
Thanks a lot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081112/1860094d/attachment.htm>

More information about the vtkusers mailing list