View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008417VTK(No Category)public2009-01-21 16:022013-04-05 20:16
ReporterGerrick Bivins 
Assigned ToDavid Cole 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008417: Random value displayed with vtkCubeAxesActor in the center of the model
DescriptionThese 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.
TagsNo tags attached.
Project
Type
Attached Filespatch file icon vtkAxisActor.cxx.patch [^] (2,670 bytes) 2009-01-21 16:02 [Show Content]
patch file icon vtkAxisActor.cxx.no-output.patch [^] (1,306 bytes) 2009-01-28 09:26 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0014692)
Gerrick Bivins (reporter)
2009-01-28 09:26

updated the patch which removes my debug output statements which are not necessary.
(0014703)
David Cole (developer)
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.

- Issue History
Date Modified Username Field Change
2009-01-21 16:02 Gerrick Bivins New Issue
2009-01-21 16:02 Gerrick Bivins File Added: vtkAxisActor.cxx.patch
2009-01-28 09:26 Gerrick Bivins File Added: vtkAxisActor.cxx.no-output.patch
2009-01-28 09:26 Gerrick Bivins Note Added: 0014692
2009-01-28 15:53 David Cole Status backlog => tabled
2009-01-28 15:53 David Cole Assigned To => David Cole
2009-01-28 17:53 David Cole Note Added: 0014703
2009-01-28 17:53 David Cole Status tabled => @80@
2009-01-28 17:53 David Cole Resolution open => fixed
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)
2013-04-05 20:16 Berk Geveci Status customer review => closed


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker