MantisBT - VTK
View Issue Details
0000934VTK(No Category)public2004-06-16 03:312016-08-12 09:54
wchiang 
Brian Wylie 
normalmajoralways
closedmoved 
 
 
0000934: vtkCubeAxesActor2D: Axes are not displayed correctly when zoomed in
The bug is better described with two images:
The first image in http://www.simcore.com/Image1.jpg [^] shows a topographical surface with the correct axes created by using vtkCubeAxesActor2D. The scaling of the vtkCubeAxesActor2D object is off.

The second image in http://www.simcore.com/Image2.jpg [^] shows two incorrected displayed axes when zoomed into the center of the bounding box of the topographical surface.

After some research, I found that the call to
viewport->WorldToDisplay();
in vtkCubeAxesActor2D::TransformBounds(...)
does not yield the correct values.

At a closer look, I found that the call to
viewport->WorldToView();
in the function vtkViewport::WorldToDisplay does not yield correct viewPoint coordinates when the world points are far off the viewport and eventually the viewpoint coordinates incorrectly change sign (probably integer overflow?).

The program what creates the images are running on XP. Compiled with Visual C++ 6.0 and coupled with Qt.


Eric Chiang
No tags attached.
Issue History
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036736
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved

Notes
(0002013)
Ken Martin   
2005-02-01 11:35   
Assigned to Brian since he seems to be looking into this class.
(0036736)
Kitware Robot   
2016-08-12 09:54   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.