[vtkusers] Problem using vtkAppendPolyData with vtkPolyDataToImageStencil

David Gobbi dgobbi at irus.rri.ca
Wed May 15 00:29:16 EDT 2002


Hi David,

The vtkPolyDataToImageStencil is only meant to work with closed,
non-intersecting surfaces.  And even then there are roundoff errors
in the code that can cause it to fail in certain situations.

 - David

On Wed, 15 May 2002, David Netherway wrote:

> I made minor modifications to TestImageStencilWithPolyData.tcl to use an
> appended polydata of two spheres. The blanked out region in the image did
> not match the expected union of the two spheres. See attached code. Is
> vtkPolyDataToImageStencil supposed to work with appended data or should one
> have a pipeline processing each polydata at a time?
>
> I am using the CVS vtk4 download of 2 hous ago.
>
> Thanks, David
>
>




More information about the vtkusers mailing list