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

ippScanOnLineCommand.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/ippScanOnLineCommand.h"
00013 #include "ippdme/misc/ippStringBuilder.h"
00014 
00015 ippScanOnLineCommand::ippScanOnLineCommand(
00016   unsigned int tgNum, double inSx, double inSy, double inSz,
00017         double inEx, double inEy, double inEz, double inI,
00018         double inJ, double inK, double inStepW
00019 )
00020   : ippCommand(tgNum, CommandTag, ScanOnLine)
00021 {
00022     _sx = inSx;
00023     _sy = inSy;
00024     _sz = inSz;
00025     _ex = inEx;
00026     _ey = inEy;
00027     _ez = inEz;
00028     _theIJK.setValues(inI, inJ, inK);
00029     _stepW = inStepW;
00030 }
00031 
00032 ippScanOnLineCommand::~ippScanOnLineCommand()
00033 {
00034 }
00035 
00036 std::string ippScanOnLineCommand::getCommandString() const
00037 {
00038  ippStringBuilder builder(_tag);
00039  builder.StartFunc("ScanOnLine");
00040    builder.AppendParam(_sx);
00041    builder.AppendParam(_sy);
00042    builder.AppendParam(_sz);
00043    builder.AppendParam(_ex);
00044    builder.AppendParam(_ey);
00045    builder.AppendParam(_ez);
00046    builder.AppendParam(_theIJK.getI());
00047    builder.AppendParam(_theIJK.getJ());
00048    builder.AppendParam(_theIJK.getK());
00049    builder.AppendParam(_stepW);
00050  builder.EndFunc();
00051  return builder.ToString();
00052 }

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