[vtkusers] get a slice from a volume

WTL remusl at yahoo.com
Wed Nov 13 16:56:30 EST 2002


Hi,

I am trying to get cross-sections along a path. Which is, for each path
point P(x,y,z), rotate about P, get a slice centered at P.

I am using vtkImageReslice with:

matrix->Identity();
reslice->SetResliceAxes(matrix);
reslice->SetOutputDimensionality(2);
reslice->SetOutputExtent(0, size, 0, size, 0, 0);
reslice->SetResliceAxesOrigin(x, y, z); // centered at [x, y, z]
reslice->SetResliceTransform(transform);

I cannot get the slice centered at x, y, z. 

Thanks for the help!

-Remo




__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



More information about the vtkusers mailing list