<div dir="ltr"><div><div><div>Hi David,<br><br></div>I'm not sure how it works with structured grids but with vtkUniformGrids (i.e. vtkImageData with blanking) the VTK readers and writers really just produce vtkImageData and the blanking is ignored. It may be the same with the XML structured grid files. My suggestion would be to look at the vtkImageDataToUniformGrid class in VTK and try doing a similar thing in ParaView using the Python Programmable filter. <br><br></div>Cheers,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 7, 2017 at 10:22 AM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.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"><div><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On Mon, Mar 6, 2017 at 11:14 AM, Andy Bauer <span dir="ltr"><<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Thanks for the bug report!<br><br></div>I think the stackoverflow issue is probably also related to blanking. I added to your bug report with two other (likely) related issues.<br><br></div>As a side note, I think if blanking was used instead of ghost cells this may work properly.<br><br></div>Thanks,<br></div>Andy<br></div><div class="m_-6280935457943378325gmail-HOEnZb"><div class="m_-6280935457943378325gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 6, 2017 at 8:45 AM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span><div>On Sun, Mar 5, 2017 at 7:05 PM, Andy Bauer <span dir="ltr"><<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>></span> wrote:<br></div></span><div class="gmail_extra"><div class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Hi David,<br><br></div>This looks like it has to do with blanking (i.e. in PV 5.2 if I don't load the vtkGhostType array it has the proper bounds). Would you mind putting in a bug report on Gitlab (<a href="https://gitlab.kitware.com/paraview/paraview" target="_blank">https://gitlab.kitware.com/pa<wbr>raview/paraview</a>)?<br><br></div><div>Thanks,<br></div><div>Andy</div></div></blockquote><div><br></div></span><div>Done:</div><a href="https://gitlab.kitware.com/paraview/paraview/issues/17244" target="_blank">https://gitlab.kitware.com/par<wbr>aview/paraview/issues/17244</a><br><div><br></div><div>Here is another presumed bug that seems to also have to do with blanking: <a href="http://stackoverflow.com/questions/42543340/cell-labels-in-selection-display-inspector-dont-work-when-any-cells-are-ghosted" target="_blank">http://stackoverflow<wbr>.com/questions/42543340/cell-l<wbr>abels-in-selection-display-ins<wbr>pector-dont-work-when-any-cell<wbr>s-are-ghosted</a> - not trying to pollute this thread but do you think that behavior could be helpful to understand the Cell Centers issue?</div><div class="gmail_extra"><br clear="all"></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra"><br></div><div>David </div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div><div class="gmail_extra">Hi Andy,</div><div class="gmail_extra"><br></div><div class="gmail_extra">The file was created with something like this:<br><div><br></div><div><a href="https://gist.github.com/daviddoria/8bf981aa593b7cefcd9114588e4766db" target="_blank">https://gist.github.com/<wbr>daviddoria/<wbr>8bf981aa593b7cefcd9114588e4766<wbr>db</a><br></div><div class="gmail_extra"><br clear="all"><div><div class="m_-6280935457943378325gmail_signature">Does calling </div><div class="m_-6280935457943378325gmail_signature"><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap"><br></span></div><div class="m_-6280935457943378325gmail_signature"><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">structuredGrid->BlankPoint(0);</span></div><div class="m_-6280935457943378325gmail_signature"><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap"><br></span></div><div class="m_-6280935457943378325gmail_signature"><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">not count as "using blanking"? Can you point me to the "right way" to do this if this is not the current best practice?</span></div><div class="m_-6280935457943378325gmail_signature"><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap"><br></span></div><div class="m_-6280935457943378325gmail_signature"><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">Thanks!</span></div><span class="HOEnZb"><font color="#888888"><div class="m_-6280935457943378325gmail_signature"><br>David</div></font></span></div></div></div></div>
</blockquote></div><br></div>