[vtkusers] Getting box coordinates

Mario Rodriguez biomates at telefonica.net
Mon Sep 6 08:57:00 EDT 2010


El lun, 06-09-2010 a las 07:49 -0400, Sebastien Jourdain escribió:
> On the vtkRenderer, you do have a method that do exactly that.
> 
> void 	ComputeVisiblePropBounds  (double bounds[6])
> double * 	ComputeVisiblePropBounds ()
> 
> Moreover, if you call ResetCamera() on the camera, you migh get the
> result that you try to achieve.
> 
> Seb


Thanks a lot both Sebastien and David,

I have tested David's idea and worked fine. Now I'll try yours.

The tcl code must be written by a Lisp application; that's why I need to
calculate the camera settings automatically.

Thanks for the quick reply.

--
Mario




More information about the vtkusers mailing list