Macros | Functions
vgl_p_matrix.hxx File Reference
#include <iostream>
#include <fstream>
#include <cmath>
#include "vgl_p_matrix.h"
#include <vnl/vnl_matrix.h>
#include <vnl/vnl_inverse.h>
#include <vnl/algo/vnl_svd.h>
#include <vnl/algo/vnl_determinant.h>
#include <vgl/vgl_homg_plane_3d.h>
#include <vgl/vgl_point_3d.h>

Go to the source code of this file.

Macros

#define VGL_P_MATRIX_INSTANTIATE(T)
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &s, const vgl_p_matrix< T > &p)
 Print p on an ostream. More...
 
template<class T >
std::istream & operator>> (std::istream &i, vgl_p_matrix< T > &p)
 Load p from an ascii istream. More...
 
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. More...
 

Macro Definition Documentation

◆ VGL_P_MATRIX_INSTANTIATE

#define VGL_P_MATRIX_INSTANTIATE (   T)
Value:
template class vgl_p_matrix<T >; \
template std::ostream& operator<<(std::ostream& s, const vgl_p_matrix<T >& h); \
template std::istream& operator>>(std::istream& s, vgl_p_matrix<T >& h)
std::ostream & operator<<(std::ostream &s, vgl_orient_box_3d< Type > const &p)
Write box to stream.
A class to hold a 3-d projective transformation matrix and to perform common operations using it e....
Definition: vgl_algo_fwd.h:12
std::istream & operator>>(std::istream &is, vgl_orient_box_3d< Type > &p)
Read box from stream.
vgl_homg_point_1d< T > operator *(vnl_matrix_fixed< T, 2, 2 > const &m, vgl_homg_point_1d< T > const &p)
Transform a point through a 2x2 projective transformation matrix.

Definition at line 552 of file vgl_p_matrix.hxx.

Function Documentation

◆ operator *()

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.

Definition at line 249 of file vgl_p_matrix.hxx.

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  s,
const vgl_p_matrix< T > &  p 
)

Print p on an ostream.

Definition at line 137 of file vgl_p_matrix.hxx.

◆ operator>>()

template<class T >
std::istream& operator>> ( std::istream &  i,
vgl_p_matrix< T > &  p 
)

Load p from an ascii istream.

Definition at line 144 of file vgl_p_matrix.hxx.