Various methods for computing a perspective camera. More...
#include <vpgl_camera_convert.h>
Static Public Member Functions | |
static bool | convert (vpgl_rational_camera< double > const &rat_cam, vgl_box_3d< double > const &approximation_volume, vpgl_perspective_camera< double > &camera, vgl_h_matrix_3d< double > &norm_trans) |
Convert from a rational camera. | |
static bool | convert_local (vpgl_rational_camera< double > const &rat_cam, vgl_box_3d< double > const &approximation_volume, vpgl_perspective_camera< double > &camera, vgl_h_matrix_3d< double > &norm_trans) |
Convert from rational camera using a local Euclidean coordinate system. | |
Private Member Functions | |
vpgl_perspective_camera_convert () |
Various methods for computing a perspective camera.
Definition at line 45 of file vpgl_camera_convert.h.
vpgl_perspective_camera_convert::vpgl_perspective_camera_convert | ( | ) | [private] |
bool vpgl_perspective_camera_convert::convert | ( | vpgl_rational_camera< double > const & | rat_cam, |
vgl_box_3d< double > const & | approximation_volume, | ||
vpgl_perspective_camera< double > & | camera, | ||
vgl_h_matrix_3d< double > & | norm_trans | ||
) | [static] |
Convert from a rational camera.
Put the resulting camera into camera, return true if successful. The approximation volume defines the region of space (lon (deg), lat (deg), elev (meters)) where the perspective approximation is valid. Norm trans is a pre-multiplication of the perspective camera to account for scaling the lon, lat and elevation to the range [-1, 1]
Definition at line 352 of file vpgl_camera_convert.cxx.
bool vpgl_perspective_camera_convert::convert_local | ( | vpgl_rational_camera< double > const & | rat_cam, |
vgl_box_3d< double > const & | approximation_volume, | ||
vpgl_perspective_camera< double > & | camera, | ||
vgl_h_matrix_3d< double > & | norm_trans | ||
) | [static] |
Convert from rational camera using a local Euclidean coordinate system.
Definition at line 471 of file vpgl_camera_convert.cxx.