[vtk-developers] reproducible bug with vtkExtractVOI and vtkImageShiftScale

Charl P. Botha c.p.botha at its.tudelft.nl
Tue Nov 13 04:11:44 EST 2001


Is the 3.2 tree still being patched for small problems?  If so, can the
attached patch (which is the pertinent difference between vtkExtractVOI in
the two trees) be applied to the 3.2 tree in order to fix the outputtype bug?

Thanks,
Charl

On Mon, Nov 12, 2001 at 09:36:59AM +0100, Charl P. Botha wrote:
> I am so sorry, I was working in the 3.2 tree.  I mistakenly thought that the
> VTK 4.0 tree had been merged.
> 
> My apologies and thanks,

-- 
charl p. botha      | computer graphics and cad/cam 
http://cpbotha.net/ | http://www.cg.its.tudelft.nl/
-------------- next part --------------
--- vtkExtractVOI.cxx~	Mon Jan 22 13:48:07 2001
+++ vtkExtractVOI.cxx	Mon Nov 12 09:53:41 2001
@@ -135,6 +135,7 @@
   wholeExtent[5] = outDims[2] - 1;
   
   output->SetWholeExtent( wholeExtent );
+  output->SetScalarType(input->GetScalarType());
 }
 
 void vtkExtractVOI::Execute()


More information about the vtk-developers mailing list