[vtkusers] pieces streaming mechanism
David E DeMarle
dave.demarle at kitware.com
Wed Jun 8 13:09:30 EDT 2011
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.
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.
See VTK/Rendering/Testing/Cxx/TestPriorityStreaming for more information.
David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
2011/6/8 Frédéric Speisser <frederic.speisser at grooviz.com>
> All,
>
> 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.
> 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...
> I have made plenty of tests but I'm not able to make this mechanism
> working.
>
> I need some help/hints !
>
> Thank you
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110608/bef573a4/attachment.htm>
More information about the vtkusers
mailing list