[vtkusers] vtkImagePermute without copying the data
John Biddiscombe
jbiddiscombe at skippingmouse.co.uk
Sat Mar 10 18:32:08 EST 2001
> > Hi there. Would anybody out there have a class that does the same
> > thing vtkImagePermute does, but that only changes the attributes
> > (extents,dimensions,etc.) and references the input data for it's own?
>
>This isn't possible. You can't rearrange the x,y,z of vtkImageData
>without re-ordering the data in memory.
>I'm building a viewer with 3 views for each data set (x,y,z) and the
The only likely solution would be to redo the mappers (one for each axis)
such that they display data in a different order (like copy it to
textures). its just about conceivable if you were creating textures in
graphics memory and not user memory - then you could get away with one copy
of the raw data and N copies of "rendered" stuff. Not sure I've thought
this through properly...hmmm
More information about the vtkusers
mailing list