Static Public Member Functions | Private Member Functions
vpgl_perspective_camera_convert Class Reference

Various methods for computing a perspective camera. More...

#include <vpgl_camera_convert.h>

List of all members.

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 ()

Detailed Description

Various methods for computing a perspective camera.

Definition at line 45 of file vpgl_camera_convert.h.


Constructor & Destructor Documentation

vpgl_perspective_camera_convert::vpgl_perspective_camera_convert ( ) [private]

Member Function Documentation

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.


The documentation for this class was generated from the following files: