00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #pragma once
00011 #include "ippdme/Command/ippCommand.h"
00012 #include "ippdme/ippTargetVector.h"
00013
00014 class IPPDME_EXT_CLASS ippScanInCylEndIsPlaneCommand : public ippCommand {
00015
00016
00017 public:
00018
00019 ippScanInCylEndIsPlaneCommand(unsigned int tgNum,
00020 double inCx, double inCy, double inCz,
00021 double inCI, double inCJ, double inCK,
00022 double inSx, double inSy, double inSz,
00023 double inSI, double inSJ, double inSK,
00024 double inDx, double inDy, double inDz,
00025 double inStepW,
00026 double inPx, double inPy, double inPz,
00027 double inPI, double inPJ, double inPK,
00028 int inNum,
00029 double inEI, double inEJ, double inEK
00030 );
00031 virtual ~ippScanInCylEndIsPlaneCommand();
00032
00033 void setCx(double inCx){ _cx = inCx; }
00034 void setCy(double inCy){ _cy = inCy; }
00035 void setCz(double inCz){ _cz = inCz; }
00036 void setCIJK(double inCI, double inCJ, double inCK)
00037 { _cIJK.setValues(inCI, inCJ, inCK); }
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 setPx(double inPx){ _px = inPx; }
00048 void setPy(double inPy){ _py = inPy; }
00049 void setPz(double inPz){ _pz = inPz; }
00050 void setPIJK(double inPI, double inPJ, double inPK)
00051 { _pIJK.setValues(inPI, inPJ, inPK); }
00052 void setNum(int inNum){ _num = inNum; }
00053 void setEIJK(double inEI, double inEJ, double inEK)
00054 { _eIJK.setValues(inEI, inEJ, inEK); }
00055
00056
00057 double getCx()const{ return _cx; }
00058 double getCy()const{ return _cy; }
00059 double getCz()const{ return _cz; }
00060 double getCI()const{ return _cIJK.getI(); }
00061 double getCJ()const{ return _cIJK.getJ(); }
00062 double getCK()const{ return _cIJK.getK(); }
00063 double getSx()const{ return _sx; }
00064 double getSy()const{ return _sy; }
00065 double getSz()const{ return _sz; }
00066 double getSI()const{ return _sIJK.getI(); }
00067 double getSJ()const{ return _sIJK.getJ(); }
00068 double getSK()const{ return _sIJK.getK(); }
00069 double getDx()const{ return _dx; }
00070 double getDy()const{ return _dy; }
00071 double getDz()const{ return _dz; }
00072 double getStepW()const{ return _stepW; }
00073 double getPx()const{ return _px; }
00074 double getPy()const{ return _py; }
00075 double getPz()const{ return _pz; }
00076 double getPI()const{ return _pIJK.getI(); }
00077 double getPJ()const{ return _pIJK.getJ(); }
00078 double getPK()const{ return _pIJK.getK(); }
00079 int getNum()const{ return _num; }
00080 double getEI()const{ return _eIJK.getI(); }
00081 double getEJ()const{ return _eIJK.getJ(); }
00082 double getEK()const{ return _eIJK.getK(); }
00083
00084 virtual std::string getCommandString() const;
00085
00086
00087 private:
00088 double _cx;
00089 double _cy;
00090 double _cz;
00091 ippTargetVector _cIJK;
00092 double _sx;
00093 double _sy;
00094 double _sz;
00095 ippTargetVector _sIJK;
00096 double _dx;
00097 double _dy;
00098 double _dz;
00099 double _stepW;
00100 double _px;
00101 double _py;
00102 double _pz;
00103 ippTargetVector _pIJK;
00104 int _num;
00105 ippTargetVector _eIJK;
00106 private:
00107 ippScanInCylEndIsPlaneCommand(const ippScanInCylEndIsPlaneCommand&);
00108 void operator=(const ippScanInCylEndIsPlaneCommand&);
00109
00110 };
00111 IPP_DECLARE_SMARTPOINTER(ippScanInCylEndIsPlaneCommand);