[vtk-developers] Strange behavoir in vtkCamera

Marco Petrone m.petrone at cineca.it
Tue Mar 25 12:45:24 EST 2003


Lisa Avila wrote:

> Hello Silvano,
>
> This is actually the expected behavior of vtkCamera - the field of 
> view is defined as view frustum angle in the Y direction and is 
> therefore solely dependent on the height of the window.
>
Hi Silvia,
the problem is we cannot change this default behavior without patching 
the vtkCamera in the VTK distribution, since not only vtkCamera are 
instantiated by means of the object factory, so we should inherit from 
both Mesa and OpenGL versions (OK, we won't ever use Mesa...), but the 
real problem is the method Silvano is complaining about is not 
virtual... :-( Would it be possible to change this declaration?

Marco








More information about the vtk-developers mailing list