[vtkusers] vtkPolyDataToImageStencil - potential bug

David Gobbi dgobbi at imaging.robarts.ca
Wed Jul 24 10:32:42 EDT 2002


Thanks for the report, I'll look into this.

 - David


On Wed, 24 Jul 2002, David Netherway wrote:

>
> 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