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

3D homogeneous functions More...

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

Go to the source code of this file.

Classes

class  vgl_homg_operators_3d< Type >
 3D homogeneous operations. More...

Defines

#define VGL_HOMG_OPERATORS_3D_INSTANTIATE(T)   "Please #include <vgl/algo/vgl_homg_operators_3d.txx>"

Functions

template<class Type >
vgl_homg_point_3d< Type > operator* (vnl_matrix_fixed< Type, 4, 4 > const &m, vgl_homg_point_3d< Type > const &p)
 Homographic transformation of a 3D point through a 4x4 projective transformation matrix.
template<class Type >
vgl_homg_point_2d< Type > operator* (vnl_matrix_fixed< Type, 3, 4 > const &m, vgl_homg_point_3d< Type > const &p)
 Project a 3D point to 2D through a 3x4 projective transformation matrix.
template<class Type >
vgl_homg_plane_3d< Type > operator* (vnl_matrix_fixed< Type, 4, 4 > const &m, vgl_homg_plane_3d< Type > const &p)
 Homographic transformation of a 3D plane through a 4x4 projective transformation matrix.
template<class Type >
vgl_homg_plane_3d< Type > operator* (vnl_matrix_fixed< Type, 4, 3 > const &m, vgl_homg_line_2d< Type > const &l)
 Backproject a 2D line through a 4x3 projective transformation matrix.

Detailed Description

3D homogeneous functions

Author:
Don Hamilton, Peter Tu
Date:
Feb 16 2000
    Modifications
     31-oct-00 Peter Vanroose - implementations fixed, and vgl_homg_line_3d typedef'd
     16-Mar-01 Tim Cootes - Tidied up documentation
     14-Jun-04 Peter Vanroose - implemented conjugate(), unitize(), perp_dist_squared(), midpoint(), planes_to_point()
      3-Feb-07 Peter Vanroose - changed vnl_vector to vnl_vector_fixed
   

Definition in file vgl_homg_operators_3d.h.


Define Documentation

#define VGL_HOMG_OPERATORS_3D_INSTANTIATE (   T)    "Please #include <vgl/algo/vgl_homg_operators_3d.txx>"

Definition at line 177 of file vgl_homg_operators_3d.h.


Function Documentation

template<class Type >
vgl_homg_point_3d<Type> operator* ( vnl_matrix_fixed< Type, 4, 4 > const &  m,
vgl_homg_point_3d< Type > const &  p 
)

Homographic transformation of a 3D point through a 4x4 projective transformation matrix.

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

Project a 3D point to 2D through a 3x4 projective transformation matrix.

template<class Type >
vgl_homg_plane_3d<Type> operator* ( vnl_matrix_fixed< Type, 4, 4 > const &  m,
vgl_homg_plane_3d< Type > const &  p 
)

Homographic transformation of a 3D plane through a 4x4 projective transformation matrix.

template<class Type >
vgl_homg_plane_3d<Type> operator* ( vnl_matrix_fixed< Type, 4, 3 > const &  m,
vgl_homg_line_2d< Type > const &  l 
)

Backproject a 2D line through a 4x3 projective transformation matrix.