[vtkusers] vtkLegendBoxActor Not Updating

Kimmel, Jason jason.kimmel at albint.com
Mon Jun 12 14:11:09 EDT 2017


Hi Sankesh,

Unfortunately the circumstances involved include a large (and proprietary) application. I’ll see if it is possible to create a test case which can recreate the issue, and if so file a bug report.  I have a feeling that everything may work properly in the simplified scenario though.

Thanks,
Jason

From: Sankhesh Jhaveri [mailto:sankhesh.jhaveri at kitware.com]
Sent: Monday, June 12, 2017 1:51 PM
To: Kimmel, Jason <jason.kimmel at albint.com>; vtk-users <vtkusers at vtk.org>
Subject: Re: [vtkusers] vtkLegendBoxActor Not Updating


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<mailto: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<http://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/0a391a53/attachment.html>


More information about the vtkusers mailing list