General 3x4 perspective projection matrix. More...
#include <vcl_iosfwd.h>#include <vnl/algo/vnl_algo_fwd.h>#include <vnl/vnl_matrix.h>#include <vnl/vnl_vector.h>#include <vnl/vnl_matrix_fixed.h>#include <vnl/vnl_vector_fixed.h>#include <vgl/vgl_homg_point_2d.h>#include <vgl/vgl_homg_point_3d.h>#include <vgl/vgl_homg_line_2d.h>#include <vgl/vgl_homg_line_3d_2_points.h>#include <vgl/vgl_line_segment_2d.h>#include <vgl/vgl_line_segment_3d.h>#include <vgl/algo/vgl_homg_operators_3d.h>#include <vgl/algo/vgl_h_matrix_3d.h>Go to the source code of this file.
Classes | |
| class | vgl_p_matrix< T > |
Defines | |
| #define | VGL_P_MATRIX_INSTANTIATE(T) extern "please include vgl/algo/vgl_p_matrix.txx first" |
Functions | |
| template<class T > | |
| vgl_p_matrix< T > | operator* (const vgl_p_matrix< T > &P, const vgl_h_matrix_3d< T > &H) |
| Postmultiply P-matrix P by 3D H-matrix H. | |
| template<class T > | |
| vcl_ostream & | operator<< (vcl_ostream &s, const vgl_p_matrix< T > &p) |
| Print p on an ostream. | |
| template<class T > | |
| vcl_istream & | operator>> (vcl_istream &i, vgl_p_matrix< T > &p) |
| Load p from an ascii istream. | |
General 3x4 perspective projection matrix.
A class to hold a perspective projection matrix and use it to perform common operations e.g. projecting point in 3d space to its image on the image plane
Modifications
010796 AWF Implemented get_focal_point() - awf, july 96
011096 AWF Added caching vnl_svd<double>
260297 AWF Converted to use vnl_double_3x4
110397 PVr Added operator==
221002 Peter Vanroose - added vgl_homg_point_2d interface
231002 Peter Vanroose - using fixed 3x4 matrices throughout
250503 J.L.M. converted to pure vgl infrastructure and templated
also made the interface a bit more consistent with
plane projective transformations
270603 Peter Vanroose - moved doc from .txx to .h
- implemented 3 NYI methods (get, set, set_rows)
Definition in file vgl_p_matrix.h.
| #define VGL_P_MATRIX_INSTANTIATE | ( | T | ) | extern "please include vgl/algo/vgl_p_matrix.txx first" |
Definition at line 205 of file vgl_p_matrix.h.
| vgl_p_matrix<T> operator* | ( | const vgl_p_matrix< T > & | P, |
| const vgl_h_matrix_3d< T > & | H | ||
| ) |
Postmultiply P-matrix P by 3D H-matrix H.
Definition at line 257 of file vgl_p_matrix.txx.
| vcl_ostream& operator<< | ( | vcl_ostream & | s, |
| const vgl_p_matrix< T > & | p | ||
| ) |
Print p on an ostream.
Definition at line 144 of file vgl_p_matrix.txx.
| vcl_istream& operator>> | ( | vcl_istream & | i, |
| vgl_p_matrix< T > & | p | ||
| ) |
Load p from an ascii istream.
Definition at line 151 of file vgl_p_matrix.txx.
1.7.5.1