<div dir="ltr">Rendering is not the problem. You can render a zillion things on top of each other. It won't look pretty but you'll see something.<div><br></div><div style>Probably what is the problem is that you are going through some sort of geometry filter. For 3D cells, the geometry filter looks at the number of times each "face" is used by 3D cells. It the number of uses is <=1, then it's a boundary face and is rendered. If used 2 times, then it's an interior cell and not extracted (nor rendered).</div>
<div style><br></div><div style>W</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 10:56 AM, Bhanu Hariharan <span dir="ltr"><<a href="mailto:bhanu@petrotel.com" target="_blank">bhanu@petrotel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks. I will look into the composite dataset but I do not have anything other than hexahedrons.<br><br>I think it looks like VTKUnstructuredGrid will not render in the situation of overlapping cells and I have to find a way out outside of VTK.<div class="HOEnZb">
<div class="h5"><br>
<br><br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 9:28 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">VTK has other type of data structure such a composite-dataset / multi-block which let you create a dataset that is composed of multiple dataset (i.e. Unstructured grid in your case).<div>
And what you do is basically share the same vtkPoints across all your unstructured grids which will then be gathered by the composite dataset.</div>
<div>and rendered as a single dataset.</div><div><br></div><div>Hope that explain a bit more,</div><div><br></div><div>Seb</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Feb 22, 2013 at 10:24 AM, Bhanu Hariharan <span dir="ltr"><<a href="mailto:bhanu@petrotel.com" target="_blank">bhanu@petrotel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sebastian, I do not understand what you mean by multi-block. Could you please elaborate. Thanks.<div><div><br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 9:20 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Unless it's a multi-block and then it is not the same dataset anymore...</div><div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 10:17 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Then I'm not sure that VTK can handle 2 cells that are based on exactly the same points ID.</div><div>
<div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 10:12 AM, Bhanu Hariharan <span dir="ltr"><<a href="mailto:bhanu@petrotel.com" target="_blank">bhanu@petrotel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Sebastian. For the 2 cell case, I start with 16 points and identify duplicates and bring it down to 8 and the two cells now map to the same 8 nodes. In this scenario, can VTK render both cells with some flags turned on.<br>
Or can you please suggest another way.<br><br>But removing duplicate nodes is a must for my application due to memory constraints.<span><font color="#888888"><br><br>-Bhanu</font></span><div>
<div><br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 9:03 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">duplicate the points.</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Feb 22, 2013 at 9:59 AM, bhanu <span dir="ltr"><<a href="mailto:bhanu@petrotel.com" target="_blank">bhanu@petrotel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please can anyone answer this query - is this forum active?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkUnstructuredGrid-Not-rendering-Overlapping-Cells-tp5718739p5718763.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtkUnstructuredGrid-Not-rendering-Overlapping-Cells-tp5718739p5718763.html</a><br>
Sent from the VTK - Dev mailing list archive at Nabble.com.<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 <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br>
</div></div><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 <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>
<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902
</div>