Bug in vtkImageMathematics when using DebugOn
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Tcl program freezes when using DebugOn in vtkImageMathematics as shown in the following TCL program:
============================= package require vtk package require vtkinteraction
vtkImageData id id SetDimensions 10 20 5 id SetScalarTypeToDouble id SetNumberOfScalarComponents 3 id AllocateScalars id Update
vtkExtractVOI slice1 slice1 SetInput id slice1 SetVOI 0 10000 0 10000 1 2
vtkExtractVOI slice2 slice2 SetInput id slice2 SetVOI 0 10000 0 10000 1 2
vtkImageMathematics diff diff DebugOn diff SetOperationToSubtract diff SetInput1 [slice1 GetOutput] diff SetInput2 [slice2 GetOutput] diff Update
vtkImageWriter writer writer SetInput [diff GetOutput] writer SetFileDimensionality 3 writer SetFileName test_diff.raw writer Write