contrib/oxl/mvl/LineSeg.h
Go to the documentation of this file.
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_