[vtkusers] vtkDelaunay3D

Alessandro Artusi artusialessandro4 at googlemail.com
Thu Oct 29 09:20:53 EDT 2009


Dear All,

I am trying to use the vtkDelaunay3D but I am getting an error:

delny = vtk.vtkDelaunay3D()
delny.SetInput(p)
delny.SetTolerance(0.01)

where p is a vtkPoints defined as:

p = vtk.vtkPoints()
p.SetNumberOfPoints(elem)

and I am inserting some points in p like this:

 p.InsertPoint(index, x, y, z)

I am getting the following error at the line delny.SetInput(p):

TypeError: function takes exactly 2 arguments (1 given)

But I had a look to the documentation of the class vtkDelaunay3D and
SetInput takes only one argument!!!!

Someone can tell me where I am mistaken?

Thanks a lot.
Alessandro.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091029/595a81ae/attachment.htm>


More information about the vtkusers mailing list