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

ippOnePropertyAlignment.h

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 //-----------------------------------------------------------------------------
00012 //
00013 // Description :
00014 // Use this for data from GetProp(Tool.Alignment()) or
00015 // GetPropE(Tool.Alignment()). Alignment may not be queried for FoundTool.
00016 //
00017 //-----------------------------------------------------------------------------
00018 #pragma once
00019 #include "ippdme/ippdme.h"
00020 
00021 #include "ippdme/Property/ippOneProperty.h"
00022 
00023 
00024 //=============================================================================
00025 class IPPDME_EXT_CLASS ippOnePropertyAlignment : public ippOneProperty
00026 {
00027 public:
00028  
00029   ippOnePropertyAlignment(
00030     ippOtherKeyType keyword, // sould be Tool or FoundTool
00031     double inI1, double inJ1, double inK1, 
00032     double inI2,double inJ2, double inK2
00033   );
00034   ippOnePropertyAlignment(
00035     ippOtherKeyType keyword, // sould be Tool or FoundTool
00036     double inI1, double inJ1, double inK1
00037   );
00038 
00039   virtual ~ippOnePropertyAlignment(){}
00040 
00041   void setI1(double inI1){ _i1 = inI1; }
00042   void setJ1(double inJ1){ _j1 = inJ1; }
00043   void setK1(double inK1){ _k1 = inK1; }
00044   void setI2(double inI2){ _i2 = inI2; }
00045   void setJ2(double inJ2){ _j2 = inJ2; }
00046   void setK2(double inK2){ _k2 = inK2; }
00047   void setHas2(bool inHas2){ _has2 = inHas2; }
00048 
00049   double getI1()const{ return _i1; }
00050   double getJ1()const{ return _j1; }
00051   double getK1()const{ return _k1; }
00052   double getI2()const{ return _i2; }
00053   double getJ2()const{ return _j2; }
00054   double getK2()const{ return _k2; }
00055   bool getHas2()const{ return _has2; }
00056 
00057   virtual void propString(ippStringBuilder& ) const;
00058 private:
00059 
00060   double _i1;
00061   double _j1;
00062   double _k1;
00063   double _i2;
00064   double _j2;
00065   double _k2;
00066   bool   _has2;
00067 
00068   ippOnePropertyAlignment(const ippOnePropertyAlignment&);
00069   void operator=(const ippOnePropertyAlignment&);
00070 };
00071 IPP_DECLARE_SMARTPOINTER(ippOnePropertyAlignment);

Generated on Wed Nov 8 00:19:59 2006 for IPPDME by  doxygen 1.4.1