[vtkusers] about example on page 126(VTK user's guide)
jere ju
jeremysquare at gmail.com
Mon Dec 4 08:10:36 EST 2006
vtkWarpScalar *warp = vtkWarpScalar::New();
warp->SetInput(geometry->GetOutput());
warp->SetScaleFactor(0.005);
i rewrote the code in vc++,but it show error like this:
error C2664: 'SetInput' : cannot convert parameter 1 from 'class vtkPolyData
*' to 'class vtkPointSet *'
Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061204/9f4e786d/attachment.htm>
More information about the vtkusers
mailing list