00001 /*************************************************************************** 00002 ** 00003 ** This file is part of gplivemodel. 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: 2010-06-15 00021 ** Authors: 00022 ** Marc Wathelet (LGIT, Grenoble, France) 00023 ** 00024 ***************************************************************************/ 00025 00026 #ifndef SEISMIC1DTHREAD_H 00027 #define SEISMIC1DTHREAD_H 00028 00029 #include "CurvesThread.h" 00030 00031 class Seismic1DThread : public CurvesThread 00032 { 00033 public: 00034 Seismic1DThread(QObject * parent=0); 00035 Seismic1DThread(const Seismic1DThread& o); 00036 ~Seismic1DThread(); 00037 00038 virtual bool setParameters(int& argc, char ** argv); 00039 virtual void initModelGraphs(GraphicSheet * sheet); 00040 virtual void initModelGraphs(const ResultsThread& o); 00041 00042 virtual void addModel(GeophysicalModel * m); 00043 virtual void setModel(GeophysicalModel * m); 00044 virtual void clear(); 00045 virtual void modelDeepUpdate(); 00046 virtual void setModelLimits(); 00047 00048 virtual LegendWidget * legend() const {return _leg;} 00049 private: 00050 virtual GeophysicalModel * createModel() const {return new Seismic1DModel;} 00051 00052 LineLayer * _vp; 00053 LineLayer * _vs; 00054 LegendWidget * _leg; 00055 }; 00056 00057 #endif // SEISMIC1DTHREAD_H