[vtkusers] what is vtkCamera's field of view?

Amy Squillacote amy.squillacote at kitware.com
Fri Apr 20 08:11:40 EDT 2007


Hi Mark,

Is your vtkCamera using parallel or perspective projection? (You can use 
the GetParallelProjection() method to find out.) If the vtkCamera is 
using parallel projection, then use the GetParallelScale() method; 
otherwise use the GetViewAngle() method. The on-line documentation for 
vtkCamera (which contains a descriptions for both of these methods) is 
here: http://www.vtk.org/doc/nightly/html/classvtkCamera.html.

- Amy

Mark Wyszomierski wrote:
> Hi,
>
> What is the field of view angle of vtkCamera? I'm trying to figure out
> how far away I need to place the camera from an object so the object
> doesn't get cropped.
>
> Thanks,
> Mark
> _______________________________________________
> This is the private VTK discussion list. Please keep messages 
> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>

-- 
Amy Squillacote
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
Phone: (518) 371-3971 x106




More information about the vtkusers mailing list