Dear All,<br><br>I am trying to use the vtkDelaunay3D but I am getting an error:<br><br>delny = vtk.vtkDelaunay3D()<br>delny.SetInput(p)<br>delny.SetTolerance(0.01)<br><br>where p is a vtkPoints defined as:<br><br>p = vtk.vtkPoints()<br>
p.SetNumberOfPoints(elem)<br><br>and I am inserting some points in p like this:<br><br> p.InsertPoint(index, x, y, z)<br><br>I am getting the following error at the line delny.SetInput(p):<br><br>TypeError: function takes exactly 2 arguments (1 given)<br>
<br>But I had a look to the documentation of the class vtkDelaunay3D and SetInput takes only one argument!!!!<br><br>Someone can tell me where I am mistaken?<br><br>Thanks a lot.<br>Alessandro.<br><br>