contrib/brl/bmvl/bcal/bcal_zhang_camera_node.h

Go to the documentation of this file.
00001 //------------------------------------------------------------------------------
00002 // FileName        : bcal_zhang_camera_node.h
00003 // Author          : Kongbin Kang (kk@lems.brown.edu)
00004 // Company         : Brown University
00005 // Purpose         : Zhang Camera Node
00006 // Date Of Creation: 3/23/2003
00007 // Modification History :
00008 // Date             Modifications
00009 //------------------------------------------------------------------------------
00010 
00011 #ifndef AFX_ZHANGCAMERA_H__EB787129_58FA_4195_A386_71D7CC0C9546__INCLUDED_
00012 #define AFX_ZHANGCAMERA_H__EB787129_58FA_4195_A386_71D7CC0C9546__INCLUDED_
00013 
00014 #if defined(_MSC_VER) && ( _MSC_VER > 1000 )
00015 #pragma once
00016 #endif // _MSC_VER > 1000
00017 
00018 #include "bcal_camera_node.h"
00019 #include <vcl_vector.h>
00020 #include <vgl/vgl_homg_point_2d.h>
00021 
00022 class bcal_zhang_camera_node : public bcal_camera_node
00023 {
00024  private:
00025   vcl_vector< vgl_homg_point_2d<double> > *point_lists_ptr_;
00026 
00027  public: // constructor and deconstructor
00028   bcal_zhang_camera_node(int id=0);
00029   virtual ~bcal_zhang_camera_node();
00030  public:
00031   int read_data(vcl_vector< vgl_homg_point_2d<double> > &ppts, int iframe);
00032   int removeData();
00033 
00034   // set get function
00035   vcl_vector< vgl_homg_point_2d<double> >& getPoints(int iview)
00036   {
00037     return point_lists_ptr_[iview];
00038   }
00039 
00040   int readData(const char* fname, int iview);  // for debugging
00041 
00042   virtual void set_beat(vcl_vector<double> const& new_beats);
00043 };
00044 
00045 #endif // AFX_ZHANGCAMERA_H__EB787129_58FA_4195_A386_71D7CC0C9546__INCLUDED_

Generated on Mon Oct 6 05:23:27 2008 for contrib/brl/bmvl/bcal by  doxygen 1.5.1