[vtkusers] vtkPolyDataToImageStencil - potential bug

David Netherway david.netherway at adelaide.edu.au
Wed Jul 24 02:33:23 EDT 2002


I have only just started looking at the code for this so I do not know the
consequences, if any, of the following:

At the start of ThreadedExecute there is the following, in which the
variable p1[1] is not set, but p1[0] is set twice.
p1[0] = p0[0] = extent[0]*spacing[0] + origin[0];

p1[0] = p0[1] = extent[2]*spacing[1] + origin[1];

p0[2] = extent[4]*spacing[2] + origin[2];

p1[2] = extent[5]*spacing[2] + origin[2];

This is a version downloaded about a week ago with the following header:

Module: $RCSfile: vtkPolyDataToImageStencil.cxx,v $

Language: C++

Date: $Date: 2002/01/22 15:30:35 $

Version: $Revision: 1.3 $



Thanks, David







More information about the vtkusers mailing list