You could clip the surface, with a plane that lies along capA. Offset the plane by a tiny value to account for a tolerance. Likewise remove capB.<br><br><div class="gmail_quote">On Thu, Jan 6, 2011 at 11:27 AM, Lahiru Lakmal Priyadarshana <span dir="ltr">&lt;<a href="mailto:llahiru@gmail.com">llahiru@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear All,<div><br></div><div>As shown in this image, [<a href="http://awesomescreenshot.com/03f5jm091" target="_blank">http://awesomescreenshot.com/03f5jm091</a>] I am creating a mesh in VTK using vtkPolyData and vtkVoxelContoursToSurfaceFilter.</div>


<div><br></div><div>Now I want to add a feature to remove/hide the surfaces &quot;A&quot; and &quot;C&quot; and show only the surface &quot;B&quot;.</div>

<div>Is there any way to render the mesh without the caps (A and C) ? Do I have to slice the mesh manually?</div><div><br></div><div>Any help would be appreciated!</div><div><br></div><div>Thanks!</div><div>Best Regards,</div>


<div>-Lahiru.</div><div><br>-- <br>-----<br>Home : [ <a href="http://www.soundofcode.com" target="_blank">http://www.soundofcode.com</a> ]<br>Blog : [ <a href="http://blog.soundofcode.com" target="_blank">http://blog.soundofcode.com</a> ]<br>
Linked-In : [ <a href="http://www.linkedin.com/in/llahiru" target="_blank">http://www.linkedin.com/in/llahiru</a> ]<br>

Twitter : [ <a href="http://twitter.com/lahiru" target="_blank">http://twitter.com/lahiru</a> ]<br>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>