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 ippPtMeasSelfCenterCommand : public ippCommand {
00017
00018
00019 public:
00020 ippPtMeasSelfCenterCommand(unsigned int tgNum);
00021
00022 ippPtMeasSelfCenterCommand(
00023 unsigned int tgNum,
00024 double inX, double inY, double inZ,
00025 const ippTargetVector& IJK
00026 );
00027
00028
00029 virtual ~ippPtMeasSelfCenterCommand(){}
00030
00031 void setX(double inX){ _x = inX; }
00032 void setY(double inY){ _y = inY; }
00033 void setZ(double inZ){ _z = inZ; }
00034
00035 void setIJK(double inI, double inJ, double inK)
00036 { _theIJK.setValues(inI, inJ, inK); }
00037
00038 double getX()const{ return _x; }
00039 double getY()const{ return _y; }
00040 double getZ()const{ return _z; }
00041
00042 double getI()const{ return _theIJK.getI(); }
00043 double getJ()const{ return _theIJK.getJ(); }
00044 double getK()const{ return _theIJK.getK(); }
00045
00046 virtual std::string getCommandString() const;
00047
00048 private:
00049 double _x;
00050 double _y;
00051 double _z;
00052 ippTargetVector _theIJK;
00053 };
00054 IPP_DECLARE_SMARTPOINTER(ippPtMeasSelfCenterCommand);