[Paraview] Annotate Time with legacy vtk series

Moreland, Kenneth kmorel at sandia.gov
Mon Oct 13 10:00:25 EDT 2008


As I mentioned before, go to the animation view and change the mode from
"Snap to TimeSteps" to either "Sequence" or "Real Time".  Then change the
start time and end time to the correct values.

The issue you are working around is that ParaView is not smart enough to
determine that you don't really want to see the time steps for the original
data set.  See bug 7799 for more details
(http://www.paraview.org/Bug/view.php?id=7799).

-Ken


On 10/11/08 7:55 AM, "Jason Hoogland" <jdhoogland at wbmpl.com.au> wrote:

> Hi Ken,
>
> Ok, I tried that.  I have a N=98 legacy vtk series and want to map the 0->97
> time steps to 4575->7000.  So when TemporalShiftScale is applied, from trial
> and error it seems to m=n*a+m0 where n=1..N, a is the scale, m0 is the shift.
> But in the Animation Inspector "Start" is still shown as 0 even though "End"
> is now 7000 (for any Play Mode) - first problem.  Even so, second problem
> (same as before) is that when an Annotate Time source text is added, with the
> Sequence Play Mode, again, moving the animation forward (pressing |> button)
> increments the time display (i.e. 777.77.., 1555.55..., ... 7000) but keeps
> the data view on the final data series.  Feels like a bug but maybe I have to
> set up keyframes.  Normally its all automatic.
>
> hoogs
>
>
> -----Original Message-----
> From: Moreland, Kenneth [mailto:kmorel at sandia.gov]
> Sent: Sat 11/10/2008 12:08 AM
> To: Jason Hoogland; paraview at paraview.org
> Subject: Re: [Paraview] Annotate Time with legacy vtk series
>
> No, that is the wrong way to go about it.  Changing the timekeeper time will
> adjust the times sent to the reader.  You will still have the mismatch
> ParaView will not load in all of the time steps that you want.
>
> Instead, apply the "Temporal Shift Scale" filter to your data to adjust its
> range to the desired values.  You will probably also have to change the
> animation mode to Sequence to force ParaView to ignore the timesteps
> reported from the original reader.
>
> -Ken
>
>
> On 10/10/08 5:25 AM, "Jason Hoogland" <jdhoogland at wbmpl.com.au> wrote:
>
>> Is there a way in 3.2.1 to change the time "tag" mapped to a sequence number
>> so that if you have a legacy vtk series (with default time sequence n=1..N),
>> then Source > Annotate Time will display your tag rather than n?  I tried
>> View
>>> Animation View > Timekeeper - Time with "Variable Time" and:
>>
>>     Time     Interpolation     Value
>> 1   0        Ramp              4575
>> 2   97                         7000
>>
>> Is this valid or is there a better way.  Problem here was that when moving
>> frames with the vcr controls, everything but the Annotate Time source text
>> changed - all other display objects remained on n=97.  Is this a bug or am I
>> doing something wrong with animations?
>>
>> hoogs
>>
>
>
>
>    ****      Kenneth Moreland
>     ***      Sandia National Laboratories
> ***********
> *** *** ***  email: kmorel at sandia.gov
> **  ***  **  phone: (505) 844-8919
>     ***      fax:   (505) 845-0833
>
>
>
>
>


   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      fax:   (505) 845-0833





More information about the ParaView mailing list