00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef PARAMETER_AXIS_HH
00026 #define PARAMETER_AXIS_HH
00027
00028 #include "parameter.hh"
00029
00041 class CParameterAxis : public CParameter
00042 {
00043 public:
00048
00051 CParameterAxis(int ANbRef = 0);
00052 CParameterAxis(const CParameterAxis &);
00053 CParameter* copy() const;
00054
00057 virtual ~CParameterAxis();
00058
00060
00065
00070 virtual void save(std::ostream&);
00071
00076 virtual void load(std::istream&);
00077
00082 virtual void reinit();
00083
00085
00090 int getLWAxis() const;
00091 void setLWAxis(int);
00093
00098 float getLGAxis() const;
00099 void setLGAxis(float);
00101
00106 float getCLAxisX(int AIndice) const;
00107 const float * getCLAxisX() const;
00108 void setCLAxisX(int AIndice, float AValue);
00109 void setCLAxisX(float AValue0, float AValue1, float AValue2);
00110 void setCLAxisX(const float ATab[3]);
00111
00112 float getCLAxisY(int AIndice) const;
00113 const float * getCLAxisY() const;
00114 void setCLAxisY(int AIndice, float AValue);
00115 void setCLAxisY(float AValue0, float AValue1, float AValue2);
00116 void setCLAxisY(const float ATab[3]);
00117
00118 float getCLAxisZ(int AIndice) const;
00119 const float * getCLAxisZ() const;
00120 void setCLAxisZ(int AIndice, float AValue);
00121 void setCLAxisZ(float AValue0, float AValue1, float AValue2);
00122 void setCLAxisZ(const float ATab[3]);
00124
00126 virtual int getType() const;
00127
00129 friend std::ostream& operator << (std::ostream&, const CParameterAxis &);
00130 friend std::istream& operator >> (std::istream&, CParameterAxis &);
00131
00132 private:
00133
00135 int FLWAxis;
00136
00138 float FLGAxis;
00139
00141 float FCLAxisX[3];
00142 float FCLAxisY[3];
00143 float FCLAxisZ[3];
00144 };
00145
00146
00147 #endif // PARAMETER_AXIS_HH
00148