[vtkusers] How to set a normal of a cell?

vtklearny msjean at gmx.de
Mon Jun 8 09:30:42 EDT 2009


Hello there,

I'm still new to vtk and after some point manipulation I have to
modify/update the normals.

I found out that I can access the vtkCells , giving me 3 points in return.
Then I can calculate a normal vector.

But how do I set the vtkCell's(which is also a vtkTriangle) normal to my
calculated one ?
Is there something like this? : vtkCellData->setCellsNormal(cellId, normal);

I thought there was a way to invoke automatic normal computation but never
saw that working.

Thanks for any help.
I did not find an answer to this anywhere.

the vtklearny
-- 
View this message in context: http://www.nabble.com/How-to-set-a-normal-of-a-cell--tp23924126p23924126.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list