00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #pragma once
00011 #include "ippCommand.h"
00012
00013 class IPPDME_EXT_CLASS ippGoToCommand : public ippCommand
00014 {
00015 private:
00016 bool _hasX;
00017 bool _hasY;
00018 bool _hasZ;
00019 double _x;
00020 double _y;
00021 double _z;
00022 bool _hasToolA;
00023 bool _hasToolB;
00024 bool _hasToolC;
00025 double _toolA;
00026 double _toolB;
00027 double _toolC;
00028
00029 public:
00030
00031 ippGoToCommand(
00032 unsigned int tgNum,
00033 bool inHasX, bool inHasY, bool inHasZ,
00034 double inX, double inY, double inZ,
00035 bool inHasToolA, bool inHasToolB, bool inHasToolC,
00036 double inToolA, double inToolB, double inToolC
00037 );
00038
00039 virtual ~ippGoToCommand(){}
00040
00041 void setHasX(bool inHasX){ _hasX = inHasX; }
00042 void setHasY(bool inHasY){ _hasY = inHasY; }
00043 void setHasZ(bool inHasZ){ _hasZ = inHasZ; }
00044 void setX(double inX){ _x = inX; }
00045 void setY(double inY){ _y = inY; }
00046 void setZ(double inZ){ _z = inZ; }
00047 void setHasToolA(bool inHasToolA){ _hasToolA = inHasToolA; }
00048 void setHasToolB(bool inHasToolB){ _hasToolB = inHasToolB; }
00049 void setHasToolC(bool inHasToolC){ _hasToolC = inHasToolC; }
00050 void setToolA(double inToolA){ _toolA = inToolA; }
00051 void setToolB(double inToolB){ _toolB = inToolB; }
00052 void setToolC(double inToolC){ _toolC = inToolC; }
00053
00054 bool getHasX()const { return _hasX; }
00055 bool getHasY()const{ return _hasY; }
00056 bool getHasZ()const{ return _hasZ; }
00057 double getX()const{ return _x; }
00058 double getY()const{ return _y; }
00059 double getZ()const{ return _z; }
00060 bool getHasToolA()const{ return _hasToolA; }
00061 bool getHasToolB()const{ return _hasToolB; }
00062 bool getHasToolC()const{ return _hasToolC; }
00063 double getToolA()const{ return _toolA; }
00064 double getToolB()const{ return _toolB; }
00065 double getToolC()const{ return _toolC; }
00066 virtual std::string getCommandString() const;
00067 private:
00068
00069 ippGoToCommand(const ippGoToCommand&);
00070 void operator=(const ippGoToCommand&);
00071 };
00072 IPP_DECLARE_SMARTPOINTER(ippGoToCommand);