<div dir="ltr">Adding the WholeExtent to the RequestInformation pass did indeed work. Thank you.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 5, 2014 at 8:43 AM, David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@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">I think you are just missing that you should set WholeExtent in the RequestInformation pass.<div><br></div>
<div><div><br></div><div><br><div><br></div><div><br></div></div></div></div><div class="gmail_extra">
<br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a></div>
<br><br><div class="gmail_quote"><div><div class="h5">On Wed, Jun 4, 2014 at 3:15 AM, Andrew Ho <span dir="ltr"><<a href="mailto:andrewh0@uw.edu" target="_blank">andrewh0@uw.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div dir="ltr">Hi,<div><br></div><div>I'm having some issues getting a structured grid to be rendered in ParaView with a plugin I'm writing.</div><div><br clear="all"><div>What I have is my own class extending vtkStructuredGridAlgorithm.</div>
<div><br></div><div>My RequestData method: <a href="http://pastebin.com/uxSk3n5b" target="_blank">http://pastebin.com/uxSk3n5b</a></div><div><br></div><div>I'm pretty sure that my generation code is working correctly as I can plug it into the standalone VTK example and everything works as expected (<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/StructuredGrid/StructuredGrid" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/StructuredGrid/StructuredGrid</a>).</div>
<div><br></div><div>Additionally, after I apply my algorithm, the Information tab lists the correct statistics: </div><div>2 cells</div><div>6 points</div><div>density data array with 6 elements</div><div>extents and bounds are both [0,1,0,2,0,0] which appears to be correct</div>
<div><br></div>
<div>
I'm using ParaView 4.1 in Ubuntu 14.04 (x64)</div><div><br>This seems to be similar to an issue posted back in 2011: <a href="http://public.kitware.com/pipermail/paraview/2011-June/021872.html" target="_blank">http://public.kitware.com/pipermail/paraview/2011-June/021872.html</a><br>
</div><div><br></div><div>As a note I have tried writing a simple XDMF file which creates a 2D structured mesh and that loads just fine. However, strangely enough the extents are in a different order than what I thought they should be ([0, 0, 0, 1, 0, 2])<span><font color="#888888"><br>
</font></span></div><span><font color="#888888">
<div><br></div>-- <br><div dir="ltr">Andrew Ho</div></font></span></div></div>
<br></div></div>_______________________________________________<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>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Andrew Ho</div>
</div>