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

ippScanInPlaneEndIsPlaneCommand.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 #include "ippdme/Command/ippCommand.h"
00013 #include "ippdme/ippTargetVector.h"
00014 
00015 // 1.40
00016 // 1.43 :11.3.2-4 ScanInPlanEndIsXXX scanning plane definition by additional vector
00017 class IPPDME_EXT_CLASS ippScanInPlaneEndIsPlaneCommand : public ippCommand {
00018 
00019 
00020 
00021 public:
00022 
00023   ippScanInPlaneEndIsPlaneCommand(unsigned int tgNum,
00024     double inSx, double inSy, double inSz, // defines the scan start point
00025     double inSI, double inSJ, double inSK, // defines the surface direction in the start point
00026     double inNI, double inNJ, double inNK, // defines the normal vector of the scanning plane
00027     double inDx, double inDy, double inDz, // defines the scan direction point
00028     double inStepW,
00029     double inPx, double inPy, double inPz,
00030     double inPI, double inPJ, double inPK, //Define a plane where the scan stops
00031     int inNum,                             // Number of through the plane
00032     double inEI, double inEJ, double inEK  // defines the surface direction at the end point. 
00033                                            // It defines the direction for retracting
00034   );
00035 
00036   virtual ~ippScanInPlaneEndIsPlaneCommand();
00037 
00038   void setSx(double inSx){ _sx = inSx; }
00039   void setSy(double inSy){ _sy = inSy; }
00040   void setSz(double inSz){ _sz = inSz; }
00041   void setSIJK(double inSI, double inSJ, double inSK)
00042     { _sIJK.setValues(inSI, inSJ, inSK); }
00043   void setNIJK(double inNI, double inNJ, double inNK)
00044     { _nIJK.setValues(inNI, inNJ, inNK); }
00045   void setDx(double inDx){ _dx = inDx; }
00046   void setDy(double inDy){ _dy = inDy; }
00047   void setDz(double inDz){ _dz = inDz; }
00048   void setStepW(double inStepW){ _stepW = inStepW; }
00049   void setPx(double inPx){ _px = inPx; }
00050   void setPy(double inPy){ _py = inPy; }
00051   void setPz(double inPz){ _pz = inPz; }
00052   void setPIJK(double inPI, double inPJ, double inPK)
00053     { _pIJK.setValues(inPI, inPJ, inPK); }
00054   void setNum(int inNum){ _num = inNum; }
00055   void setEIJK(double inEI, double inEJ, double inEK)
00056     { _eIJK.setValues(inEI, inEJ, inEK); }
00057 
00058   double getSx()const{ return _sx; }
00059   double getSy()const{ return _sy; }
00060   double getSz()const{ return _sz; }
00061   double getSI()const{ return _sIJK.getI(); }
00062   double getSJ()const{ return _sIJK.getJ(); }
00063   double getSK()const{ return _sIJK.getK(); }
00064   double getNI()const{ return _nIJK.getI(); }
00065   double getNJ()const{ return _nIJK.getJ(); }
00066   double getNK()const{ return _nIJK.getK(); }
00067   double getDx()const{ return _dx; }
00068   double getDy()const{ return _dy; }
00069   double getDz()const{ return _dz; }
00070   double getStepW()const{ return _stepW; }
00071   double getPx()const{ return _px; }
00072   double getPy()const{ return _py; }
00073   double getPz()const{ return _pz; }
00074   double getPI()const{ return _pIJK.getI(); }
00075   double getPJ()const{ return _pIJK.getJ(); }
00076   double getPK()const{ return _pIJK.getK(); }
00077   int getNum()const{ return _num; }
00078   double getEI()const{ return _eIJK.getI(); }
00079   double getEJ()const{ return _eIJK.getJ(); }
00080   double getEK()const{ return _eIJK.getK(); }
00081 
00082   virtual std::string getCommandString() const;
00083 
00084 private:
00085   double _sx;
00086   double _sy;
00087   double _sz;
00088   ippTargetVector _sIJK;
00089   ippTargetVector _nIJK;
00090   double _dx;
00091   double _dy;
00092   double _dz;
00093   double _stepW;
00094   double _px;
00095   double _py;
00096   double _pz;
00097   ippTargetVector _pIJK;
00098   int _num;
00099   ippTargetVector _eIJK;
00100 
00101   ippScanInPlaneEndIsPlaneCommand(const ippScanInPlaneEndIsPlaneCommand&);
00102   void operator=(const ippScanInPlaneEndIsPlaneCommand&);
00103 
00104 };
00105 IPP_DECLARE_SMARTPOINTER(ippScanInPlaneEndIsPlaneCommand);
00106 

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