[vtkusers] Problem getting vtkExtractVOI to work

Elvis Dowson elvis.dowson at mac.com
Thu Nov 6 19:14:59 EST 2008


There is a difference in implementation between vtk-5.0.2 and vtk-5.2.0.

The follow code fragment will work for vtk-5.0.2

subset SetVOI $XminR $XmaxR $YminR $YmaxR 1 1

but will have to be changed as follows for vtk-5.2.0, if you are  
ignoring z values.

subset SetVOI $XminR $XmaxR $YminR $YmaxR 0 0 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081107/3c0d1064/attachment.htm>


More information about the vtkusers mailing list