[vtkusers] vtkImageData to C array
Jothy
jothybasu at gmail.com
Tue Oct 12 07:48:54 EDT 2010
Thanks!
Will do it.
Jothy
On Tue, Oct 12, 2010 at 12:37 PM, David Doria <daviddoria at gmail.com> wrote:
> On Tue, Oct 12, 2010 at 7:21 AM, Jothy <jothybasu at gmail.com> wrote:
> > Hi all,
> >
> > I want to convert a vtkImageData to a C array.
> >
> > I don't like to use imgData->hgetScalarPointer(i,j,k), because it will be
> > too slow for my purpose.
> >
> > How to do this?
> >
> > Any hints?
>
> I believe vtkImageExport is for this purpose. I started a shell here:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Images/ImageExport
>
> it would be great if you figure it out if you could fill it in :)
>
> David
>
--
Research Scholar
Dept. of Medical Physics
Clatterbridge Centre for Oncology
UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101012/a17cdbde/attachment.htm>
More information about the vtkusers
mailing list