[Paraview-developers] Using TIME_LABEL_ANNOTATION

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Feb 12 13:34:20 EST 2013


Have you got only your reader in the pipeline browser ?
Because if several reader report different time annotation then only "Time"
will win in the global UI while based on the selection the information
panel will report the current value for the selected filter/source.

Seb


On Tue, Feb 12, 2013 at 1:23 PM, Reuter, Michael A. <reuterma at ornl.gov>wrote:

> Hi Seb,
>
> Yes, the ShearedSource plugin works as expected. My reader only has one
> time source, so I don't think there can be a problem with a label mismatch.
>
> Cheers,
> M
>
> From: Sebastien Jourdain <sebastien.jourdain at kitware.com<mailto:
> sebastien.jourdain at kitware.com>>
> Date: Tuesday, February 12, 2013 11:24 AM
> To: Michael Reuter <reuterma at ornl.gov<mailto:reuterma at ornl.gov>>
> Cc: "paraview-developers at paraview.org<mailto:
> paraview-developers at paraview.org>" <paraview-developers at paraview.org
> <mailto:paraview-developers at paraview.org>>
> Subject: Re: [Paraview-developers] Using TIME_LABEL_ANNOTATION
>
> This looks like a bug. Unless you have another time source that does not
> provide the same name for the annotation.
>
> Seb
>
> PS: Does it work with the vtkShearedCubeSource.cxx ?
>
>
> On Tue, Feb 12, 2013 at 10:44 AM, Michael Reuter <reuterma at ornl.gov
> <mailto:reuterma at ornl.gov>> wrote:
> Hi,
>
> I'm trying to use the
> vtkStreamingDemandDrivenPipeline::TIME_LABEL_ANNOTATION() property in my
> reader plugin via ParaView 3.98.0 using the vtkShearedCubeSource.cxx as the
> example. I'm getting a good string to the property and the Information tab
> in the properties panel shows the new label name I provided. However, the
> pqAnimationTimeToolbar widget in the GUI is not showing the new label. The
> example ShearedCube source plugin implies that the new label should be
> shown there. I tried to make sure it wasn't my plugin so I added
> vtkStreamingDemandDrivenPipeline::TIME_LABEL_ANNOTATION() calls to the
> vtkExodusIIReader.cxx before the
> vtkStreamingDemandDrivenPipeline::TIME_STEPS() calls. Using the can.ex2
> file, I see that the information tab has the new label I provided but the
> pqAnimationTimeToolbar widget doesn't change. Is this a bug or am I missing
> an extra step that would allow my plugin change the GUI widget like the
> ShearedCube source does?
>
> Thanks,
> M
>
> Dr. Michael Reuter
> Data Analysis and Visualization Group
> Neutron Data Analysis and Visualization Division
> Oak Ridge National Laboratory
>
> Office: 1-865-241-7216<tel:1-865-241-7216>
> Fax: 1-865-574-6080<tel:1-865-574-6080>
> Email: reuterma at ornl.gov<mailto:reuterma at ornl.gov>
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org<mailto:Paraview-developers at paraview.org>
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130212/635e4f49/attachment.htm>


More information about the Paraview-developers mailing list