00001 /* 00002 * @(#)include/VGexpSpec.h 1.0 2002-08-27 16:34 00003 * 00004 * Copyright (C) 2002 Daniel Léonard 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 */ 00020 00026 #ifndef _VG_EXP_SPEC_H_ 00027 #define _VG_EXP_SPEC_H_ 00028 00029 #include <stdexcept> 00030 #include "SFCPathFactory.h" 00031 #include "VGSpec.h" 00032 00033 namespace halftoner 00034 { 00035 00040 class VGexpSpec : public VGSpec 00041 { 00042 private: 00045 00046 float err1; 00048 float err2; 00050 float err3; 00052 00053 public: 00063 VGexpSpec(int cluster, float err1, float err2, float err3, const SFCPathFactory::SizeMnemonic& mnemonic) throw(std::domain_error); 00064 00068 virtual ~VGexpSpec() throw(); 00069 00070 00073 00077 float getErr1() const throw(); 00078 00083 float getErr2() const throw(); 00084 00089 float getErr3() const throw(); 00091 }; 00092 00093 } 00094 00095 #endif /* #ifndef _VG_EXP_SPEC_H_ */