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

ippScanInCylEndIsPlaneCommand.cpp

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 #include "stdafx.h"
00012 #include "ippdme/Command/ippScanInCylEndIsPlaneCommand.h"
00013 #include "ippdme/misc/ippStringBuilder.h"
00014 
00015 ippScanInCylEndIsPlaneCommand::ippScanInCylEndIsPlaneCommand(unsigned int tgNum,
00016   double inCx, double inCy, double inCz,
00017   double inCI, double inCJ, double inCK,
00018   double inSx, double inSy, double inSz,
00019   double inSI, double inSJ, double inSK,
00020   double inDx, double inDy, double inDz,
00021   double inStepW,
00022   double inPx, double inPy, double inPz,
00023   double inPI, double inPJ, double inPK,
00024   int inNum,
00025   double inEI, double inEJ, double inEK
00026 )
00027   : ippCommand(tgNum, CommandTag, ScanInCylEndIsPlane)
00028 {
00029   _cx = inCx;
00030   _cy = inCy;
00031   _cz = inCz;
00032   _cIJK.setValues(inCI, inCJ, inCK);
00033   _sx = inSx;
00034   _sy = inSy;
00035   _sz = inSz;
00036   _sIJK.setValues(inSI, inSJ, inSK);
00037   _dx = inDx;
00038   _dy = inDy;
00039   _dz = inDz;
00040   _stepW = inStepW;
00041   _px = inPx;
00042   _py = inPy;
00043   _pz = inPz;
00044   _pIJK.setValues(inPI, inPJ, inPK);
00045   _num = inNum;
00046   _eIJK.setValues(inEI, inEJ, inEK);
00047 }
00048 
00049 ippScanInCylEndIsPlaneCommand::~ippScanInCylEndIsPlaneCommand()
00050 {
00051 }
00052 
00053 std::string ippScanInCylEndIsPlaneCommand::getCommandString() const
00054 {
00055   ippStringBuilder builder(_tag);
00056   builder.StartFunc("ScanInCylEndIsPlane");
00057     builder.AppendParam(_cx);
00058     builder.AppendParam(_cy);
00059     builder.AppendParam(_cz);
00060 
00061     builder.AppendParam(_cIJK.getI());
00062     builder.AppendParam(_cIJK.getJ());
00063     builder.AppendParam(_cIJK.getK());
00064 
00065     builder.AppendParam(_sx);
00066     builder.AppendParam(_sy);
00067     builder.AppendParam(_sz);
00068 
00069     builder.AppendParam(_sIJK.getI());
00070     builder.AppendParam(_sIJK.getJ());
00071     builder.AppendParam(_sIJK.getK());
00072 
00073     builder.AppendParam(_dx);
00074     builder.AppendParam(_dy);
00075     builder.AppendParam(_dz);
00076 
00077     builder.AppendParam(_stepW);
00078 
00079     builder.AppendParam(_px);
00080     builder.AppendParam(_py);
00081     builder.AppendParam(_pz);
00082 
00083     builder.AppendParam(_pIJK.getI());
00084     builder.AppendParam(_pIJK.getJ());
00085     builder.AppendParam(_pIJK.getK());
00086     builder.AppendParam(_num);
00087     builder.AppendParam(_eIJK.getI());
00088     builder.AppendParam(_eIJK.getJ());
00089     builder.AppendParam(_eIJK.getK());
00090 
00091   builder.EndFunc();
00092   return builder.ToString();
00093 }

Generated on Wed Nov 8 00:20:02 2006 for IPPDME by  doxygen 1.4.1