[vtkusers] How to find Normal vector ?

Sylvain Jaume jaume at tele.ucl.ac.be
Sat Sep 1 07:13:03 EDT 2001


use vtkPolyDataNormals *pdn on your polydata
don't forget: pdn->Update()
to get normal at point index i:
pdn->GetOutput()->GetPointData()->GetNormals()->GetNormal(i)

Sylvain

On Sat, 1 Sep 2001, Kiran, P (CORP, GEITC) wrote:

> 
> Hi all:
> 
> I have a set of 3D points. And I have generated a triangulated surface from
> these points.
> Now, I want to find normal vector at each point on the surface.  How I can
> do this in vtk?
> Are there any available methods to do this kind of stuff?
> 
> Can someone through some light on how to do this..
> 
> Thanks in advance for help.
> Kiran
> 
> 
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> 





More information about the vtkusers mailing list