00001 #ifndef brct_plane_corr_h_ 00002 #define brct_plane_corr_h_ 00003 //: 00004 // \file 00005 // \brief A class to store image correspondences 00006 // 00007 // \author J.L. Mundy 00008 // \verbatim 00009 // Initial version Feb. 2004 00010 // May 1, 2004 00011 // modified to make more generic using a correspondence base class - JLM 00012 // \endverbatim 00013 // 00014 ////////////////////////////////////////////////////////////////////// 00015 00016 #include <vcl_iosfwd.h> 00017 #include <brct/brct_corr.h> 00018 00019 class brct_plane_corr : public brct_corr 00020 { 00021 public: 00022 brct_plane_corr(const int n_cams, const int plane, 00023 const int index); 00024 ~brct_plane_corr(); 00025 //:Accessors 00026 int plane() const {return plane_;} 00027 int index() const {return index_;} 00028 00029 // --- Mutators --- 00030 00031 //: Utility functions 00032 friend vcl_ostream& operator<<(vcl_ostream& s, brct_plane_corr const& c); 00033 00034 protected: 00035 brct_plane_corr();//shouldn't use this constructor 00036 //members 00037 int plane_; // the world plane 00038 int index_;//the point index in the plane 00039 //camera match point 00040 }; 00041 00042 #endif // brct_plane_corr_h_
1.7.5.1