Look in the ParaView source code under the directory Plugins/StreamingView/VTK. That directory does not need ParaView, ie you can compile it against a standalone VTK build. The tests should be particularly helpful.<div><br>
</div><div>I have not tried vtkXMLPImageDataReader so it might take some work to use the files you have at hand. However, vtkXMLImageDataReader (note the lack of P) does work with streaming. Instead of separate files streaming takes advantage of the little exercised sub pieces within a single vti file feature to do what it needs to with this file format.</div>
<div><br></div><div>See VTK/Rendering/Testing/Cxx/TestPriorityStreaming for more information.</div><div><br></div><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>
Phone: 518-371-3971 x109<br>
<br><br><div class="gmail_quote">2011/6/8 Frédéric Speisser <span dir="ltr"><<a href="mailto:frederic.speisser@grooviz.com">frederic.speisser@grooviz.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
All,<br>
<br>
I have a data object stored in pvti format (splitted in several pieces) and I would like to be able to stream only pieces involved in rendering. This should be possible in vtk, referring documentation.<br>
I use vtkStreamindDemandDrivenPipeline and vtkStreamindDemandDrivenPipeline::UPDATE_EXTENT, but despite the fact I set bounds defining only a little part of my dataobject in update_extent key, the reader(vtkXMLPImageDataReader) always loads all pieces...<br>
I have made plenty of tests but I'm not able to make this mechanism working.<br>
<br>
I need some help/hints !<br>
<br>
Thank you<br>
<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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>