MantisBT - VTK
View Issue Details
0008551VTK(No Category)public2009-02-17 13:512016-08-12 09:55
Fabio Menegazzo 
Kitware Robot 
normalminoralways
closedmoved 
 
 
0008551: vtkLogoWidget is not updating when the render window changes its size
When resizing the render window, the vtkLogoWidget should follow the same behavior as the vtkTextWidget: the widget and contents sizes are recalculated properly.

For the logo, the widget is resized properly but the image isn't. Looks like the method AdjustImageSize is not been called.

My render window is a QVTKRenderWindowInteractor.

I'm using the VTK 5.2.1 with QT 4.4.3.
No tags attached.
patch vtk_logo_widget.patch (8,677) 2009-10-02 05:27
https://www.vtk.org/Bug/file/7511/vtk_logo_widget.patch
Issue History
2009-02-17 13:51Fabio MenegazzoNew Issue
2009-10-02 05:27U. MennelFile Added: vtk_logo_widget.patch
2009-10-02 05:28U. MennelNote Added: 0017890
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:55Kitware RobotNote Added: 0037055
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved
2016-08-12 09:55Kitware RobotAssigned To => Kitware Robot

Notes
(0017890)
U. Mennel   
2009-10-02 05:28   
I have made a patch to fix this problem. It includes following changes:
- replaced vtkActor2D by vtkTexturedActor2D to simplify handling with textures
- i use the modified time of vtkTexturedActor2D to determine if the logo geometry has to be updated. Therefore, I first apply the new geometry of the representation to the vtkTexturedActor2D. If the geometry has changed, the vtkTexturedActor2D updates the modified time. Don't know if this is the way to do it but it seems to work.
- put the logo to the upper right by default (pretty optional)
- some minor fixes to control the visibility of the border
(0037055)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.