[Insight-users] [vtkusers] hexagonal mesh?
Alexandre GOUAILLARD
agouaillard at gmail.com
Sat Jun 30 03:24:55 EDT 2012
Just a note,
a simplex mesh is NOT an hexagonal mesh. Only if the original mesh is
regular, has no border and has the correct genus, have all the points
6 edges, in which case the dual simplex mesh is hexagonal. In all the
other case, you will have some cells with 5, 7 or an arbitrary number
of faces.
alex.
On Fri, Jun 29, 2012 at 6:13 PM, Dženan Zukić <dzenanz at gmail.com> wrote:
> I would recommend to use this for reading files:
> http://www.insight-journal.org/browse/publication/761
> and then simply apply triangular->simplex filter.
> Since simplex mesh inherits itk::mesh, the above I/O framework should work
> for writing the resulting simplex mesh.
>
> This approach will most likely not be very fast, but if you need to run it
> only occasionally, it does not matter.
>
> Some examples of dealing with meshes in ITK:
> http://www.itk.org/Wiki/ITK/Examples#Meshes
>
> On Fri, Jun 29, 2012 at 6:02 PM, Siddharth Srivastava <siddys at gmail.com>
> wrote:
>>
>> Hi Dzenan,
>> Looks like this may work for me. Any examples on its usage that I
>> can follow?
>> Thanks,
>> Sid.
>>
>>
>> On Fri, Jun 29, 2012 at 7:46 AM, Dženan Zukić <dzenanz at gmail.com> wrote:
>>>
>>> Maybe what you need is this:
>>>
>>> http://www.itk.org/Doxygen/html/classitk_1_1TriangleMeshToSimplexMeshFilter.html
>>> But that is part of ITK library, not VTK.
>>>
>>> On Thu, Jun 28, 2012 at 6:34 PM, Siddharth Srivastava <siddys at gmail.com>
>>> wrote:
>>>>
>>>> Hi all,
>>>> Since there are a number of graphics/visualization experts on this
>>>> group, I think
>>>> this is the best forum available to me to request for the following:
>>>>
>>>> I would like a have a program or algorithm to convert a triangular mesh
>>>> to one with hexagonal
>>>> elements. My triangular mesh is generated in Matlab, so I have the
>>>> [face,vertex] structure, along
>>>> with the data. Initially, my primary purpose is visualization of the
>>>> mesh.
>>>> Is there something like this available? Does VTK have a functionality to
>>>> generate hexagonal
>>>> tessellations? I have been searching the net for similar
>>>> transformation, but I have not been spectacularly successful in this so
>>>> far.
>>>>
>>>> Thanks for all the help,
>>>> Sid.
>>>>
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Please keep messages on-topic and check the VTK FAQ at:
>>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>
>>>
>>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list