<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">hi eleni,<div><br></div><div>the genus of a mesh, or of it's dual, is the same.</div><div><br></div><div>If you use a QuadEdgeMesh, note that you have the primal *and* dual mesh connectivity stored in the surface. You have only one geometry though (up to you to decide if it is the primal or dual, as it's reversible, it's up to the user to decide which one is the primal and which one is the dual.)</div><div><br></div><div>Again, if you use a QuadEdgeMEsh (which I&nbsp;recommend&nbsp;if you;re going to work with surfaces and want to handle topology nicely), you can take a look at the itkQuadEdgeMeshTopologyChecker class, and specifically the&nbsp;ValidateEulerCharacteristic() method.</div><div><a href="http://www.itk.org/Doxygen/html/classitk_1_1QuadEdgeMeshTopologyChecker.html">http://www.itk.org/Doxygen/html/classitk_1_1QuadEdgeMeshTopologyChecker.html</a></div><div>the doxygen documentation is not great (our bad), but the .txx is documented.</div><div><br></div><div>BTW is everything alright with Chan &amp; Vesse ? I think kishore solved most of the problems, right?</div><div><br></div><div>let me know if that helps.</div><div><br></div><div>alex.</div><div><br></div><div>&nbsp;<br><div><div>On Jun 21, 2009, at 4:14 PM, Sgouritsa, Eleni wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div> <!-- Converted from text/plain format --><p><font size="2">Hello,<br> is there an itk class to use that gives me the genus of a volume (or its dual mesh)?<br> <br> Regards,<br> Eleni<br> </font> </p> </div> <span>&lt;ATT00001.txt></span></blockquote></div><br></div></body></html>