vtkTupleThreeD.h

Go to the documentation of this file.
00001 /* $Id: vtkTupleThreeD.h,v 1.4 2005/11/02 03:55:45 pfb Exp $ */
00002 
00003 #ifndef _vtkTupleThreeD_h
00004 #define _vtkTupleThreeD_h
00005 
00010 #include <vtkObject.h>
00011 
00016 class VTK_EXPORT vtkTupleThreeD : public vtkObject
00017   {
00018   //****************************************************************************
00019                              public:
00025   static vtkTupleThreeD *New();
00026 
00030   vtkTypeMacro(vtkTupleThreeD, vtkObject);
00031 
00037   void PrintSelf(ostream& os, vtkIndent indent); 
00038 
00045   void value(double x, double y, double z);
00046 
00051   void value(double a[3]);
00052 
00057   void value(float a[3]);
00058 
00063   double X() const;
00064 
00069   double Y() const;
00070 
00075   double Z() const;
00076 
00082   vtkTupleThreeD& operator=(const vtkTupleThreeD& rhs);
00083 
00089   bool operator==(const vtkTupleThreeD& rhs) const;
00090 
00096   bool operator!=(const vtkTupleThreeD& rhs) const; 
00097 
00103    double operator*(const vtkTupleThreeD& rhs);
00104 
00105   //****************************************************************************
00106                              protected:
00107   
00111   vtkTupleThreeD();
00112 
00116   ~vtkTupleThreeD();
00117 
00118   //****************************************************************************
00119                              private:
00120   
00124   vtkTupleThreeD(const vtkTupleThreeD& );
00125 
00126   double x;
00127   double y;
00128   double z;
00129   };
00130 
00131 
00132 
00133 
00134 /*
00135  * $Log: vtkTupleThreeD.h,v $
00136  * Revision 1.4  2005/11/02 03:55:45  pfb
00137  * Fixed doxygen tags.
00138  *
00139  * Revision 1.3  2005/05/11 11:40:11  pfb
00140  * Added module info.
00141  *
00142  * Revision 1.2  2003/03/06 06:47:57  pfb
00143  * Added value and give functions.
00144  *
00145  * Revision 1.1  2003/03/06 00:20:47  pfb
00146  * Initial rev.
00147  *
00148  *
00149  */
00150 
00154 #endif
00155