[vtkusers] vtkImageStencil problem

liulewes lewes_infor at hotmail.com
Tue Aug 28 09:18:27 EDT 2012


You're right, it's line 623. The crash after subtracting stencil still exists.

> From: david.gobbi at gmail.com
> Date: Mon, 27 Aug 2012 12:48:19 -0600
> Subject: Re: [vtkusers] vtkImageStencil problem
> To: lewes_infor at hotmail.com
> CC: vtkusers at vtk.org
> 
> On Mon, Aug 27, 2012 at 11:50 AM, liulewes <lewes_infor at hotmail.com> wrote:
> > Thanks David, I just tried your suggestions. However, it seems that the
> > latest version does not solve the problem.
> > Besides, I think line 549 in vtkImageStencilData.cxx should be fixed in
> > V5.10. "if (clist != &this->ExtentListLengths[n + incr])" should be "if
> > (clist != &this->ExtentListLengths[n + 2*incr])"
> > otherwise will cause run time crash.
> 
> But that line already uses "[n + 2*incr]" in VTK 5.10.  Do you mean
> line 623?  Because line 623 does look wrong... I'll investigate.
> 
>  - David
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120828/b1e44301/attachment.htm>


More information about the vtkusers mailing list