00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #pragma once
00012
00013 #include "ippdme/Command/ippCommand.h"
00014 #include "ippdme/ippTargetVector.h"
00015
00016 class IPPDME_EXT_CLASS ippPtMeasSelfCenterLockedCommand : public ippCommand {
00017
00018
00019 public:
00020 ippPtMeasSelfCenterLockedCommand(unsigned int tgNum);
00021
00022 ippPtMeasSelfCenterLockedCommand(
00023 unsigned int tgNum,
00024 double inX, double inY, double inZ,
00025 const ippTargetVector& IJK,
00026 const ippTargetVector& LMN
00027 );
00028
00029
00030 virtual ~ippPtMeasSelfCenterLockedCommand(){}
00031
00032 void setX(double inX){ _x = inX; }
00033 void setY(double inY){ _y = inY; }
00034 void setZ(double inZ){ _z = inZ; }
00035
00036 void setIJK(double inI, double inJ, double inK)
00037 { _theIJK.setValues(inI, inJ, inK); }
00038
00039 void setLMN(double inI, double inJ, double inK)
00040 { _theLMN.setValues(inI, inJ, inK); }
00041
00042 double getX()const{ return _x; }
00043 double getY()const{ return _y; }
00044 double getZ()const{ return _z; }
00045
00046 double getI()const{ return _theIJK.getI(); }
00047 double getJ()const{ return _theIJK.getJ(); }
00048 double getK()const{ return _theIJK.getK(); }
00049 double getL()const{ return _theLMN.getI(); }
00050 double getM()const{ return _theLMN.getJ(); }
00051 double getN()const{ return _theLMN.getK(); }
00052
00053 virtual std::string getCommandString() const;
00054
00055 private:
00056 double _x;
00057 double _y;
00058 double _z;
00059 ippTargetVector _theIJK;
00060 ippTargetVector _theLMN;
00061 };
00062 IPP_DECLARE_SMARTPOINTER(ippPtMeasSelfCenterLockedCommand);