[Paraview] How to get data from desired time step

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Sep 29 09:15:09 EDT 2009


This is a task that may be a bit too complex for python programmable
filter.  Try looking at C++ code for filters such as
vtkTemporalInterpolator (in ParaView/VTK/Hybrid). That should serve as
a good starting point.

Utkarsh

On Sat, Sep 12, 2009 at 4:46 AM, Sergei D. <sj2001 at yandex.ru> wrote:
> Hello.
> I have time series of VTU files with the coordinates of spheres and radii.
> I heed calculate the velocity of these spheres from ProgrammableFiler.
> So, I need data from the previous time step.
>
> I get current time step as follow:
>
>
> ind=self.GetInput()
>
> iin=ind.GetInformation()
>
> curTimeStep=iin.Get(ind.DATA_TIME_STEPS(),0)
>
>
> Now, how can I get spheres coordinates from curTimeStep-1?
>
> Best regards, Sergei D.
>
> _______________________________________________
> 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
>


More information about the ParaView mailing list