<div dir="ltr">Kiwi viewer was able to download a 3D scene from the ParaViewWeb (version 1) server, but with all the change made into the current ParaViewWeb, we lost that capability.<div><br></div><div>The way it was working was that Kiwi viewer was downloading a scene descriptor and then making several fetching request, one for each object to finally form the full scene.</div>
<div><br></div><div>Just my 2 cents...</div><div><br></div><div>Seb</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 2, 2014 at 2:36 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You will need to ask the paraview and kiwi viewer folks if they can<br>
save a "scene".<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Thu, Jan 2, 2014 at 4:15 PM, Wei Wu <<a href="mailto:salad00@gmail.com">salad00@gmail.com</a>> wrote:<br>
> Hi Bill,<br>
><br>
> This is a good idea. I can use the writer to export each object separately<br>
> and insert into a big xml file format, which is possible. When reading I can<br>
> extract the objects one by one and render them.<br>
><br>
> However I don't think this approach will apply for software like ParaView<br>
> and, especially, KiwiViewer etc. I was wondering if I can export the complex<br>
> 3d view into one single supported file and load it into KiwiViewer; thus I<br>
> can avoid writing a tablet application on my own, which is costly.<br>
><br>
> Thanks. I still appreciate more ideas.<br>
><br>
> Wei<br>
><br>
><br>
> On 2 January 2014 15:46, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
>><br>
>> As far as I know, VTK does not have a way to save multiple objects in<br>
>> a single file. I suggest you create a simple file format that contains<br>
>> one .vtu file name per line. Each .vtu file can be created with<br>
>> vtkXMLPolyDataWriter.<br>
>><br>
>><br>
>><br>
>> On Thu, Jan 2, 2014 at 3:34 PM, David Doria <<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>> wrote:<br>
>> > On Thu, Jan 2, 2014 at 3:28 PM, Wei Wu <<a href="mailto:salad00@gmail.com">salad00@gmail.com</a>> wrote:<br>
>> >><br>
>> >> Hi David,<br>
>> >><br>
>> >> Many thanks for your help. It works.<br>
>> >><br>
>> >> However I still have further questions. I use programming way to load a<br>
>> >> vtu file, which contains simulation results, then create a batch of 3D<br>
>> >> source objects. They are all rendered together to compose a complete<br>
>> >> view.<br>
>> >> As I understand the vtkXMLPolyDataWriter can only export one single<br>
>> >> object<br>
>> >> at each time? What if I want to export all the objects plus the vtu<br>
>> >> results<br>
>> >> together to a single file for afterwards restoring?<br>
>> >><br>
>> >> Thanks for your time in advance.<br>
>> >><br>
>> >> Best regards,<br>
>> >> Wei<br>
>> ><br>
>> ><br>
>> > Please keep the discussion on the mailing list so that everyone can<br>
>> > participate.<br>
>> ><br>
>> > I don't have a good answer for you - perhaps someone else can help.<br>
>> ><br>
>> > David<br>
>> ><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<br>
>> > <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:<br>
>> > <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>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Unpaid intern in BillsBasement at noware dot com<br>
><br>
><br>
<br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<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>
</div></div></blockquote></div><br></div>