View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008551VTK(No Category)public2009-02-17 13:512016-08-12 09:55
ReporterFabio Menegazzo 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008551: vtkLogoWidget is not updating when the render window changes its size
DescriptionWhen 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.
TagsNo tags attached.
Project
Type
Attached Filespatch file icon vtk_logo_widget.patch [^] (8,677 bytes) 2009-10-02 05:27 [Show Content]

 Relationships

  Notes
(0017890)
U. Mennel (reporter)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
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 - 2018 MantisBT Team