00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #pragma once
00011 #include "ippdme/Command/ippCommand.h"
00012
00013 class IPPDME_EXT_CLASS ippSaveNamedCsyTransformationCommand : public ippCommand
00014 {
00015
00016 public:
00017 ippSaveNamedCsyTransformationCommand(
00018 unsigned int tgNum,
00019 const char * inName,
00020 double inX0, double inY0, double inZ0,
00021 double inTheta, double inPsi, double inPhi
00022 );
00023
00024 virtual ~ippSaveNamedCsyTransformationCommand(){}
00025
00026 void setX0(double inX0){ _x0 = inX0; }
00027 void setY0(double inY0){ _y0 = inY0; }
00028 void setZ0(double inZ0){ _z0 = inZ0; }
00029 void setTheta(double inTheta){ _theta = inTheta; }
00030 void setPsi(double inPsi){ _psi = inPsi; }
00031 void setPhi(double inPhi){ _phi = inPhi; }
00032 double getX0() const { return _x0; }
00033 double getY0() const { return _y0; }
00034 double getZ0() const { return _z0; }
00035 double getTheta() const { return _theta; }
00036 double getPsi() const { return _psi; }
00037 double getPhi() const { return _phi; }
00038
00039 virtual std::string getCommandString() const;
00040
00041 private:
00042 std::string _name;
00043 double _x0;
00044 double _y0;
00045 double _z0;
00046 double _theta;
00047 double _psi;
00048 double _phi;
00049
00050
00051 ippSaveNamedCsyTransformationCommand(const ippSaveNamedCsyTransformationCommand&);
00052 void operator=(const ippSaveNamedCsyTransformationCommand&);
00053 };
00054 IPP_DECLARE_SMARTPOINTER(ippSaveNamedCsyTransformationCommand);