[vtkusers] Bug in vtkImageStencil

Kevin H. Hobbs hobbsk at ohiou.edu
Tue Nov 25 12:23:26 EST 2008


On Tue, 2008-11-25 at 18:01 +0100, Michael Knopke wrote:

> No move the spline outside the image:

Take a look at the attached program.

I found that with the new vtkPolyDataToImageStencil that requires
SetOutputOrigin, SetOutputSpacing, and SetOutputWholeExtent I have to
make sure that the stencil covers both the image I want to stencil and
the content I want to cut out. Otherwise I'd get all sorts of weird
results or crashes. If you're talking about the example I think you are,
then I bet this isn't the case.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: RemoveObject.cxx
Type: text/x-c++src
Size: 4754 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081125/d0991da5/attachment.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081125/d0991da5/attachment.pgp>


More information about the vtkusers mailing list