[vtkusers] Generate volumes

Michnay Balázs michnay at freemail.hu
Tue Nov 23 05:47:03 EST 2004


Dear VTK Users,
My other question is about generating volumes from PolyData.
There are lots of volume readers, but my slices are generated run-time.
Is there a way to generate a volume like this:

VolumeSlices[0] = slice_0;
VolumeSlices[1] = slice_1;

... etc...

VolumeSlices[n] = slice_n;

vtkVolume* volume;
volume = vtkVolume::New();

volume->AddSlices(VolumeSlices);

Is there a way to generate a volume like this?
Thanks for your help,

  MB



More information about the vtkusers mailing list