[vtkusers] Field data

Lego Andy andy at x0.org
Wed Nov 1 10:06:32 EST 2000


Hello!

I would like to insert some field data into a point data set:

points ... vtkPointData()

fd = vtkFieldData()
for a in range(some_number):
	fd.InsertNextTuple((a, a/2, a/4))
points.SetFieldData(fd)

I get the error:
AttributeError: InsertNextTuple

Now in manual for vtkFieldData, there is InsertNextTuple.
Why am I having this problem?

			Andy




More information about the vtkusers mailing list