Classes | Defines | Functions
core/vgl/algo/vgl_homg_operators_2d.h File Reference

2D homogeneous operations More...

#include <vcl_list.h>
#include <vcl_vector.h>
#include <vnl/vnl_fwd.h>
#include <vgl/vgl_fwd.h>

Go to the source code of this file.

Classes

class  vgl_homg_operators_2d< T >
 2D homogeneous operations. More...

Defines

#define VGL_HOMG_OPERATORS_2D_INSTANTIATE(T)   "Please #include <vgl/algo/vgl_homg_operators_2d.txx>"

Functions

template<class T >
vgl_homg_point_2d< T > operator* (vnl_matrix_fixed< T, 3, 3 > const &m, vgl_homg_point_2d< T > const &p)
 Transform a point through a 3x3 projective transformation matrix.
template<class T >
vgl_homg_line_2d< T > operator* (vnl_matrix_fixed< T, 3, 3 > const &m, vgl_homg_line_2d< T > const &p)
 Transform a line through a 3x3 projective transformation matrix.

Detailed Description

2D homogeneous operations

Author:
Don Hamilton, Peter Tu
Date:
Feb 16 2000
    Modifications
     31-Oct-00 Peter Vanroose - signatures fixed, and vcl_list iterator used
     16-Mar-01 Tim Cootes     - added documentation
     29-Aug-01 Peter Vanroose - added vgl_conic functions (ported from TargetJr)
      5-Oct-01 Peter Vanroose - added compute_bounding_box functions
     15-May-03 Peter Vanroose - added implementation for closest_point()
     22-Jun-03 Peter Vanroose - vcl_list replaced by vcl_vector in lines_to_point
      3-Feb-07 Peter Vanroose - changed vnl_vector to vnl_vector_fixed
     20-Dec-10 Peter Vanroose - bug fix in conic intersection
                                (when 2 intersection pts have same y coordinate)
   

Definition in file vgl_homg_operators_2d.h.


Define Documentation

#define VGL_HOMG_OPERATORS_2D_INSTANTIATE (   T)    "Please #include <vgl/algo/vgl_homg_operators_2d.txx>"

Definition at line 218 of file vgl_homg_operators_2d.h.


Function Documentation

template<class T >
vgl_homg_point_2d< T > operator* ( vnl_matrix_fixed< T, 3, 3 > const &  m,
vgl_homg_point_2d< T > const &  p 
)

Transform a point through a 3x3 projective transformation matrix.

Definition at line 895 of file vgl_homg_operators_2d.txx.

template<class T >
vgl_homg_line_2d< T > operator* ( vnl_matrix_fixed< T, 3, 3 > const &  m,
vgl_homg_line_2d< T > const &  p 
)

Transform a line through a 3x3 projective transformation matrix.

Definition at line 906 of file vgl_homg_operators_2d.txx.