<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi all vtk users.</DIV>
<DIV>I have a problem with 'vtkThreshold' class.</DIV>
<DIV>I want to use the output of a 'vtkThreshold ' as the input of a 'GeometryFilter'.</DIV>
<DIV>I do this:</DIV>
<DIV>vtkThreshold *thresholdEdgels = vtkThreshold::New();</DIV>
<DIV>...</DIV>
<DIV>...</DIV>
<DIV>vtkGeometryFilter *gf = vtkGeometryFilter::New();<BR>gf->SetInput(thresholdEdgels->GetOutput());</DIV>
<DIV> </DIV>
<DIV>When i this this code, i have this error:</DIV>
<DIV>cannot convert parameter 1 from 'class vtkUnstructuredGrid *' to 'class vtkDataObject *'</DIV>
<DIV> </DIV>
<DIV>How should i do to rectify this?</DIV>
<DIV>Thanks a lot</DIV></td></tr></table><br>