MantisBT - VTK
View Issue Details
0008417VTK(No Category)public2009-01-21 16:022013-04-05 20:16
Gerrick Bivins 
David Cole 
normalmajorsometimes
closedfixed 
 
 
0008417: Random value displayed with vtkCubeAxesActor in the center of the model
These images are from paraview.

Opaque:
http://www.nabble.com/file/p21574447/cubeAxisValue-notOn-CubeAxis_1000.png [^]
Transparent:
http://www.nabble.com/file/p21574447/cubeAxisValue-notOn-CubeAxis_1000-transparent.png [^]

The value of the last "tick" position wasn't being accounted for in some cases because the if condition checking for the end value would fail if the end value == the end of interval range. This would place the end tick in various location.
Because both Y and Z axes cases were this way, I'm not sure if it was intentional so I've attached the patch that solves the issue for me. Hopefully it can be included in the next release.
No tags attached.
patch vtkAxisActor.cxx.patch (2,670) 2009-01-21 16:02
https://www.vtk.org/Bug/file/7011/vtkAxisActor.cxx.patch
patch vtkAxisActor.cxx.no-output.patch (1,306) 2009-01-28 09:26
https://www.vtk.org/Bug/file/7020/vtkAxisActor.cxx.no-output.patch
Issue History
2009-01-21 16:02Gerrick BivinsNew Issue
2009-01-21 16:02Gerrick BivinsFile Added: vtkAxisActor.cxx.patch
2009-01-28 09:26Gerrick BivinsFile Added: vtkAxisActor.cxx.no-output.patch
2009-01-28 09:26Gerrick BivinsNote Added: 0014692
2009-01-28 15:53David ColeStatusbacklog => tabled
2009-01-28 15:53David ColeAssigned To => David Cole
2009-01-28 17:53David ColeNote Added: 0014703
2009-01-28 17:53David ColeStatustabled => @80@
2009-01-28 17:53David ColeResolutionopen => fixed
2011-01-13 17:00Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00Source_changeset_attached => VTK master 020ef709
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2013-04-05 20:16Berk GeveciStatuscustomer review => closed

Notes
(0014692)
Gerrick Bivins   
2009-01-28 09:26   
updated the patch which removes my debug output statements which are not necessary.
(0014703)
David Cole   
2009-01-28 17:53   
cvs commit -m "BUG: Fix issue 0008417. vtkAxisActor tick placement was incorrect at the end of the interval. Use <= instead of < to get correct tick placement."

/cvsroot/VTK/VTK/Hybrid/vtkAxisActor.cxx,v <-- vtkAxisActor.cxx
new revision: 1.7; previous revision: 1.6

Thanks to Gerrick Bivins for the patch.