<div>&nbsp;vtkWarpScalar *warp = vtkWarpScalar::New();<br>&nbsp;warp-&gt;SetInput(geometry-&gt;GetOutput());<br>&nbsp;warp-&gt;SetScaleFactor(0.005);</div>
<div>&nbsp;</div>
<div>i rewrote the code in vc++,but it show error like this:</div>
<div>error C2664: 'SetInput' : cannot convert parameter 1 from 'class vtkPolyData *' to 'class vtkPointSet *'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
</div>