Q: How to make normal point outward?

Patric Weis Patric.Weis at Mycrona.de
Wed Dec 8 02:50:16 EST 1999


Try the vtkPolyDataNormals filter!

The only thing you must be aware of is to check if the edge loop of the
reference polygon (the first one) is oriented in the right-hand rule
sense. If not so, you simply can use FlipNormalsOn() to invert the
orientation of the faces.


Patric


"J. Scott Pendergrass" Wrote:
> 
> VTK Gurus:
> 
> I've got a 3D object that is defined in vtkPolyData form. I'd like to make
> sure that all of the polygon normals point "outward" in the right-hand rule
> sense. Is there an easy way to do this within VTK?
> 
> Thanks in advance,
> 
> Scott
> 
> -----------------------------------------------------------------------------
> This is the private VTK discussion list.  Please keep messages on-topic.
> Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at gsao.med.ge.com>.  For help, send message body containing
> "info vtkusers" to the same address.     Live long and prosper.
> -----------------------------------------------------------------------------


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------




More information about the vtkusers mailing list