<div dir="ltr">The Live Data Visualization is still beta functionality. It looks like you&#39;re not specifying the extents properly somehow. I&#39;d suggest writing out the full grid to see what that looks like.<br><br>Andy<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 2, 2013 at 2:02 AM, Ð»Ã¯½ð <span dir="ltr">&lt;<a href="mailto:xiemaojin@sccas.cn" target="_blank">xiemaojin@sccas.cn</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>





<div style="MARGIN:10px">
<div>Hi, all</div>
<div>&nbsp;</div>
<div style="TEXT-INDENT:2em">When using Catalyst for Live Data Visualization, I 
get&nbsp;an error for each frame as follows,</div>
<div style="TEXT-INDENT:2em">&nbsp;</div>
<div style="TEXT-INDENT:2em">ERROR: In 
/path/to/paraview-4.0.0-RC2/source/directory/ParaViewCore/VTKExtensions/Rendering/vtkKdTreeGenerator.cxx, 
line 172</div>
<div style="TEXT-INDENT:2em">vtkKdTreeGenerator (0x71c3dc0) : RegionIDs cannot 
be 0.</div>
<div style="TEXT-INDENT:2em">&nbsp;</div>
<div style="TEXT-INDENT:2em">Both the paraview and the simulation processer are 
not crash and get four sub-images with four processors, but sub images are not 
composited as what I&#39;ve expected.</div>
<div style="TEXT-INDENT:2em">
<div>The whole volume is of size (nx*2, ny*2, nz), and devide into four sub 
volumes. When creating the volume data, I use the following piece of code to set 
the grid, where nx, ny, nz are&nbsp;the size of current sub volume,&nbsp;and 
nxstart, nystart, nzstart are the starting grid of current sub volume. </div>
<div>&nbsp;</div>
<div>&nbsp;33&nbsp;&nbsp;&nbsp;vtkSmartPointer&lt;vtkImageData&gt;&nbsp;grid&nbsp;=&nbsp;vtkSmartPointer&lt;vtkImageData&gt;::New();</div>
<div>&nbsp;34&nbsp;</div>
<div>&nbsp;35&nbsp;&nbsp;&nbsp;grid-&gt;SetExtent(*nxstart,&nbsp;*nxstart+*nx-1,&nbsp;*nystart,&nbsp;*nystart+*ny-1,&nbsp;*nzstart,&nbsp;*nzstart+*nz-1);</div>
<div>&nbsp;36&nbsp;</div>
<div>&nbsp;37&nbsp;&nbsp;&nbsp;//&nbsp;Name&nbsp;should&nbsp;be&nbsp;consistent&nbsp;between&nbsp;here,&nbsp;Fortran&nbsp;and&nbsp;Python&nbsp;client&nbsp;script.</div>
<div>&nbsp;38&nbsp;&nbsp;&nbsp;vtkCPPythonAdaptorAPI::GetCoProcessorData()-&gt;GetInputDescriptionByName(&quot;input&quot;)-&gt;SetGrid(grid);</div>
<div>&nbsp;39&nbsp;&nbsp;&nbsp;vtkCPPythonAdaptorAPI::GetCoProcessorData()-&gt;GetInputDescriptionByName(&quot;input&quot;)-&gt;SetWholeExtent(0,&nbsp;*nx*2-1,&nbsp;0,&nbsp;*ny*2-1,&nbsp;0,&nbsp;*nz-1);</div>
<div>&nbsp;</div>
<div>So I think I may&nbsp;lost some key steps to specify the proper kdtree 
region ids, but I havn&#39;t found out how to configure it.</div>
<div>&nbsp;</div>
<div>Any ideas? Thanks in advance.</div></div>
<div style="TEXT-INDENT:2em">&nbsp;</div>
<div style="TEXT-INDENT:2em"><img style="min-height:669px;WIDTH:778px" src="cid:_Foxmail.0@7E9A0904-3EF7-46C3-B3B7-21378D1907C5" height="896" width="1072"></div>
<div>&nbsp;</div>
<hr style="min-height:1px;WIDTH:210px" size="1" align="left" color="#b5c4df">

<div><span>Maojin XIE</span></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>
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>