<font><font face="verdana,sans-serif">Yes, hexagonal mesh is not possible with closed polyhedron of genus 0 (something sphere-like).</font></font><div><a href="http://www.cs.mtu.edu/~shene/COURSES/cs3621/SLIDES/Mesh.pdf">http://www.cs.mtu.edu/~shene/COURSES/cs3621/SLIDES/Mesh.pdf</a> <font><font face="verdana,sans-serif"><br>
</font></font><br><div class="gmail_quote">On Sat, Jun 30, 2012 at 9:24 AM, Alexandre GOUAILLARD <span dir="ltr"><<a href="mailto:agouaillard@gmail.com" target="_blank">agouaillard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Just a note,<br>
<br>
a simplex mesh is NOT an hexagonal mesh. Only if the original mesh is<br>
regular, has no border and has the correct genus, have all the points<br>
6 edges, in which case the dual simplex mesh is hexagonal. In all the<br>
other case, you will have some cells with 5, 7 or an arbitrary number<br>
of faces.<br>
<br>
alex.<br>
<div><div class="h5"><br>
On Fri, Jun 29, 2012 at 6:13 PM, Dženan Zukić <<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>> wrote:<br>
> I would recommend to use this for reading files:<br>
> <a href="http://www.insight-journal.org/browse/publication/761" target="_blank">http://www.insight-journal.org/browse/publication/761</a><br>
> and then simply apply triangular->simplex filter.<br>
> Since simplex mesh inherits itk::mesh, the above I/O framework should work<br>
> for writing the resulting simplex mesh.<br>
><br>
> This approach will most likely not be very fast, but if you need to run it<br>
> only occasionally, it does not matter.<br>
><br>
> Some examples of dealing with meshes in ITK:<br>
> <a href="http://www.itk.org/Wiki/ITK/Examples#Meshes" target="_blank">http://www.itk.org/Wiki/ITK/Examples#Meshes</a><br>
><br>
> On Fri, Jun 29, 2012 at 6:02 PM, Siddharth Srivastava <<a href="mailto:siddys@gmail.com">siddys@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi Dzenan,<br>
>> Looks like this may work for me. Any examples on its usage that I<br>
>> can follow?<br>
>> Thanks,<br>
>> Sid.<br>
>><br>
>><br>
>> On Fri, Jun 29, 2012 at 7:46 AM, Dženan Zukić <<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>> wrote:<br>
>>><br>
>>> Maybe what you need is this:<br>
>>><br>
>>> <a href="http://www.itk.org/Doxygen/html/classitk_1_1TriangleMeshToSimplexMeshFilter.html" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1TriangleMeshToSimplexMeshFilter.html</a><br>
>>> But that is part of ITK library, not VTK.<br>
>>><br>
>>> On Thu, Jun 28, 2012 at 6:34 PM, Siddharth Srivastava <<a href="mailto:siddys@gmail.com">siddys@gmail.com</a>><br>
>>> wrote:<br>
>>>><br>
>>>> Hi all,<br>
>>>> Since there are a number of graphics/visualization experts on this<br>
>>>> group, I think<br>
>>>> this is the best forum available to me to request for the following:<br>
>>>><br>
>>>> I would like a have a program or algorithm to convert a triangular mesh<br>
>>>> to one with hexagonal<br>
>>>> elements. My triangular mesh is generated in Matlab, so I have the<br>
>>>> [face,vertex] structure, along<br>
>>>> with the data. Initially, my primary purpose is visualization of the<br>
>>>> mesh.<br>
>>>> Is there something like this available? Does VTK have a functionality to<br>
>>>> generate hexagonal<br>
>>>> tessellations? I have been searching the net for similar<br>
>>>> transformation, but I have not been spectacularly successful in this so<br>
>>>> far.<br>
>>>><br>
>>>> Thanks for all the help,<br>
>>>> Sid.<br>
>>>><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<br>
>>>> <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:<br>
>>>> <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>
>>>><br>
>>><br>
>><br>
><br>
><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<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
</div></div>> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<div class="im">><br>
> Follow this link to subscribe/unsubscribe:<br>
</div>> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
</blockquote></div><br></div>