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 class IPPDME_EXT_CLASS ippScanOnCircleCommand : public ippCommand {
00017
00018
00019 public:
00020 ippScanOnCircleCommand(unsigned int tgNum,
00021 double inCx, double inCy, double inCz,
00022 double inSx, double inSy, double inSz,
00023 double inI, double inJ, double inK,
00024 double inDelta, double inSfa, double inStepW
00025 );
00026
00027 virtual ~ippScanOnCircleCommand();
00028
00029 void setCx(double inCx){ _cx = inCx; }
00030 void setCy(double inCy){ _cy = inCy; }
00031 void setCz(double inCz){ _cz = inCz; }
00032 void setSx(double inSx){ _sx = inSx; }
00033 void setSy(double inSy){ _sy = inSy; }
00034 void setSz(double inSz){ _sz = inSz; }
00035 void setIJK(double inI, double inJ, double inK)
00036 { _theIJK.setValues(inI, inJ, inK); }
00037 void setDelta(double inDelta){ _delta = inDelta; }
00038 void setSfa(double inSfa){ _sfa = inSfa; }
00039 void setStepW(double inStepW){ _stepW = inStepW; }
00040
00041 double getCx()const{ return _cx; }
00042 double getCy()const{ return _cy; }
00043 double getCz()const{ return _cz; }
00044 double getSx()const{ return _sx; }
00045 double getSy()const{ return _sy; }
00046 double getSz()const{ return _sz; }
00047 double getI()const{ return _theIJK.getI(); }
00048 double getJ()const{ return _theIJK.getJ(); }
00049 double getK()const{ return _theIJK.getK(); }
00050 double getDelta()const{ return _delta; }
00051 double getSfa()const{ return _sfa; }
00052 double getStepW()const{ return _stepW; }
00053
00054 virtual std::string getCommandString() const;
00055
00056 private:
00057 double _cx;
00058 double _cy;
00059 double _cz;
00060 double _sx;
00061 double _sy;
00062 double _sz;
00063 ippTargetVector _theIJK;
00064 double _delta;
00065 double _sfa;
00066 double _stepW;
00067
00068 ippScanOnCircleCommand(const ippScanOnCircleCommand&);
00069 void operator=(const ippScanOnCircleCommand&);
00070 };
00071 IPP_DECLARE_SMARTPOINTER(ippScanOnCircleCommand);