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

ippPtMeasCommand.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 ippPtMeasCommand : public ippCommand {
00017   
00018   
00019 public:
00020   ippPtMeasCommand(unsigned int tgNum);
00021 
00022   ippPtMeasCommand(
00023     unsigned int tgNum, bool inHasX, bool inHasY, bool inHasZ,
00024                 bool inHasIJK, double inX, double inY, double inZ,
00025                 double inI, double inJ, double inK);
00026 
00027 
00028   virtual ~ippPtMeasCommand(){}
00029   
00030   void setHasX(bool inHasX){ _hasX = inHasX; }
00031   void setHasY(bool inHasY){ _hasY = inHasY; }
00032   void setHasZ(bool inHasZ){ _hasZ = inHasZ; }
00033   void setX(double inX){ _x = inX; }
00034   void setY(double inY){ _y = inY; }
00035   void setZ(double inZ){ _z = inZ; }
00036   void setIJK(double inI, double inJ, double inK)
00037     { _theIJK.setValues(inI, inJ, inK); }
00038 
00039   bool getHasX()const{ return _hasX; }
00040   bool getHasY()const{ return _hasY; }
00041   bool getHasZ()const{ return _hasZ; }
00042   bool getHasIJK()const{ return _hasIJK; }
00043   double getX()const{ return _x; }
00044   double getY()const{ return _y; }
00045   double getZ()const{ return _z; }
00046   double getI()const{ return _theIJK.getI(); }
00047   double getJ()const{ return _theIJK.getJ(); }
00048   double getK()const{ return _theIJK.getK(); }
00049 
00050   virtual std::string getCommandString() const;
00051 
00052 private:
00053   bool _hasX;
00054   bool _hasY;
00055   bool _hasZ;
00056   bool _hasIJK;
00057   double _x;
00058   double _y;
00059   double _z;
00060   ippTargetVector _theIJK;
00061 };
00062 IPP_DECLARE_SMARTPOINTER(ippPtMeasCommand);

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