MantisBT - VTK
View Issue Details
0014820VTK(No Category)public2014-06-24 04:382016-08-12 09:55
Joó Péter 
Aashish Chaudhary 
normalminorhave not tried
closedmoved 
6.0.0 
 
TBD
incorrect functionality
0014820: Misleading documentation in vtkCamera::GetFrustumPlanes
http://www.vtk.org/doc/nightly/html/classvtkCamera.html#a63ac225662fc7b81628366a7b3b7096c [^]

Hello, I found that the documentation is misleading, because it tells that the order of the planes is:
left,right,bottom,top,far,near

Debugging VTK revealed that the actual order is
left,right,bottom,top,near,far

This is how I verified that it is wrong: I created 10 equidistant points from the camera position (outside the frustum) to the focal point (inside the frustum) and I checked the signed distances of the last and the second last planes.

The second last remained positive (far plane, oriented inward) while the last went from negative to positive. That is the behavior of the near plane! the first point is the camera, which is outside of the viewing frustum, therefore it has negative sign, the last is the focal point for which the signed distance was positive.

Please fix+comment :)

The software behaves against what is specified -> incorrect functionality
hackaton
Issue History
2014-06-24 04:38Joó PéterNew Issue
2014-10-01 10:17Sean McBrideTag Attached: hackaton
2014-10-02 09:28Utkarsh AyachitAssigned To => Utkarsh Ayachit
2014-10-02 11:22Utkarsh AyachitAssigned ToUtkarsh Ayachit =>
2014-10-02 11:22Utkarsh AyachitAssigned To => Aashish Chaudhary
2016-07-06 16:48Berk GeveciStatusbacklog => expired
2016-07-06 16:48Berk GeveciNote Added: 0036268
2016-08-12 09:55Kitware RobotNote Added: 0037334
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved

Notes
(0036268)
Berk Geveci   
2016-07-06 16:48   
Setting to status of bugs that have not been updated in the last year to expired. Please re-open if still important.
(0037334)
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.