PingPoint.h

Go to the documentation of this file.
00001 /* $Id: PingPoint.h,v 1.3 2005/05/11 11:40:11 pfb Exp $ */
00002 
00003 #ifndef _PingPoint_h
00004 #define _PingPoint_h
00005 
00010 #include <vtkObject.h>
00011 
00015 class PingPoint
00016   {
00017   //****************************************************************************
00018                              public:
00019   
00030   PingPoint(int ping,
00031             double x,
00032             double y,
00033             double z,
00034             double heading,
00035             double pitch,
00036             double roll);
00037 
00042   PingPoint(int ping);
00043 
00048   PingPoint(const PingPoint& rhs);
00049 
00053   virtual ~PingPoint(); 
00054 
00060   PingPoint& operator=(const PingPoint& rhs);
00061 
00068   bool operator==(const PingPoint& rhs) const;
00069 
00075   bool operator!=(const PingPoint& rhs) const; 
00076 
00083   bool operator<(const PingPoint& rhs) const;
00084   
00090   bool operator>(const PingPoint& rhs) const;
00091 
00096   int ping() const;
00097 
00102   void ping(int index);
00103 
00108   double x() const;
00109 
00114   void x(double arg);
00115 
00120   double y() const;
00121 
00126   void y(double arg);
00127 
00132   double z() const;
00133 
00138   void z(double arg); 
00139 
00144   void heading(double arg);
00145 
00150   double heading() const;
00151 
00156   void pitch(double arg);
00157 
00162   double pitch() const;
00163 
00168   void roll(double arg);
00169 
00174   double roll() const;
00175 
00181   void PrintSelf(ostream& os, vtkIndent indent);
00182 
00183   //****************************************************************************
00184                              private:
00185   
00186   int _ping;
00187   double _x;
00188   double _y;
00189   double _z;
00190   double _heading;
00191   double _pitch;
00192   double _roll;
00193   };
00194 
00212 #endif