[Paraview] howto move an object depending on actual time

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Sep 16 08:41:10 EDT 2014


I'd suggest using "Programmable Filter" instead of "Python
Calculator". Refer to vtkTimeToTexConvertor::RequestData() [1] for how
to access DATA_TIME_STEP value. You can write an equivalent script in
"Script" part for the Programmable Filter to access the time value.

Utkarsh

[1] https://github.com/Kitware/ParaView/blob/ad70367102a1d9779435e9949d84a576e68a6ee8/ParaViewCore/VTKExtensions/Default/vtkTimeToTextConvertor.cxx


On Tue, Sep 16, 2014 at 6:33 AM, Florian Bruckner <e0425375 at gmail.com> wrote:
> hello,
>
> i would like to create an animation of moving objects using the animation
> view. unfortunately the positions of the objects stored within the data file
> are stationary, so i have to manually define the movement anyhow.
>
> is there a simple method to archive this using the animation inspector? (i
> am using paraview 4.1.0)
>
> alternatively i found a method to use the python calculator to translate the
> object. if i could access the actual time it would be possible to define the
> trajectory of the moving particle. is this possible?
>
> thanks
> FloB
>
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/paraview


More information about the ParaView mailing list