geopsyarray/ToolLinearFKActive.h
Go to the documentation of this file.
00001 /***************************************************************************
00002 **
00003 **  This file is part of geopsyarray.
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 : 2004-09-02
00021 **  Authors:
00022 **    Marc Wathelet
00023 **    Marc Wathelet (ULg, Liège, Belgium)
00024 **    Marc Wathelet (LGIT, Grenoble, France)
00025 **
00026 ***************************************************************************/
00027 
00028 #ifndef ToolLinearFKActive_H
00029 #define ToolLinearFKActive_H
00030 
00031 #include <GeopsyCore.h>
00032 #include <QGpCoreWave.h>
00033 #include <SciFigs.h>
00034 
00035 #include "ToolArrayBase.h"
00036 
00037 class ToolLinearFKActived;
00038 class LinearFKActiveArrayStations;
00039 
00040 class ToolLinearFKActive :  public ToolBase
00041 {
00042   Q_OBJECT
00043 public:
00044   ToolLinearFKActive(QWidget * parent);
00045   ~ToolLinearFKActive();
00046 
00047   virtual bool initStations(SubSignalPool *);
00048   virtual void setParameters(int& argc, char ** argv);
00049 private slots:
00050   virtual void start();
00051   void on_currentSource_currentIndexChanged(int index);
00052   void setResultXAxis();
00053   void setResultYAxis();
00054   void timeWindowChanged();
00055   void addCurvePlot(LineLayer * w, QString caption);
00056   void newLine(int iGraph);
00057   void adjustCurve();
00058   void graphSelected(GraphicObject * obj);
00059   void setWavelengthLimit(double waveLength);
00060 protected:
00061   virtual void updateAllFields();
00062   virtual const char * toolName();
00063   void addArray(SubSignalPool& arraySubPool);
00064 protected:
00065   ToolLinearFKActived * _d;
00066   QList<LinearFKActiveArrayStations *> _arrays;
00067 };
00068 
00069 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines