#include <vpgl_ray.h>
Public Member Functions | |
| ~vpgl_ray () | |
Static Public Member Functions | |
| static bool | ray (const vpgl_camera< double > *cam, vnl_double_3 const &point_3d, vnl_double_3 &ray) |
| Generic camera interfaces (pointer for abstract class). | |
| static bool | ray (const vpgl_camera< double > *cam, vgl_point_3d< double > const &point_3d, vgl_vector_3d< double > &ray) |
| compute the ray at a given 3-d point. | |
| static bool | ray (vpgl_rational_camera< double > const &rcam, vnl_double_3 const &point_3d, vnl_double_3 &ray) |
| compute the ray at a given 3-d point. | |
| static bool | ray (vpgl_rational_camera< double > const &rcam, vgl_point_3d< double > const &point_3d, vgl_vector_3d< double > &ray) |
| compute the ray at a given 3-d point. | |
| static bool | ray (vpgl_local_rational_camera< double > const &lrcam, const double u, const double v, vgl_point_3d< double > &origin, vgl_vector_3d< double > &dir) |
| compute a ray in local Cartesian coordinates at a given (u, v). | |
| static bool | plane_ray (vpgl_local_rational_camera< double > const &lrcam, const vgl_point_2d< double > image_point1, const vgl_point_2d< double > image_point2, vgl_plane_3d< double > &plane) |
Private Member Functions | |
| vpgl_ray () | |
| constructor private - static methods only. | |
Definition at line 16 of file vpgl_ray.h.
| vpgl_ray::~vpgl_ray | ( | ) |
| vpgl_ray::vpgl_ray | ( | ) | [private] |
constructor private - static methods only.
| bool vpgl_ray::plane_ray | ( | vpgl_local_rational_camera< double > const & | lrcam, |
| const vgl_point_2d< double > | image_point1, | ||
| const vgl_point_2d< double > | image_point2, | ||
| vgl_plane_3d< double > & | plane | ||
| ) | [static] |
Definition at line 106 of file vpgl_ray.cxx.
| bool vpgl_ray::ray | ( | const vpgl_camera< double > * | cam, |
| vnl_double_3 const & | point_3d, | ||
| vnl_double_3 & | ray | ||
| ) | [static] |
Generic camera interfaces (pointer for abstract class).
Solves using back-project so will work for any camera The ray direction assumes the camera is in the positive half-space of the x-y plane. This assumption is necessary since some cameras don't have a natural center of projection (e.g. rational cameras). compute the ray at a given 3-d point.
Definition at line 13 of file vpgl_ray.cxx.
| bool vpgl_ray::ray | ( | const vpgl_camera< double > * | cam, |
| vgl_point_3d< double > const & | point_3d, | ||
| vgl_vector_3d< double > & | ray | ||
| ) | [static] |
compute the ray at a given 3-d point.
Definition at line 37 of file vpgl_ray.cxx.
| bool vpgl_ray::ray | ( | vpgl_rational_camera< double > const & | rcam, |
| vnl_double_3 const & | point_3d, | ||
| vnl_double_3 & | ray | ||
| ) | [static] |
compute the ray at a given 3-d point.
Definition at line 49 of file vpgl_ray.cxx.
| bool vpgl_ray::ray | ( | vpgl_rational_camera< double > const & | rcam, |
| vgl_point_3d< double > const & | point_3d, | ||
| vgl_vector_3d< double > & | ray | ||
| ) | [static] |
compute the ray at a given 3-d point.
Definition at line 58 of file vpgl_ray.cxx.
| bool vpgl_ray::ray | ( | vpgl_local_rational_camera< double > const & | lrcam, |
| const double | u, | ||
| const double | v, | ||
| vgl_point_3d< double > & | origin, | ||
| vgl_vector_3d< double > & | dir | ||
| ) | [static] |
compute a ray in local Cartesian coordinates at a given (u, v).
Definition at line 69 of file vpgl_ray.cxx.
1.7.5.1