[vtkusers] get the corresponding part of vtkimagedata

Ali Habib ali.mahmoud.habib at gmail.com
Fri May 7 20:54:31 EDT 2010


Dear all,

by using vtk I displayed vtkimagedata and I use the mouse to select
rectangle part to apply vtkmarchingcube filter  , how to get or cut the part
of vtkimagedata by knowing xmin, xmax, ymin, ymax, zmin, zmax boundry of the
disered region


for exampple

the vtkimage data dimension 213,213,36

and the boundry of the selection:

xmin = 309, xmax = 432, ymin= 161 , ymax = 239 , zmin= -99 , zmax = 50


any suggestion please

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100508/15473873/attachment.htm>


More information about the vtkusers mailing list