MantisBT - VTK
View Issue Details
0012328VTK(No Category)public2011-07-01 16:522016-08-12 09:55
Jeff Mauldin 
Dave DeMarle 
highminorhave not tried
closedmoved 
 
 
Sandia
incorrect functionality
0012328: 'Show grid lines' for axes display draws lines outside bounding box on two axes
When you display the cube axis, and then go to the Edit Cube Axes Properties box, and turn on Show Grid Lines, the behavior is incorrect. For the X-Axis it seems to be okay. However, for the Y and Z Axes, the grid lines are drawn much beyond the range of the bounding box described by the cube axes lines.

To demonstrate, simply start up paraview, create a cone source, turn on Show Cube Axes (in the Annotation section of the Display tab), hit the Edit button to bring up Edit Cube Axes Properties, go to the Y-Axis tab, select the Show Grid Lines check box, and hit okay. Same problem for the Z-Axis. okay for X-Axis.

I suspect the error is connected with the following code in vtkCubeAxesActor.cxx in the method vtkCubeAxesActor::ComputeTickSize

  double xExt = 20; //bounds[1] - bounds[0];
  double yExt = bounds[3] - bounds[2];
  double zExt = bounds[5] - bounds[4];

although I haven't yet tried changing, I'm wondering why xExt is arbitrarily set to 20 rather than using the bounds.

This also, I think affects the tick mark length in a bad way.

I'm attaching state file.




No tags attached.
? BadGridLines.pvsm (72,262) 2011-07-01 16:52
https://www.vtk.org/Bug/file/8969/BadGridLines.pvsm
Issue History
2011-07-01 16:52Jeff MauldinNew Issue
2011-07-01 16:52Jeff MauldinFile Added: BadGridLines.pvsm
2013-07-22 17:44Dave DeMarleNote Added: 0031190
2013-07-22 17:44Dave DeMarleStatusbacklog => expired
2013-07-22 17:44Dave DeMarleAssigned To => Dave DeMarle
2016-08-12 09:55Kitware RobotNote Added: 0037238
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved

Notes
(0031190)
Dave DeMarle   
2013-07-22 17:44   
Jeff if this is still present in pv 4.0/vtk 6.0, please reopen this report.
(0037238)
Kitware Robot   
2016-08-12 09:55   
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.