00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #pragma once
00012 #include "ippCommand.h"
00013 #include "ippdme/ippTargetVector.h"
00014
00015 class IPPDME_EXT_CLASS ippScanOnLineCommand : public ippCommand {
00016
00017
00018 public:
00019 ippScanOnLineCommand(
00020 unsigned int tgNum, double inSx, double inSy, double inSz,
00021 double inEx, double inEy, double inEz, double inI,
00022 double inJ, double inK, double inStepW
00023 );
00024
00025 virtual ~ippScanOnLineCommand();
00026
00027 void setSx(double inSx){ _sx = inSx; }
00028 void setSy(double inSy){ _sy = inSy; }
00029 void setSz(double inSz){ _sz = inSz; }
00030 void setEx(double inEx){ _ex = inEx; }
00031 void setEy(double inEy){ _ey = inEy; }
00032 void setEz(double inEz){ _ez = inEz; }
00033 void setIJK(double inI, double inJ, double inK)
00034 { _theIJK.setValues(inI, inJ, inK); }
00035 void setStepW(double inStepW) { _stepW = inStepW; }
00036
00037 double getSx()const{ return _sx; }
00038 double getSy()const{ return _sy; }
00039 double getSz()const{ return _sz; }
00040 double getEx()const{ return _ex; }
00041 double getEy()const{ return _ey; }
00042 double getEz()const{ return _ez; }
00043 double getI()const{ return _theIJK.getI(); }
00044 double getJ()const{ return _theIJK.getJ(); }
00045 double getK()const{ return _theIJK.getK(); }
00046 double getStepW()const{ return _stepW; }
00047
00048 virtual std::string getCommandString() const;
00049 private:
00050 double _sx;
00051 double _sy;
00052 double _sz;
00053 double _ex;
00054 double _ey;
00055 double _ez;
00056 ippTargetVector _theIJK;
00057 double _stepW;
00058
00059
00060 ippScanOnLineCommand(const ippScanOnLineCommand&);
00061 void operator=(const ippScanOnLineCommand&);
00062 };
00063 IPP_DECLARE_SMARTPOINTER(ippScanOnLineCommand);