[vtk-developers] how get object's bounds in viewport?

David Doria daviddoria at gmail.com
Mon Mar 12 08:50:57 EDT 2012


On Sun, Mar 11, 2012 at 10:10 PM, seaer <wuweitianye at yahoo.com.cn> wrote:
>   hello, everyone!
>   i am Chinese student, a rookie to VTK.
>   I am using VTK-5.6 with QT  in ubuntu 11.10 , i have a question :
>   in the code: i get 2000000 points  and rendering them.
>   by default,  using ResetCamera(), i can see all points in viewport;using
>  actor->GetBounds(double bounds[6]), we can know all points' bounds.
>   but, when zooming  points' actor in or rotating, not all points in
> viewport,  i want to know these points' bounds in viewport.  how can i do it
> ?
>     thanks!

This is an interesting question, but you should send it to the
vtk-users list rather than the vtk-developers list.

David



More information about the vtk-developers mailing list