[Paraview] Live Annotation

Thierry Dubuis tdubuis at scconsultants.com
Fri Apr 7 04:22:02 EDT 2006


Hello all,

I'm also interesting to know what is the best way to automatically see 
the time step on the Paraview main window with an XML unstructured grid 
(.vtu).
If I understand your previous emails I must
- in the reader of XML unstructured grid add 
vtkStreamingDemandDrivenPipeline::TIME_STEPS()
- in the readers.xml of th server add the 5 line in the XML unstructured 
grid reader bloc.

Is it correct ?
Or is there better way for this XML file ?

Best regards

Thierry Dubuis

Dan Goldstein wrote:

> Thanks Berk,
>   I am writing unstructured XML vtk files with 
> vtkXMLUnstructuredGridWriter. So the question I have is does the
> vtkXMLUnstructuredDataReader support the time steps information?
> If so can you point me to the vtkXMLUnstructuredGridWriter function 
> used to put the time step information in the data file. Or is this 
> done at the cell level?
>
>  Thanks again,
>
> Dan
>
>
> Berk Geveci wrote:
>
>> Not all readers provide the information paraview needs for time
>> annotation. The reader has to provide a
>> vtkStreamingDemandDrivenPipeline::TIME_STEPS() in the output
>> information during RequestInformation pipeline pass for the time
>> annotation to work.  Look at  VTK/Hybrid/vtkExodusReader.cxx to see
>> what the reader has to do.  This information array has to provide the
>> time value for all steps. If paraview encounters this key, it will
>> automatically put up the time annotation in the lower right corner.
>> The annotation can then be edited from 3D view properties ->
>> annotation.
>>
>> -Berk
>>
>> On 4/3/06, Brian Dotson <Brian.Dotson at netl.doe.gov> wrote:
>>
>>> Dan,
>>>
>>> Berk can probably explain this better than me.
>>>
>>> The readers have a similar functionality, but some are transient and 
>>> some
>>> are a single time step.
>>>
>>> I think the reader is going to have to be involved because it will have
>>> access to the time information within the simulation data.
>>>
>>> I am glad someone else is interested in this feature.
>>>
>>> Thanks,
>>>
>>> Brian Dotson
>>>
>>>
>>>>>> "Dan Goldstein" <dan at cora.nwra.com> 4/3/2006 10:53 AM >>>
>>>>>
>>>
>>> I also would be very interested in putting a time annotation on time
>>> series animations.  I am using PV XML format data files. Serial for 
>>> now,
>>> but I hope to soon be writing parallel PV XML format data files 
>>> also, if
>>> this matters.
>>>
>>> On a more general note why does the data reader make such a big
>>> difference on issues like this? My understanding was that all readers
>>> supported the same functionality. A misunderstanding?
>>>
>>>
>>>   Thanks
>>>
>>> Dan
>>>
>>>
>>>  Brian Dotson wrote:
>>>
>>>> Hi all,
>>>>
>>>> I need to put time information into a corner annotation.   The
>>>> annotation would be updated each step of the animation.
>>>>
>>>> Is there a way to do this in paraview?
>>>>
>>>> Thanks in advance.
>>>>
>>>> Brian Dotson
>>>> National Energy Technology Laboratory
>>>> Department of Energy
>>>>
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------ 
>>>
>>>
>>>> _______________________________________________
>>>> ParaView mailing list
>>>> ParaView at paraview.org
>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>>
>>>
>>> -- 
>>> Dan Goldstein
>>> Research Scientist
>>> NorthWest Research Associates, Inc.
>>> Colorado Research Associates Division
>>> Colorado, U.S.A.
>>> -----------------------------------------
>>> _______________________________________________
>>> ParaView mailing list
>>> ParaView at paraview.org
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>>
>>> _______________________________________________
>>> ParaView mailing list
>>> ParaView at paraview.org
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>>
>>>
>>
>>
>
>


-- 
Thierry Dubuis
--------------------------------
Sciences & Computers Consultants
Tel : 04 77 49 75 84
Std : 04 77 49 75 80
Fax : 04 77 33 68 04



More information about the ParaView mailing list