[vtkusers] 'SetOutput' : cannot convert parameter 1 from 'class vtkImageData *' to 'class vtkPolyData *'
Paul Tait
paul at opes.com.au
Wed Oct 15 23:23:20 EDT 2003
according to the docs and examples this should work. What am I doing wrong ?
usg is vtkUnstructuredGrid
// vtkShepardMethod *sm = vtkShepardMethod::New();
// sm->SetInput(usg);
vtkGaussianSplatter *sm = vtkGaussianSplatter::New();
sm->SetInput(usg);
vtkContourFilter *cf = vtkContourFilter::New();
cf->SetOutput(sm->GetOutput());
error C2664: 'SetOutput' : cannot convert parameter 1 from 'class
vtkImageData *' to 'class vtkPolyData *'
same error for vtkShepardMethod too
Thanks Paul Tait
More information about the vtkusers
mailing list