[ITK] define different regions on a mesh

Francois.GIRINON at ensam.eu Francois.GIRINON at ensam.eu
Tue Aug 16 02:54:09 EDT 2016


Hi Dzenan,

You 're right it wasn't that clear.

This is exactly what I want to do :
ItkMesh myMesh
(the value of the points of the myMesh are regularly updated)

For each myMeshRegions
    regionsCells = myMesh - > myMeshRegions[iRegion] - >GetCellsValue()
    regionsPoints = myMesh - > myMeshRegions[iRegion] - >GetPointsValue()

Thank you,
François.

Le 12 août 2016 8:24 PM, Dženan Zukić <dzenanz at gmail.com> a écrit :
Hi Francois,

what do you mean by pointer? Pointer to an itk::MeshCell? Or MeshRegion<https://itk.org/Doxygen/html/classitk_1_1MeshRegion.html>?

I have not used itk::Mesh and associated classes a lot, so I doubt I will be able to help you. But I might be able to tell you that something is not possible. And clarifying your question will might enable others to help you.

Regards,
Dženan

On Fri, Aug 12, 2016 at 10:36 AM, <Francois.GIRINON at ensam.eu<mailto:Francois.GIRINON at ensam.eu>> wrote:
Hello,

I have a list of indices of vertices and their corresponding labels.
I have a corresponding itk mesh.

I'd like to get some pointers for the different regions (a different one
for each label)
I'd like these regions to reference the faces (cells) and vertices
(pointset)

Would you have any idea how to do this ?

Thanks,
François.

_______________________________________________
Community mailing list
Community at itk.org<mailto:Community at itk.org>
http://public.kitware.com/mailman/listinfo/community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160816/2cc15ce9/attachment-0001.html>


More information about the Community mailing list