[vtkusers] Iterating through vtkFloatArray

Abdul Abdul abdul.sw84 at gmail.com
Sun Jul 26 11:24:37 EDT 2015


I noticed that the return type of a function I'm calling is vtkFloatArray.
I want to check the components of this array, but, not sure how to iterate
through its components.

Since when I tried to iterate through the elements, I got the following

TypeError: 'vtkobject' object is not iterable

Why am I getting such error?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150726/7518c8a7/attachment.html>

More information about the vtkusers mailing list