Classes | Functions
contrib/oxl/mvl/PMatrix.h File Reference

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_double_3x3.h>
#include <vnl/vnl_double_3x4.h>
#include <vnl/vnl_double_4x4.h>
#include <vnl/vnl_double_3.h>
#include <vnl/vnl_double_4.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_homg_plane_3d.h>
#include <vgl/vgl_line_segment_2d.h>
#include <vgl/vgl_line_segment_3d.h>
#include <vgl/algo/vgl_homg_operators_3d.h>
#include <vbl/vbl_ref_count.h>

Go to the source code of this file.

Classes

class  PMatrix

Functions

vcl_ostream & operator<< (vcl_ostream &s, const PMatrix &p)
 Print p on vcl_ostream.
vcl_istream & operator>> (vcl_istream &i, PMatrix &p)
 Load p from ascii vcl_istream.
PMatrix operator* (vnl_double_3x3 const &C, const PMatrix &P)

Detailed Description

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
   

Definition in file PMatrix.h.


Function Documentation

PMatrix operator* ( vnl_double_3x3 const &  C,
const PMatrix P 
) [inline]

Definition at line 155 of file PMatrix.h.

vcl_ostream& operator<< ( vcl_ostream &  s,
const PMatrix p 
)

Print p on vcl_ostream.

Definition at line 204 of file PMatrix.cxx.

vcl_istream& operator>> ( vcl_istream &  i,
PMatrix p 
)

Load p from ascii vcl_istream.

Definition at line 214 of file PMatrix.cxx.