Dear all,<br><br>I'm trying to set a vtkPoints to my polydata. Here is what I do.<br><br>polydata->SetPoints(points);<br><br>The compiler returns a access vialation and redirect me to line 32 in vtkPointSet.cxx. The source code is vtkCxxSetObjectMacro(vtkPointSet, Points, vtkPoints);<br>
<br>I haven't find any reference about it online. Can anyone tell me what is this and how it works?<br><br>Thank you very much.<br><br>Best Regards<br>Wenlong<br>