<div> vtkWarpScalar *warp = vtkWarpScalar::New();<br> warp->SetInput(geometry->GetOutput());<br> warp->SetScaleFactor(0.005);</div>
<div> </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> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
</div>