<div dir="ltr">I mean it give incorrect results. After applying the extrusion filter I use vtkImageAccumulate to get the no. of voxels inside the extrusion (with reverse stencil ON in vtkImageStencil). it gives "0" voxels. But it works correclty with appendPolyDataFilter->GetOutput(). I think the output of vtk<span style=" color:#000000;"></span>WindowedSincPolyDataFilter is a vtkUnstructuredGrid, since its a mesh.<br>
<br>Is there any way to convert vtkUnstructuredGrid back to vtkPolyData?<br><br>Thanks<br><br>Jothy<br><br><div class="gmail_quote">On Mon, Aug 1, 2011 at 4:13 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div><div></div><div class="h5">On Mon, Aug 1, 2011 at 11:11 AM, Jothy <span dir="ltr"><<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi all,<br><br>I have smoother a mesh with vtkWindowedSincPolyDataFilter and now I would like to do some extrusion with the mesh for some purpose. But it didn't work properly if I use extrude->SetInput(smoother->GetOutput()). I works well with the input to smoothing filter from vtkAppendPolyDataFilter.<br>
<br>Should I convert the type of the output from vtkWindowedSincPolyDataFilter to be used with linear extrusion filter?<br><br>Thanks<br><br>Jothy<br></div></blockquote><div><br></div><br clear="all"></div></div>What do you mean "it didn't work properly"? Compiler errors? Incorrect results?<br>
<font color="#888888">
<br><div>David </div></font></div>
</blockquote></div><br></div>