View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000362 | VTK | (No Category) | public | 2003-11-11 12:12 | 2011-01-13 17:00 | ||||
Reporter | Vladan Bato | ||||||||
Assigned To | Mathieu Malaterre | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000362: vtkAxisActor2D is not updated when window size changes | ||||||||
Description | If the window size changes, but the axis position remains the same, the labels are not updated as they should. This is because in vtkAxisActor2D::BuildAxis(), if the viewport has changed, the function only checks whether the position of the actor has changed. If it is the same, the function exits, and the labels are not updated (the size of the labels should change when window size changes). This only happens when changing the window size does not change the position of the axis. The function should be modified to check the size of the window too. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | vtkAxisActor2D.patch [^] (1,609 bytes) 1969-12-31 19:00 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0000256) Vladan Bato (reporter) 2003-11-12 07:16 |
I think I have fixed it. I uploaded a patch as an attachment. It's a diff against rev. 1.34 of the file. All I did is move the code that sets vieportSizeHasChanged before the if() that exits the function, and added a check of viewportSizeHasChanged in the same if. |
(0000665) Mathieu Malaterre (developer) 2004-02-17 18:48 |
Fixed has been merge in CVS, thank you Vladan Bato. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-11-29 17:59 | Mathieu Malaterre | Source_changeset_attached | => VTK master 5a5b9cbf |
2011-01-13 17:00 | Source_changeset_attached | => VTK master a2bd8391 | |
2011-01-13 17:00 | Source_changeset_attached | => VTK master 020ef709 | |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |