if you are working on a mesh. and the normal vector of a triangle facet can be obtained<div>by doing a cross product of two edges, right? and if you want the normal vector</div><div>of the vertices of a triangle you can obtain it by interpolating of surrounding facets or</div>
<div>if you are extract the isosurface from volume data, the normals can be calculated by</div><div>central difference or any finite different methods based on the volume data.(see Marching cubes algorithm)</div><div><br>
</div><div>there are plenty of research papers addressing this issue. i am not exactly sure</div><div>how VTK could achieve this by calling any function..</div><div><br></div><div>good luck</div><div><br></div><div>O.S.</div>
<div><br><br><div class="gmail_quote">On Tue, Oct 25, 2011 at 12:35 AM, andon <span dir="ltr">&lt;<a href="mailto:antoniod987@gmail.com">antoniod987@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
OK, I&#39;ve understood this....but i need to get out an angle, in particular i<br>
need to get the orientation of the cell on wich i&#39;ve extracted the<br>
normal..do you know ho can i do this???<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/normals-tp4932989p4933222.html" target="_blank">http://vtk.1045678.n5.nabble.com/normals-tp4932989p4933222.html</a><br>
</font><div><div></div><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>---------<br><a href="http://www.vislab.cn">www.vislab.cn</a><br>
</div>