Dear all,<br><br>I&#39;m trying to set a vtkPoints to my polydata. Here is what I do.<br><br>polydata-&gt;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&#39;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>