[vtkusers] vtkImageData question

powerhouseofexcellence powerhouseofexcellence at gmail.com
Fri Aug 19 13:45:59 EDT 2005


Hello,

I have been displaying images using VTK. Sometimes I will have a stack
of 300+ images to display, and I have been using vtkImageViewer2 to do
so. Its input is vtkImageData.

I don't want to allocate 256 * 256 * 300 for my 300 images up front,
if I'm not even going to scroll through most of them anyways. Is there
any kind of vector feature to vtkImageData where you can add
additional memory to the tail of the storage member when it is time to
actually consume more memory, instead of requiring it all up front?

Thanks!



More information about the vtkusers mailing list