[vtkusers] Bug in vtkExtractVOI

bryan cole bryan.cole at teraview.co.uk
Wed Apr 23 08:06:51 EDT 2003


Hi All,

I think there's a new bug in vtkExtractVOI in VTK-4.2.2, which was not
present in VTK-4.1. The filter seems to screw up the origin of the
dataset when using a sample-rate > 1. 

The attached python script illustrates the problem: On running the
script, the Bounds and Origin of the output of vtkExtractVOI() are
printed. The dataset origin should coincide with the lower values of the
dataset bounds. With VTK-4.2.2, the Origin is clearly incorrect (looks
like a sign-problem). Running the script on VTK-4.1 gives the expected,
correct result.

Can someone else verify this effect. What's the procedure for
bug-reporting?

Bryan




-- 
Bryan Cole
Teraview Ltd., 302-304 Cambridge Science Park, Milton Road, Cambridge CB4 0WG, United Kingdom.
tel: +44 (1223) 435380 / 435386 (direct-dial) fax: +44 (1223) 435382
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extractVOItest.py
Type: text/x-python
Size: 436 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030423/95d90c33/attachment.py>


More information about the vtkusers mailing list