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

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

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