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

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

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