[vtkusers] Don't import a lot of data !!??

Glauco Silva glauco.silva at cenpra.gov.br
Thu Jul 20 15:57:21 EDT 2006


The solution was to use :
vtkImages.SetImportVoidPointer(image.data, image.size*image.itemsize)
#vtkImages.CopyImportVoidPointer(image.data, image.size*image.itemsize)

thanks for help !!

----- Original Message ----- 
From: "Sean McBride" <sean at rogue-research.com>
To: "Glauco Silva" <glauco.silva at cenpra.gov.br>; 
<amy.squillacote at kitware.com>
Cc: <vtkusers at vtk.org>
Sent: Thursday, July 20, 2006 3:47 PM
Subject: Re: [vtkusers] Don't import a lot of data !!??


> On 2006-07-20 15:41, Glauco Silva said:
>
>>But I have 2GB  of memory..
>
> That doesn't really matter.  Your OS may still be unable to allocate
> 500MB in you're process' address space, perhaps due to memory 
> fragmentation.
>
> -- 
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
>
> 




More information about the vtkusers mailing list