00001
00002
00003 #ifndef _BeamPoint_h
00004 #define _BeamPoint_h
00005
00010 #include <vtkObject.h>
00011
00015 class BeamPoint
00016 {
00017
00018 public:
00019
00028 BeamPoint(int ping, int beam, double x, double y, double z);
00029
00036 BeamPoint(double x, double y, double z);
00037
00042 BeamPoint(const BeamPoint& rhs);
00043
00047 virtual ~BeamPoint();
00048
00054 BeamPoint& operator=(const BeamPoint& rhs);
00055
00062 bool operator==(const BeamPoint& rhs) const;
00063
00069 bool operator!=(const BeamPoint& rhs) const;
00070
00078 bool operator<(const BeamPoint& rhs) const;
00079
00086 bool operator>(const BeamPoint& rhs) const;
00087
00092 int ping() const;
00093
00098 void ping(int index);
00099
00104 int beam() const;
00105
00110 void beam(int arg);
00111
00116 double x() const;
00117
00122 void x(double arg);
00123
00128 double y() const;
00129
00134 void y(double arg);
00135
00140 double z() const;
00141
00146 void z(double arg);
00147
00153 void PrintSelf(ostream& os, vtkIndent indent);
00154
00155
00156 private:
00157
00158 int _ping;
00159 int _beam;
00160 double _x;
00161 double _y;
00162 double _z;
00163 };
00164
00185 #endif