<div dir="ltr">Ideally we would implement a standard unstructured grid reader which will just reproduce the same structure as the one available in C++ without processing/conversion to polydata.<div>Then you will have to apply a filter that will extract the surface of each of those cells and remove the inner surfaces that in fact aims to convert your unstructured grid into a PolyData. </div><div><br></div><div>In order to implement that filter, you will need:</div><div>- a table for each cell type that list its surface cells (triangle/quad/line/vertex from all the 3d ones)</div><div>- Then you will have to gather all those surface cells and eliminate those which are present twice (internal face) (cell pointing to the same set of point id)</div><div>- You will have to only use the points that are use by those cells to produce that polydata and remap any data array based on that new indexing system for both cells and points.</div><div><br></div><div>In any case you can either implement it yourself, or Kitware can help via consulting/support contract.</div><div> </div><div>HTH,</div><div><br></div><div>Seb</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jul 27, 2018 at 1:54 AM marf <<a href="mailto:marvin.huber@basf.com">marvin.huber@basf.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, I just looked at your answer and since there is no filter for that, could<br>
you hint me in any direction on how to determine which faces are internal<br>
and can be removed? I'm not exactly experienced with computer graphics and<br>
didn't find a solution yet<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div>