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

ippScanOnCircleCommand.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/ippScanOnCircleCommand.h"
00014 #include "ippdme/misc/ippStringBuilder.h"
00015 
00016 ippScanOnCircleCommand::ippScanOnCircleCommand(
00017   unsigned int tgNum,
00018   double inCx, double inCy, double inCz,
00019   double inSx, double inSy, double inSz,
00020   double inI, double inJ, double inK,
00021   double inDelta, double inSfa, double inStepW
00022 )
00023   : ippCommand(tgNum, CommandTag, ScanOnCircle)
00024 {
00025   _cx = inCx;
00026   _cy = inCy;
00027   _cz = inCz;
00028   _sx = inSx;
00029   _sy = inSy;
00030   _sz = inSz;
00031   _theIJK.setValues(inI, inJ, inK);
00032   _delta = inDelta;
00033   _sfa = inSfa;
00034   _stepW = inStepW;
00035 }
00036 
00037 ippScanOnCircleCommand::~ippScanOnCircleCommand()
00038 {
00039 }
00040 
00041 
00042 std::string ippScanOnCircleCommand::getCommandString() const
00043 {
00044  ippStringBuilder builder(_tag);
00045  builder.StartFunc("ScanOnCircle");
00046    builder.AppendParam(_cx);
00047    builder.AppendParam(_cy);
00048    builder.AppendParam(_cz);
00049    builder.AppendParam(_sx);
00050    builder.AppendParam(_sy);
00051    builder.AppendParam(_sz);
00052    builder.AppendParam(_theIJK.getI());
00053    builder.AppendParam(_theIJK.getJ());
00054    builder.AppendParam(_theIJK.getK());
00055    builder.AppendParam(_delta);
00056    builder.AppendParam(_sfa);
00057    builder.AppendParam(_stepW);
00058  builder.EndFunc();
00059  return builder.ToString();
00060 }

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