[vtkusers] Reslice an image with a stencil using a dataset.
vlibertiaux
vlibertiaux at gmail.com
Thu Feb 17 14:43:05 EST 2011
Hello everyone,
I am new to vtk and I have to work on an existing project.
I would like to create a function that clips an imagedata according to a
dataset (a volume representing a hexaedral finite element).
The code can be found at http://codepad.org/DZXg4sxd
I am pretty sure I have to transform the "world" coordinates of the clipping
volume into image coordinates;
I have been looking for a member function of the vtkdataset class but found
nothing till now.
I really need to use a background value to exclude the value that are inside
the bouding box enclosing the finite element but are not within it.
Could you please provide me any help with this problem ?
Thank you very much,
Vincent
--
View this message in context: http://vtk.1045678.n5.nabble.com/Reslice-an-image-with-a-stencil-using-a-dataset-tp3390074p3390074.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list