[vtkusers] Buffered Reading of vti File

Grant McAuley gmcauley at llu.edu
Tue Mar 26 19:20:22 EDT 2013


Thanks Kevin for your reply and information.


> Yes! we call it streaming.
>
> When there isn't enough RAM for even one copy of the image the
> trick is to make sure that the whole pipeline is streamed.
>
> Because of the "demand driven pipeline" model the end of the
> pipeline must ask for only pieces of the whole input.
>
> The *.vti reader, vtkXMLImageDataReader, can read the image one
> requested piece at a time.
>
> Does your pipeline look like reader -> filter -> writer, or
> reader -> filter -> renderer?
>

I am new to vtk, and am guessing that what I want to do is not a standard
vtk use case.  While the vti files are used for the purpose of later
visualization (eg, in ParaView) of simulation data, what I want to do here
is to just get data out of the vti to feed into another simulation.  In
particular, I have two DataArrays in the file (position and momentum) and I
want to successively read the x-y-z components.  So, maybe my pipeline is
only 'reader->filter' where the filter extracts two 3tuples of type Float64.

-- 
Grant McAuley
Postdoctoral Fellow
Radiation Research Labs
Radiation Medicine
Loma Linda University
(909) 558-1000 Ext 85173
gmcauley at llu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130326/bcdbdf1f/attachment.htm>


More information about the vtkusers mailing list