00001 #ifndef LineSeg_h_ 00002 #define LineSeg_h_ 00003 //: 00004 // \file 00005 // \author 00006 // Andrew W. Fitzgibbon, Oxford RRG, 01 Aug 96 00007 // 00008 //----------------------------------------------------------------------------- 00009 #include <vcl_iosfwd.h> 00010 00011 class LineSeg 00012 { 00013 public: 00014 // Data Members-------------------------------------------------------------- 00015 float _x0; 00016 float _y0; 00017 float _x1; 00018 float _y1; 00019 float _theta; 00020 float _grad_mean; 00021 00022 public: 00023 // Constructors/Destructors-------------------------------------------------- 00024 LineSeg() {} 00025 LineSeg(float x0, float y0, float x1, float y1, float theta, float grad_mean); 00026 ~LineSeg() {} 00027 }; 00028 00029 vcl_ostream& operator<<(vcl_ostream&, const LineSeg& l); 00030 vcl_istream& operator>>(vcl_istream&, LineSeg& l); 00031 00032 #endif // LineSeg_h_
1.7.5.1