Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ippPtMeasSelfCenterLockedCommand.h

Go to the documentation of this file.
00001 // 
00002 // DISCLAIMER: 
00003 //  This software was produced by the National Institute of Standards 
00004 //  and Technology (NIST), an agency of the U.S. government, and by statute is 
00005 //  not subject to copyright in the United States.  Recipients of this 
00006 //  software assume all responsibility associated with its operation,
00007 //  modification,maintenance, and subsequent redistribution. 
00008 //
00009 //  See NIST Administration Manual 4.09.07 b and Appendix I. 
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);

Generated on Wed Nov 8 00:19:57 2006 for IPPDME by  doxygen 1.4.1