00001 //------------------------------------------------------------------------------ 00002 // FileName : bcal_calibrate_plane.h 00003 // Author : Kongbin Kang (kk@lems.brown.edu) 00004 // Company : Brown University 00005 // Purpose : Planar Calibration Object 00006 // Date Of Creation: 3/25/2003 00007 // Modification History : 00008 // Date Modifications 00009 //------------------------------------------------------------------------------ 00010 00011 #ifndef AFX_CALIBRATEPLANE_H__22DD25A2_6BFF_46DE_83C2_0285C7008E46__INCLUDED_ 00012 #define AFX_CALIBRATEPLANE_H__22DD25A2_6BFF_46DE_83C2_0285C7008E46__INCLUDED_ 00013 00014 #if defined(_MSC_VER) && ( _MSC_VER > 1000 ) 00015 #pragma once 00016 #endif // _MSC_VER > 1000 00017 00018 #include <vcl_vector.h> 00019 #include <vgl/vgl_homg_point_2d.h> 00020 00021 #include "bcal_calibrate_object.h" 00022 00023 class bcal_calibrate_plane : public bcal_calibrate_object 00024 { 00025 vcl_vector<vgl_homg_point_2d<double> > pts_; 00026 public: 00027 int read_data(vcl_vector<vgl_homg_point_2d<double> > &pts); 00028 vcl_vector<vgl_homg_point_2d<double> >& get_points() { return pts_;} 00029 int readData(const char* fname); 00030 bcal_calibrate_plane(); 00031 virtual ~bcal_calibrate_plane(); 00032 }; 00033 00034 #endif // AFX_CALIBRATEPLANE_H__22DD25A2_6BFF_46DE_83C2_0285C7008E46__INCLUDED_
1.5.1