[Paraview] Moving slice with particle

Berk Geveci berk.geveci at kitware.com
Thu Feb 18 19:42:58 EST 2010


self.GetInputDataObject(0, n)

should return the nth input.

-berk

On Thu, Feb 18, 2010 at 4:45 PM, Thorsten Hater <th at tp1.rub.de> wrote:

> Most of building blocks I was able to figure out, but how do
> I retrieve the second input from the servermanager?
>
> Berk Geveci wrote:
> > It is definitely doable with the programmable filter although not as
> > trivial as it would be with a tool like VisTrails. The programmable
> > filter can accept multiple inputs. You could use the point from on of
> > its inputs to setup the parameter of an internal slice filter - which
> > requires importing the vtk.graphics module. If you can't figure it
> > out, let me know, I'll help.
> >
> > -berk
> >
> > On Wed, Feb 17, 2010 at 10:46 AM, Thorsten Hater <th at tp1.rub.de
> > <mailto:th at tp1.rub.de>> wrote:
> >
> >     Hello,
> >
> >     I have encountered the following problem in a set of animations:
> >     There is a moving particle in a field and I want to slice the field
> >     at the particle's position (effectively the y-component of the
> >     position).
> >     Additionally the slice should move automatically with the particle
> >     for making an animation.
> >     Has anybody done something like this before?
> >     The programmable filter seems a good point to start, but I need
> >     at least two inputs for figuring out the offset.
> >     Thanks in advance for any pointers or help!
> >
> >     Cheers,
> >       Thorsten
> >
> >     --
> >     Thorsten Hater
> >     Institut fuer Theoretische Physik I
> >     Ruhr-Universitaet Bochum
> >     E-Mail: tp1 at tp1.rub.de <mailto:tp1 at tp1.rub.de>
> >     Tel.: 0234/32-23-441
> >
> >     _______________________________________________
> >     Powered by www.kitware.com <http://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 ParaView Wiki at:
> >     http://paraview.org/Wiki/ParaView
> >
> >     Follow this link to subscribe/unsubscribe:
> >     http://www.paraview.org/mailman/listinfo/paraview
> >
> >
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100218/b6a82378/attachment.htm>


More information about the ParaView mailing list