contrib/rpl/rgrl/rgrl_est_translation.h

Go to the documentation of this file.
00001 #ifndef rgrl_est_translation_h_
00002 #define rgrl_est_translation_h_
00003 
00004 //:
00005 // \file
00006 // \author Charlene Tsai
00007 // \date   Dec 2003
00008 
00009 #include "rgrl_estimator.h"
00010 
00011 //: Translation transform estimator
00012 //
00013 class rgrl_est_translation
00014   : public rgrl_linear_estimator
00015 {
00016 public:
00017   //: Default constructor
00018   //
00019   // Does nothing. This constructor is adequate for algorithms that
00020   // call \a estimate(.) fucntion only. An example of the algorithm is
00021   // the rgrl_feature_based_registration.
00022   rgrl_est_translation(){}
00023 
00024   // Constructor which takes the dimension of the dataset that the
00025   // estimator will be applied on.
00026   rgrl_est_translation( unsigned int dimension );
00027 
00028   //: Estimates an translation transform.
00029   //
00030   // The return pointer is to a rgrl_trans_translation object.
00031   //
00032   // \sa rgrl_estimator::estimate
00033   //
00034   rgrl_transformation_sptr
00035   estimate( rgrl_set_of<rgrl_match_set_sptr> const& matches,
00036             rgrl_transformation const& cur_transform ) const;
00037 
00038 
00039   //: Estimates an translation transform.
00040   //
00041   // The return pointer is to a rgrl_trans_translation object.
00042   //
00043   // \sa rgrl_estimator::estimate
00044   //
00045   rgrl_transformation_sptr
00046   estimate( rgrl_match_set_sptr matches,
00047             rgrl_transformation const& cur_transform ) const;
00048 
00049   //: Type of transformation estimated by this estimator.
00050   const vcl_type_info& transformation_type() const;
00051 
00052   // Defines type-related functions
00053   rgrl_type_macro( rgrl_est_translation, rgrl_linear_estimator );
00054 
00055 };
00056 
00057 #endif // rgrl_est_translation_h_

Generated on Mon Mar 8 05:27:37 2010 for contrib/rpl/rgrl by  doxygen 1.5.1