Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vgl_fit_plane_3d< T > Class Template Reference

#include <vgl_fit_plane_3d.h>

List of all members.


Detailed Description

template<class T>
class vgl_fit_plane_3d< T >

Definition at line 27 of file vgl_fit_plane_3d.h.

Public Member Functions

 vgl_fit_plane_3d ()
 vgl_fit_plane_3d (vcl_vector< vgl_homg_point_3d< T > > points)
 ~vgl_fit_plane_3d ()
void add_point (vgl_homg_point_3d< T > const &p)
 add a point to point set.
void add_point (const T x, const T y, const T z)
void clear ()
 clear internal data.
bool fit (const T error_marg)
 fits a plane to the stored points.
vcl_vector< vgl_homg_point_3d<
T > > & 
get_points ()
vgl_homg_plane_3d< T > & get_plane ()
 first fit() should be called to get the plane computed.

Protected Attributes

vcl_vector< vgl_homg_point_3d<
T > > 
points_
vgl_homg_plane_3d< T > plane_


Constructor & Destructor Documentation

template<class T>
vgl_fit_plane_3d< T >::vgl_fit_plane_3d  )  [inline]
 

Definition at line 38 of file vgl_fit_plane_3d.h.

template<class T>
vgl_fit_plane_3d< T >::vgl_fit_plane_3d vcl_vector< vgl_homg_point_3d< T > >  points  ) 
 

Definition at line 14 of file vgl_fit_plane_3d.txx.

template<class T>
vgl_fit_plane_3d< T >::~vgl_fit_plane_3d  )  [inline]
 

Definition at line 42 of file vgl_fit_plane_3d.h.


Member Function Documentation

template<class T>
void vgl_fit_plane_3d< T >::add_point const T  x,
const T  y,
const T  z
 

Definition at line 26 of file vgl_fit_plane_3d.txx.

template<class T>
void vgl_fit_plane_3d< T >::add_point vgl_homg_point_3d< T > const &  p  ) 
 

add a point to point set.

Definition at line 20 of file vgl_fit_plane_3d.txx.

template<class T>
void vgl_fit_plane_3d< T >::clear  ) 
 

clear internal data.

Definition at line 32 of file vgl_fit_plane_3d.txx.

template<class T>
bool vgl_fit_plane_3d< T >::fit const T  error_marg  ) 
 

fits a plane to the stored points.

Definition at line 38 of file vgl_fit_plane_3d.txx.

template<class T>
vgl_homg_plane_3d<T>& vgl_fit_plane_3d< T >::get_plane  )  [inline]
 

first fit() should be called to get the plane computed.

Definition at line 61 of file vgl_fit_plane_3d.h.

template<class T>
vcl_vector<vgl_homg_point_3d<T> >& vgl_fit_plane_3d< T >::get_points  )  [inline]
 

Definition at line 58 of file vgl_fit_plane_3d.h.


Member Data Documentation

template<class T>
vgl_homg_plane_3d<T> vgl_fit_plane_3d< T >::plane_ [protected]
 

Definition at line 32 of file vgl_fit_plane_3d.h.

template<class T>
vcl_vector<vgl_homg_point_3d<T> > vgl_fit_plane_3d< T >::points_ [protected]
 

Definition at line 31 of file vgl_fit_plane_3d.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:39:26 2008 for core/vgl by  doxygen 1.4.4