[vtkusers] VTK data structure to C-array

Romain LEGUAY romain.leguay at gmail.com
Sat Jun 23 13:28:30 EDT 2018


Hi everyone,

I try to convert all points of a vtkImageData to a C-array. 
My purpose is to use this array Inside OpenCL for example.

My method actually is to read all points of the vtkImageData using  vtkImageData::ComputePointId and vtkImageData ::GetPoint but this method is too slow.

I don’t find any documentation on this.

Thanks,

Romain

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180623/0a6d4915/attachment.html>


More information about the vtkusers mailing list