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

ippSaveNamedCsyTransformationCommand.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/ippSaveNamedCsyTransformationCommand.h"
00014 #include "ippdme/misc/ippStringBuilder.h"
00015 
00016 ippSaveNamedCsyTransformationCommand::ippSaveNamedCsyTransformationCommand(
00017   unsigned int tgNum, 
00018   const char * inName,
00019   double inX0, double inY0, double inZ0,
00020   double inTheta, double inPsi, double inPhi
00021 )
00022   : ippCommand(tgNum, CommandTag, SaveNamedCsyTransformation)
00023   , _name(inName)
00024   , _x0(inX0)
00025   , _y0(inY0)
00026   , _z0(inZ0)
00027   , _theta(inTheta)
00028   , _psi(inPsi)
00029   , _phi(inPhi)
00030 {
00031 }
00032 
00033 std::string ippSaveNamedCsyTransformationCommand::getCommandString() const
00034 {
00035   ippStringBuilder builder(_tag);
00036   builder.StartFunc(getCommandNameString(getCommandName()));
00037     builder.AppendParam(_name);
00038     builder.AppendParam(_x0);
00039     builder.AppendParam(_y0);
00040     builder.AppendParam(_z0);
00041     builder.AppendParam(_theta);
00042     builder.AppendParam(_psi);
00043     builder.AppendParam(_phi);
00044   builder.EndFunc();
00045   return builder.ToString();
00046 }

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