MantisBT - VTK
View Issue Details
0004654VTK(No Category)public2007-03-22 05:562014-10-02 11:23
xabi riobe 
Cory Quammen 
lowminoralways
closedwon't fix 
 
 
TBD
incorrect functionality
0004654: vtkCornerAnnotation unnecessary method call
in vtkCornerAnnotation::RenderOpaqueGeometry,
the method this->TextReplace(ia, wl) should be called only if there is a change in ImageActor or window/level, and not on viewport resize.

The current condition is (line 424):
if (viewport_size_has_changed || tprop_has_changed ||
(this->GetMTime() > this->BuildTime) ||
(ia && (ia != this->LastImageActor ||
      (ia->GetMTime() > this->BuildTime)) ||
(wl && wl->GetMTime() > this->BuildTime))
No tags attached.
Issue History
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2012-03-07 03:11xabi riobeStatusexpired => backlog
2012-03-07 03:11xabi riobeResolutionopen => reopened
2013-07-22 20:41Dave DeMarleProject => TBD
2013-07-22 20:41Dave DeMarleType => incorrect functionality
2013-07-22 20:41Dave DeMarleAssigned ToSebastien Barre => Dave DeMarle
2013-07-22 20:41Dave DeMarleStatusbacklog => tabled
2013-07-22 20:41Dave DeMarleDescription Updatedbug_revision_view_page.php?rev_id=635#r635
2013-07-22 20:43Dave DeMarleStatustabled => backlog
2014-09-30 10:58Dave DeMarleAssigned ToDave DeMarle =>
2014-10-02 11:22Cory QuammenNote Added: 0033465
2014-10-02 11:23Cory QuammenStatusbacklog => closed
2014-10-02 11:23Cory QuammenAssigned To => Cory Quammen
2014-10-02 11:23Cory QuammenResolutionreopened => won't fix

Notes
(0033465)
Cory Quammen   
2014-10-02 11:22   
I tested the proposed fix. Removing the dependence on the window size change causes the corner annotations to not update to the correct position when the window is resized.