[vtkusers] memory acces violation with python wrapper

Eric E. Monson emonson at cs.duke.edu
Thu Mar 4 09:35:22 EST 2010


I think if you had gone ahead and filled out the rest of the example, this would have been automatically passed up the pipeline (or something) rather than having to set it explicitly, because once you put the other missing pieces in there it doesn't crash any more.

Thanks, David, for letting us know what was missing!
-Eric

On Mar 4, 2010, at 9:29 AM, David Gobbi wrote:

> You also have to call this:
> 
> polyToStencilFilter.SetOutputWholeExtent(minX, maxX, minY, maxY, minZ, maxZ)
> 
> 
> On Thu, Mar 4, 2010 at 7:07 AM, Julien Gout
> <julien.gout at helmholtz-berlin.de> wrote:
>> Hi,
>> 
>> I am getting a memory acces violation for the following code I translated
>> from a tcl example
>> (http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Hybrid/Testing/Tcl/TestImageStencilWithPolydata.tcl?root=VTK&content-type=text/plain).
>> I am new to vtk and I have absolutely no idea where this error is comming
>> from. Any hints?
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list