<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Francois,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">by looking at the source code of <a href="https://itk.org/Doxygen/html/classitk_1_1MeshRegion.html" target="_blank">MeshRegion</a>, it seems to be just a stub class. As regular ITK <a href="https://itk.org/Doxygen/html/classitk_1_1Mesh.html" target="_blank">mesh</a> is meant to represent a closed object and not a surface patch, I would suggest to not use ITK to represent your mesh, but rather some other library which has a more extensive set of classes for dealing with polygonal meshes such as <a href="http://www.vtk.org/" target="_blank">VTK</a>.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Dženan</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 16, 2016 at 2:54 AM, <span dir="ltr"><<a href="mailto:Francois.GIRINON@ensam.eu" target="_blank">Francois.GIRINON@ensam.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p dir="ltr">Hi Dzenan, </p>
<p dir="ltr">You 're right it wasn't that clear. </p>
<p dir="ltr">This is exactly what I want to do :<br>
ItkMesh myMesh<br>
(the value of the points of the myMesh are regularly updated)</p>
<p dir="ltr">For each myMeshRegions<br>
regionsCells = myMesh - > myMeshRegions[iRegion] - >GetCellsValue() <br>
regionsPoints = myMesh - > myMeshRegions[iRegion] - >GetPointsValue() <br>
</p>
<p dir="ltr">Thank you, <br>
François. </p><div><div>
<div>Le 12 août 2016 8:24 PM, Dženan Zukić <<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>> a écrit :<br type="attribution">
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr">
<div style="font-family:'verdana',sans-serif;font-size:small">Hi Francois,</div>
<div style="font-family:'verdana',sans-serif;font-size:small"><br>
</div>
<div style="font-family:'verdana',sans-serif;font-size:small">what do you mean by pointer? Pointer to an itk::MeshCell? Or
<a href="https://itk.org/Doxygen/html/classitk_1_1MeshRegion.html" target="_blank">MeshRegion</a>?</div>
<div style="font-family:'verdana',sans-serif;font-size:small"><br>
</div>
<div style="font-family:'verdana',sans-serif;font-size:small">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.</div>
<div style="font-family:'verdana',sans-serif;font-size:small"><br>
</div>
<div style="font-family:'verdana',sans-serif;font-size:small">Regards,</div>
<div style="font-family:'verdana',sans-serif;font-size:small">Dženan</div>
</div>
<div><br>
<div>On Fri, Aug 12, 2016 at 10:36 AM, <span dir="ltr"><<a href="mailto:Francois.GIRINON@ensam.eu" target="_blank">Francois.GIRINON@ensam.eu</a>></span> wrote:<br>
<blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I have a list of indices of vertices and their corresponding labels.<br>
I have a corresponding itk mesh.<br>
<br>
I'd like to get some pointers for the different regions (a different one<br>
for each label)<br>
I'd like these regions to reference the faces (cells) and vertices<br>
(pointset)<br>
<br>
Would you have any idea how to do this ?<br>
<br>
Thanks,<br>
François.<br>
<br>
______________________________<wbr>_________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/community</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div></div></div>
</blockquote></div><br></div></div>