Classes | Macros | Functions
vgl_h_matrix_1d.h File Reference

2x2 line-to-line projectivity More...

#include <vector>
#include <iosfwd>
#include <vnl/vnl_matrix_fixed.h>
#include <vgl/vgl_homg_point_1d.h>

Go to the source code of this file.

Classes

class  vgl_h_matrix_1d< T >
 A class to hold a line-to-line projective transformation matrix and to perform common operations using it e.g. More...
 

Macros

#define VGL_H_MATRIX_1D_INSTANTIATE(T)   extern "please include vgl/algo/vgl_h_matrix_1d.hxx first"
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &s, vgl_h_matrix_1d< T > const &H)
 Print H on std::ostream. More...
 
template<class T >
std::istream & operator>> (std::istream &s, vgl_h_matrix_1d< T > &H)
 Read H from std::istream. More...
 

Detailed Description

2x2 line-to-line projectivity

A class to hold a line-to-line projective transformation matrix and to perform common operations using it e.g. transfer point.

  Modifications
   22 Oct 2002 - Peter Vanroose - added vgl_homg_point_2d interface
   23 Oct 2002 - Peter Vanroose - using fixed 3x3 matrices throughout
   22 Mar 2003 - J.L. Mundy - preparing for upgrade to vgl
   13 Jun 2004 - Peter Vanroose - added set_identity() and projective_basis()
   31 Jul 2010 - Peter Vanroose - made more similar to 2d and 3d variants
   24 Oct 2010 - Peter Vanroose - mutators and setters now return *this
   27 Oct 2010 - Peter Vanroose - moved Doxygen docs from .hxx to .h
   26 Jul 2011 - Peter Vanroose - added is_identity(),is_rotation(),is_euclidean(),
                                  correlation(),operator*(h_matrix),set(row,col,val),
                                  set_translation(),set_affine(), cf vgl_h_matrix_2d

Definition in file vgl_h_matrix_1d.h.

Macro Definition Documentation

◆ VGL_H_MATRIX_1D_INSTANTIATE

#define VGL_H_MATRIX_1D_INSTANTIATE (   T)    extern "please include vgl/algo/vgl_h_matrix_1d.hxx first"

Definition at line 156 of file vgl_h_matrix_1d.h.

Function Documentation

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  s,
vgl_h_matrix_1d< T > const &  H 
)

Print H on std::ostream.

Definition at line 82 of file vgl_h_matrix_1d.hxx.

◆ operator>>()

template<class T >
std::istream& operator>> ( std::istream &  s,
vgl_h_matrix_1d< T > &  H 
)

Read H from std::istream.

Definition at line 152 of file vgl_h_matrix_1d.h.