00001 /*************************************************************************** 00002 ** 00003 ** This file is part of geopsy. 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 : 2009-03-26 00021 ** Authors: 00022 ** Marc Wathelet 00023 ** Marc Wathelet (LGIT, Grenoble, France) 00024 ** 00025 ***************************************************************************/ 00026 00027 #ifndef WAVEFORMCONSOLE_H 00028 #define WAVEFORMCONSOLE_H 00029 00030 #include <GeopsyGui.h> 00031 00032 #include "ui_WaveformConsole.h" 00033 00034 class WaveformConsole : public QWidget, private Ui::WaveformConsole 00035 { 00036 Q_OBJECT 00037 public: 00038 WaveformConsole(QWidget * parent=0, Qt::WindowFlags f=0); 00039 ~WaveformConsole(); 00040 00041 void setCurrentSubPool(SubPoolWindow * w); 00042 SubPoolWindow * currentSubPool() const {return _subPoolWin;} 00043 00044 void addActions(QMenu * m); 00045 public slots: 00046 void subtractValue(); 00047 void subtractSignals(); 00048 void multiply(); 00049 void filter(); 00050 void agc(); 00051 void whiten(); 00052 void stddevClip(); 00053 void shift(); 00054 void overSample(); 00055 void taper(); 00056 void cut(); 00057 void merge(); 00058 void decimateAmplitude(); 00059 void decimateTime(); 00060 void waveletTransform(); 00061 void stalta(); 00062 void rotate(); 00063 void correlations(); 00064 void normalizedCorrelations(); 00065 void convolution(); 00066 void revert(); 00067 private slots: 00068 void on_runBut_clicked(); 00069 void on_helpBut_clicked(); 00070 void restoreStep(); 00071 private: 00072 void processUpdate(); 00073 void setSteps(const QStringList& steps); 00074 00075 SubPoolWindow * _subPoolWin; 00076 }; 00077 00078 #endif // WAVEFORMCONSOLE_H