|Anonymous | Login||2017-12-17 05:48 EST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008551||VTK||(No Category)||public||2009-02-17 13:51||2016-08-12 09:55|
|Assigned To||Kitware Robot|
|Target Version||Fixed in Version|
|Summary||0008551: vtkLogoWidget is not updating when the render window changes its size|
|Description||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.
|Tags||No tags attached.|
|Attached Files||vtk_logo_widget.patch [^] (8,677 bytes) 2009-10-02 05:27 [Show Content]|
U. Mennel (reporter)
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
Kitware Robot (administrator)
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.
|2009-02-17 13:51||Fabio Menegazzo||New Issue|
|2009-10-02 05:27||U. Mennel||File Added: vtk_logo_widget.patch|
|2009-10-02 05:28||U. Mennel||Note Added: 0017890|
|2011-06-16 13:11||Zack Galbreath||Category||=> (No Category)|
|2016-08-12 09:55||Kitware Robot||Note Added: 0037055|
|2016-08-12 09:55||Kitware Robot||Status||expired => closed|
|2016-08-12 09:55||Kitware Robot||Resolution||open => moved|
|2016-08-12 09:55||Kitware Robot||Assigned To||=> Kitware Robot|
|Copyright © 2000 - 2017 MantisBT Team|