<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div>&nbsp;&nbsp; &nbsp; According to the documentation, vtkPolyDataNormals&nbsp;is a filter that computes point normals for a polygonal mesh.&nbsp;</div><div><br></div><div>The documentation doesn't make any reference to the capability of the method&nbsp;<table class="memname" style="white-space: nowrap; "><tbody><tr><td class="memname" style="white-space: nowrap; ">vtkPolyDataNormals::ComputeCellNormalsOn</td><td style="">(</td><td class="paramname" style="color: rgb(96, 32, 32); white-space: nowrap; "></td><td style="">) &nbsp;<span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; ">which is used to turn on &nbsp;the computation of cell normals.</span></td></tr></tbody></table></div><div><br></div><div>Looking at the source code for vtkPolyDataNormals very quickly, the&nbsp;<span class="Apple-style-span" style="font-family: Monaco; font-size: 10px; ">ComputePointNormals </span>is used. So, the question is if this functionality has been fully implemented and the documentation is correct, i.e it only computes point normals and not cell normals.&nbsp;</div><div><br></div><div>Anyone? :-)</div><div><br><div></div><div>Best regards,</div><div><br></div><div>Elvis Dowson</div><div><br></div><div><br><div><div>On Oct 9, 2008, at 6:00 PM, Elvis Dowson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;I really need some help with this problem! :-) &nbsp;Guys, I've tried many things, first with a plane source and then with a unstructured grid, converted it to a poly data and used vtkPolyDataNormals and set ComputeCellNormalsOn. It still doesn't give the desired results.</div><div><br></div><div></div><span>&lt;pastedGraphic.png></span></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><div><div>vtkDataSetSurfaceFilter triangleCellDataSetSurfaceFilter</div><div>&nbsp;&nbsp;triangleCellDataSetSurfaceFilter SetInput aTriangleGrid</div><div><br></div><div>vtkPolyDataNormals triangleCellNormals</div><div>&nbsp;&nbsp;triangleCellNormals SetInputConnection [triangleCellDataSetSurfaceFilter GetOutputPort]</div><div>&nbsp;&nbsp;triangleCellNormals ComputePointNormalsOff</div><div>&nbsp;&nbsp;triangleCellNormals ComputeCellNormalsOn</div><div>&nbsp;&nbsp;triangleCellNormals ConsistencyOn</div><div>&nbsp;&nbsp;triangleCellNormals AutoOrientNormalsOn</div><div><br></div><div>vtkPolyDataNormal::ComputeCellNormalsOn() <span class="Apple-style-span" style="text-decoration: underline;">doesn't seem to be working</span>. There should only be 1 single cell normal, right? I created this example to explicitly use a single triangle cell, to test this funtion.</div><div><br></div><div>I've been at this problem for 2 days straight and tried all sorts of suggestions, but I still haven't found an&nbsp;explanation&nbsp;for describing the above results. Please help!! :-)&nbsp;</div><div><br></div><div>I've attached the full source code with this message.</div><div><br></div><div></div></div><span>&lt;TriangleWithSurfaceNormalGlyph2.tcl></span></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div></div><div><br></div><div>Best regards,</div><div><br></div><div>Elvis Dowson&nbsp;</div><div><br></div><div><br></div></div></div></blockquote></div><br></div></div></body></html>