[vtkusers] CW and CCW filtering

David.Pont at ensisjv.com David.Pont at ensisjv.com
Tue May 8 16:54:39 EDT 2007


"Meisam Aliroteh" <meisam.aliroteh at gmail.com> wrote on 08/05/2007 09:31:58:

> Hi everyone,
>
> I was wondering if there is a vtk filter that can fix cell
> orientations. I have OBJ models that I load using vtkOBJReader, but
> the cell orientations are mixed. Some of the triangular faces are
> clockwise and some are counter-clockwise. I need a way to unify the
> orientation of all cells such that they all face clock-wise or
> counter-clockwise. By the way, my models are always built up of
> triangular patches (no strips or quads).
>
> Does anyone know how to do this ? !

vtkPolyDataNormals should do it.

  regards, Dave P

> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.
> org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070509/f37a5a13/attachment.htm>


More information about the vtkusers mailing list