[vtkusers] Convert Data to Understandable VTK Data Format

David Doria daviddoria at gmail.com
Wed Feb 8 20:52:21 EST 2012


On Wed, Feb 8, 2012 at 8:31 PM, Ahmad <falahatpisheh at gmail.com> wrote:
> Thanks. Can I use them in defining a data of type vtkPolyData?

Yep:

polydata->SetPoints(points);
polydata->GetPointData()->AddArray(yourFloatArray);

David



More information about the vtkusers mailing list