Public Member Functions | Protected Attributes | List of all members
vpgl_ray_intersect< T > Class Template Reference

#include <vpgl_ray_intersect.h>

Public Member Functions

 vpgl_ray_intersect (unsigned dim)
 
 ~vpgl_ray_intersect ()=default
 
bool intersect (std::vector< const vpgl_camera< T > * > const &cams, std::vector< vgl_point_2d< T > > const &image_pts, vgl_point_3d< T > const &initial_intersection, vgl_point_3d< T > &intersection)
 Intersect the rays. return false if intersection fails. More...
 

Protected Attributes

unsigned dim_
 
std::vector< const vpgl_camera< T > * > f_cameras_
 
std::vector< vgl_point_2d< T > > f_image_pts_
 

Detailed Description

template<typename T>
class vpgl_ray_intersect< T >

Definition at line 36 of file vpgl_ray_intersect.h.

Constructor & Destructor Documentation

◆ vpgl_ray_intersect()

template<typename T >
vpgl_ray_intersect< T >::vpgl_ray_intersect ( unsigned  dim)

Definition at line 117 of file vpgl_ray_intersect.hxx.

◆ ~vpgl_ray_intersect()

template<typename T >
vpgl_ray_intersect< T >::~vpgl_ray_intersect ( )
default

Member Function Documentation

◆ intersect()

template<typename T >
bool vpgl_ray_intersect< T >::intersect ( std::vector< const vpgl_camera< T > * > const &  cams,
std::vector< vgl_point_2d< T > > const &  image_pts,
vgl_point_3d< T > const &  initial_intersection,
vgl_point_3d< T > &  intersection 
)

Intersect the rays. return false if intersection fails.

Note image points are not homogeneous because require finite points to measure projection error

Definition at line 125 of file vpgl_ray_intersect.hxx.

Member Data Documentation

◆ dim_

template<typename T >
unsigned vpgl_ray_intersect< T >::dim_
protected

Definition at line 53 of file vpgl_ray_intersect.h.

◆ f_cameras_

template<typename T >
std::vector<const vpgl_camera<T>* > vpgl_ray_intersect< T >::f_cameras_
protected

Definition at line 54 of file vpgl_ray_intersect.h.

◆ f_image_pts_

template<typename T >
std::vector<vgl_point_2d<T> > vpgl_ray_intersect< T >::f_image_pts_
protected

Definition at line 55 of file vpgl_ray_intersect.h.


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