[vtkusers] vtkLegendBoxActor Not Updating

Sankhesh Jhaveri sankhesh.jhaveri at kitware.com
Mon Jun 12 13:50:51 EDT 2017


Hi Jason,

Could you post some example code that reproduces the issue?
Perhaps, create a bug report on the VTK bug tracker
<https://gitlab.kitware.com/vtk/vtk/issues>, too.
​

On Mon, Jun 12, 2017 at 1:37 PM Kimmel, Jason via vtkusers <vtkusers at vtk.org>
wrote:

> Hello,
>
>
>
> We are using VTK 7.1 with Qt 5.8 on windows and are seeing some bizarre
> behavior with vtkLegendBoxActor.  Under some circumstances which can be
> reliably reproduced, the screen does not update to show new values in the
> legend, even if the legend is deleted and re-created.  Only when a user
> clicks in the renderwindow (or we simulate a mouse event) do the new values
> appear.  The 3D actors displayed by the same renderer/renderwindow update
> as expected, so we know that the render does redraw the scene and the QVTK
> widget does display it.
>
>
>
> Does anyone have any idea why that might be happening, or if there is a
> way to force all actors to update?  Our current workaround is to simulate a
> mouse event to force the update, but this is relatively time-consuming for
> what should be a simple update of a 2D actor.
>
>
>
> Thanks for your help,
>
>
>
> Jason
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-- 
Sankhesh Jhaveri *Sr. Research & Development Engineer* | Kitware
<http://www.kitware.com/> | (518) 881-4417
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170612/f8d1ba7a/attachment.html>


More information about the vtkusers mailing list