[vtkusers] Hidden Surface Removal And return vtkPolyData struct

David Doria daviddoria at gmail.com
Sat Oct 29 08:33:29 EDT 2011


On Fri, Oct 28, 2011 at 10:49 PM, Quang Tran <quangt.itbk at gmail.com> wrote:

> Hello everybody,
> I have had many googling search above "Hidden surface removal" but the
> results not fit with me.
> Now I want to use vtk library to extract only visible surface and return a
> vtkPolyData struct (I don't need render this new extracted suface).
> If use vtkModifiedBSPTree I can remove the hidden surface but this is in
> rendering step.
>
> Could anyone help me to have a solution by using vtk library to remove
> hidden surface and return a vtkPolyData struct.
>
> Thanks in advance.
>
>
As long as the surfaces are disconnected, this should do it:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ExtractOutsideSurface

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111029/a9c597ff/attachment.htm>


More information about the vtkusers mailing list