[vtkusers] Clipping while preserving normals
David Gobbi
david.gobbi at gmail.com
Mon Feb 10 09:09:45 EST 2014
Hi Dov,
As far as I understand, vtkCutter does not produce an oriented output.
You might want to look at vtkClipClosedSurface as an alternative:
www.vtk.org/Wiki/index.php?title=VTK/Closed_Surface_Clipping
- David
On Mon, Feb 10, 2014 at 6:28 AM, Dov Grobgeld <dov.grobgeld at gmail.com> wrote:
> Hello. I'm trying to do slicing of a complex model polygonal (read from an
> STL file) with vtkCutter and I'm struggling to understand whether the
> resulting polygons are "inside" or "outside". I realized that if I knew the
> normal direction of the triangles cut by the vtkCutter, I could orient the
> line segments of the cutting polygon such that "inside" is e.g. always on
> the left side. But I couldn't find whether vtk retains a connection between
> the cut polygon line segments and the corresponding 3D triangles that it
> cut?
>
> Thanks in advance!
> Dov
More information about the vtkusers
mailing list