You can change your filter (or add a new one) that outputs a vtkTable
with a single row and column of  a string containing the text you want
to show (look at vtkTimeToTextConvertor) and then in the XML for the
filter add the following hint (same as the "TimeToTextConvertor" in
Servers/ServerManagers/Resources/filters.xml). Now when you apply this
filter, ParaView will display the result as a text in the 3D window.

 <Hints>
       <OutputPort name="Output-0" index="0" type="text" />
</Hints>

Utkarsh

On Mon, Feb 7, 2011 at 8:49 AM, Matthew Cragun <[email protected]> wrote:
> I have an animation of a filling tank.  I have an integration filter to get
> the volume at a particular time-step.  Is there a way to display this number
> on the animation so that it updates?  I'm thinking of something similar to
> the annotate time filter but that I can use a custom field with, such as
> volume or avg fluid velocity.
> Thanks in advance.
>
> --
> Matt Cragun
>
> Engineer
> TotalSim LLC
> 7003 Post Road,
> Suite 415
> Dublin, Ohio 43016
> O: (614) 255-7426
> M: (801) 404-6021
> E: [email protected]
>
> _______________________________________________
> 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
>
>
_______________________________________________
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

Reply via email to