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

ippPtMeasSelfCenterCommand.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 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);

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