[vtkusers] truncated cone as a polydata

David Gobbi david.gobbi at gmail.com
Mon Mar 7 20:40:39 EST 2011


On Mon, Mar 7, 2011 at 6:32 PM, vlibertiaux <vlibertiaux at gmail.com> wrote:
> Ok, did it.  But the superior surface of the truncated cone (where I clipped
> it with a plane) is open.
> I would like to close this truncated cone because it will be used itself as
> a clipping element, so I assume there could be a problem to define the
> inside and the outside if the polydata has one missing surface.
>
> Any idea on how could I do this ?

I wrote a filter for that, called vtkClipClosedSurface.  It will be in VTK 5.8
(it is not in VTK 5.6 if that is what you are using).

But if you are using vtkPolyDataToImageStencil then it might still work
even if the apex is not closed.  Try it and see.

 - David



More information about the vtkusers mailing list