View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000362VTK(No Category)public2003-11-11 12:122011-01-13 17:00
ReporterVladan Bato 
Assigned ToMathieu Malaterre 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000362: vtkAxisActor2D is not updated when window size changes
DescriptionIf 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.
TagsNo tags attached.
Project
Type
Attached Filespatch file icon vtkAxisActor2D.patch [^] (1,609 bytes) 1969-12-31 19:00 [Show Content]

 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.

 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)


Copyright © 2000 - 2018 MantisBT Team