00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #pragma once
00011 #include "ippdme/Command/ippCommand.h"
00012
00013
00017 class IPPDME_EXT_CLASS ippScanXXXXDensityCommand: public ippCommand {
00018
00019
00020 public:
00021 void setDis(double inDis) { _dis = inDis;}
00022 void setAngle(double inAngle){ _angle = inAngle; }
00023 void setAtNominals(bool inAtNominals){ _atNominals = inAtNominals;}
00024
00025 double getAngle()const{ return _angle; }
00026 double getDis()const{ return _dis; }
00027 bool setAtNominals()const{ return _atNominals; }
00028
00029 virtual std::string getCommandString() const;
00030 protected:
00031 ippScanXXXXDensityCommand(
00032 unsigned int tgNum,
00033 ippCommandNameType inCommandName,
00034 double inDis,
00035 bool bHasAngle, double inAngle,
00036 bool bHasNominals,bool bAtNominals
00037 );
00038 virtual ~ippScanXXXXDensityCommand();
00039 private:
00040 double _dis;
00041 bool _hasAngle;
00042 double _angle;
00043 bool _hasNominals;
00044 bool _atNominals;
00045
00046 ippScanXXXXDensityCommand(const ippScanXXXXDensityCommand&);
00047 void operator=(const ippScanXXXXDensityCommand&);
00048 };
00049 IPP_DECLARE_SMARTPOINTER(ippScanXXXXDensityCommand);