00001 /*************************************************************************** 00002 ** 00003 ** This file is part of ArrayCore. 00004 ** 00005 ** This file may be distributed and/or modified under the terms of the 00006 ** GNU General Public License version 2 or 3 as published by the Free 00007 ** Software Foundation and appearing in the file LICENSE.GPL included 00008 ** in the packaging of this file. 00009 ** 00010 ** This file is distributed in the hope that it will be useful, but WITHOUT 00011 ** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00012 ** FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 00013 ** more details. 00014 ** 00015 ** You should have received a copy of the GNU General Public License 00016 ** along with this program. If not, see <http://www.gnu.org/licenses/>. 00017 ** 00018 ** See http://www.geopsy.org for more information. 00019 ** 00020 ** Created : 2008-02-06 00021 ** Authors: 00022 ** Marc Wathelet 00023 ** Marc Wathelet (LGIT, Grenoble, France) 00024 ** 00025 ***************************************************************************/ 00026 00027 #ifndef FKPARAMETERS_H 00028 #define FKPARAMETERS_H 00029 00030 #include "ArrayParameters.h" 00031 #include "ArrayCoreDLLExport.h" 00032 00033 namespace ArrayCore { 00034 00035 class ARRAYCORE_EXPORT FKParameters: public ArrayParameters 00036 { 00037 public: 00038 FKParameters(); 00039 FKParameters(const FKParameters& o); 00040 00041 double minimumWaveNumber() const {return _kmin;} 00042 void setMinimumWaveNumber(double k) {_kmin=k;} 00043 00044 double maximumWaveNumber() const {return _kmax;} 00045 void setMaximumWaveNumber(double k) {_kmax=k;} 00046 00047 double maximumSlowness() const {return _smax;} 00048 void setMaximumSlowness(double s) {_smax=s;} 00049 00050 int maximumPeakCount() const {return _maxPeakCount;} 00051 void setMaximumPeakCount(int m) {_maxPeakCount=m;} 00052 00053 double absoluteThreshold() const {return _absoluteThreshold;} 00054 void setAbsoluteThreshold(double a) {_absoluteThreshold=a;} 00055 00056 double relativeThreshold() const {return _relativeThreshold;} 00057 void setRelativeThreshold(double r) {_relativeThreshold=r;} 00058 00059 bool exportAllFKGrids() const {return _exportAllFKGrids;} 00060 void setExportAllFKGrids(bool g) {_exportAllFKGrids=g;} 00061 00062 virtual void collectKeywords(PARAMETERS_COLLECTKEYWORDS_ARGS); 00063 virtual int keywordCount(PARAMETERS_KEYWORDCOUNT_ARGS); 00064 virtual bool setValue(PARAMETERS_SETVALUE_ARGS); 00065 virtual QString toString(PARAMETERS_TOSTRING_ARGS_DECL) const; 00066 private: 00067 double _kmin, _kmax, _smax; 00068 int _maxPeakCount; 00069 double _absoluteThreshold, _relativeThreshold; 00070 bool _exportAllFKGrids; 00071 }; 00072 00073 } // namespace ArrayCore 00074 00075 #endif // FKPARAMETERS_H