00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #pragma once
00012 #include "ippdme/Command/ippCommand.h"
00013 #include "ippdme/ippTargetVector.h"
00014
00015
00016
00017
00018
00019
00020 class IPPDME_EXT_CLASS ippScanInPlaneEndIsSphereCommand : public ippCommand {
00021
00022 public:
00023 ippScanInPlaneEndIsSphereCommand(unsigned int tgNum,
00024 double inSx, double inSy, double inSz,
00025 double inSI, double inSJ, double inSK,
00026 double inNI, double inNJ, double inNK,
00027 double inDx, double inDy, double inDz,
00028 double inStepW,
00029 double inEX, double inEY, double inEZ,
00030 double inDia,
00031 int inNum,
00032 double inEI, double inEJ, double inEK
00033
00034 );
00035
00036 virtual ~ippScanInPlaneEndIsSphereCommand();
00037
00038 void setSx(double inSx){ _sx = inSx; }
00039 void setSy(double inSy){ _sy = inSy; }
00040 void setSz(double inSz){ _sz = inSz; }
00041 void setSIJK(double inSI, double inSJ, double inSK)
00042 { _sIJK.setValues(inSI, inSJ, inSK); }
00043 void setDx(double inDx){ _dx = inDx; }
00044 void setDy(double inDy){ _dy = inDy; }
00045 void setDz(double inDz){ _dz = inDz; }
00046 void setStepW(double inStepW){ _stepW = inStepW; }
00047 void setEx(double inEx){ _ex = inEx; }
00048 void setEy(double inEy){ _ey = inEy; }
00049 void setEz(double inEz){ _ez = inEz; }
00050 void setDia(double inDia){ _dia = inDia; }
00051 void setEIJK(double inEI, double inEJ, double inEK)
00052 { _eIJK.setValues(inEI, inEJ, inEK); }
00053
00054 double getSx()const{ return _sx; }
00055 double getSy()const{ return _sy; }
00056 double getSz()const{ return _sz; }
00057 double getSI()const{ return _sIJK.getI(); }
00058 double getSJ()const{ return _sIJK.getJ(); }
00059 double getSK()const{ return _sIJK.getK(); }
00060 double getDx()const{ return _dx; }
00061 double getDy()const{ return _dy; }
00062 double getDz()const{ return _dz; }
00063 double getStepW()const{ return _stepW; }
00064 double getEx()const{ return _ex; }
00065 double getEy()const{ return _ey; }
00066 double getEz()const{ return _ez; }
00067 double getDia()const{ return _dia; }
00068 double getEI()const{ return _eIJK.getI(); }
00069 double getEJ()const{ return _eIJK.getJ(); }
00070 double getEK()const{ return _eIJK.getK(); }
00071 double getNum()const{ return _num; }
00072
00073 virtual std::string getCommandString() const;
00074 private:
00075 double _sx;
00076 double _sy;
00077 double _sz;
00078 ippTargetVector _sIJK;
00079 ippTargetVector _nIJK;
00080 double _dx;
00081 double _dy;
00082 double _dz;
00083 double _stepW;
00084 double _ex;
00085 double _ey;
00086 double _ez;
00087 double _dia;
00088 int _num;
00089 ippTargetVector _eIJK;
00090
00091 ippScanInPlaneEndIsSphereCommand(const ippScanInPlaneEndIsSphereCommand&);
00092 void operator=(const ippScanInPlaneEndIsSphereCommand&);
00093 };
00094 IPP_DECLARE_SMARTPOINTER(ippScanInPlaneEndIsSphereCommand);