[vtkusers] How to export vtk source objects created in programming way into files to load in ParaView etc
Sebastien Jourdain
sebastien.jourdain at kitware.com
Thu Jan 2 17:21:27 EST 2014
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.
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.
Just my 2 cents...
Seb
On Thu, Jan 2, 2014 at 2:36 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
> You will need to ask the paraview and kiwi viewer folks if they can
> save a "scene".
>
>
> On Thu, Jan 2, 2014 at 4:15 PM, Wei Wu <salad00 at gmail.com> wrote:
> > Hi Bill,
> >
> > This is a good idea. I can use the writer to export each object
> separately
> > and insert into a big xml file format, which is possible. When reading I
> can
> > extract the objects one by one and render them.
> >
> > However I don't think this approach will apply for software like ParaView
> > and, especially, KiwiViewer etc. I was wondering if I can export the
> complex
> > 3d view into one single supported file and load it into KiwiViewer; thus
> I
> > can avoid writing a tablet application on my own, which is costly.
> >
> > Thanks. I still appreciate more ideas.
> >
> > Wei
> >
> >
> > On 2 January 2014 15:46, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> >>
> >> As far as I know, VTK does not have a way to save multiple objects in
> >> a single file. I suggest you create a simple file format that contains
> >> one .vtu file name per line. Each .vtu file can be created with
> >> vtkXMLPolyDataWriter.
> >>
> >>
> >>
> >> On Thu, Jan 2, 2014 at 3:34 PM, David Doria <daviddoria at gmail.com>
> wrote:
> >> > On Thu, Jan 2, 2014 at 3:28 PM, Wei Wu <salad00 at gmail.com> wrote:
> >> >>
> >> >> Hi David,
> >> >>
> >> >> Many thanks for your help. It works.
> >> >>
> >> >> However I still have further questions. I use programming way to
> load a
> >> >> vtu file, which contains simulation results, then create a batch of
> 3D
> >> >> source objects. They are all rendered together to compose a complete
> >> >> view.
> >> >> As I understand the vtkXMLPolyDataWriter can only export one single
> >> >> object
> >> >> at each time? What if I want to export all the objects plus the vtu
> >> >> results
> >> >> together to a single file for afterwards restoring?
> >> >>
> >> >> Thanks for your time in advance.
> >> >>
> >> >> Best regards,
> >> >> Wei
> >> >
> >> >
> >> > Please keep the discussion on the mailing list so that everyone can
> >> > participate.
> >> >
> >> > I don't have a good answer for you - perhaps someone else can help.
> >> >
> >> > David
> >> >
> >> >
> >> > _______________________________________________
> >> > 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
> >> >
> >>
> >>
> >>
> >> --
> >> Unpaid intern in BillsBasement at noware dot com
> >
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
> _______________________________________________
> 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/20140102/208f2ac1/attachment.htm>
More information about the vtkusers
mailing list