<div>vtkDataWriter and vtkDataReader have a method which tells them to write to/read from a buffer rather than to a file. A plugin that makes use of that is probably the quickest path to get started. Alternatively, XDMF has a distributed shared memory option which was developed for the same purpose.</div>
<div><br></div><div>In either case you will also need some sort of synchronization so that the reader never tries to read a partially written buffer.</div><div><br></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">On Wed, Mar 23, 2011 at 5:36 AM, Gil Wertz <span dir="ltr"><<a href="mailto:gilwertz@hotmail.com">gilwertz@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
I made a client-server paraview system, from the client I ask to the server to open a vtk file, render it and give back render to the client. It's working well.<br><br>But now, my boss said that we'll have a vtk file generated by an other program that'll be about 100Go and we don't want to write it to HDD in .vtk formate and after read it ( like before ), so I need to read the vtk file directly from memory.<br>
<br>Is there a way to give to a reader a pointer to the memory vtk file ?<br><br>PS: I'm not sure that this is very understandable but I'm not sure myself ... The main thing is that we make a vtk file in memory but don't want to write it in HDD. ( First solution envisaged is to dump memory. )<br>
<br>Thanks.<br><div class="hm"><br><hr size="2" width="100%"><blockquote><blockquote><b>Wertz Gil</b><br></blockquote><i><a href="mailto:gilwertz@hotmail.com" target="_blank">gilwertz@hotmail.com</a></i><br></blockquote>
<hr size="2" width="100%">
<br><br>                                            </div></div><div class="hm">
</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>