[vtkusers] AddArray vs SetVectors?

David Doria daviddoria at gmail.com
Wed Apr 22 09:41:19 EDT 2009


What is the difference between

polydata->GetPointData()->SetVectors(...);

polydata->GetPointData()->AddArray(...);

It seems like I have to use SetVectors for vtkUnsignedCharArray and AddArray
for vtkFloatArray??

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090422/fe4cd6c4/attachment.htm>


More information about the vtkusers mailing list