QGpCompatibility/CompatHodoChroneData.h
Go to the documentation of this file.
00001 /***************************************************************************
00002 **
00003 **  This file is part of QGpCompatibility.
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-17
00021 **  Authors:
00022 **    Marc Wathelet
00023 **    Marc Wathelet (ULg, Liège, Belgium)
00024 **    Marc Wathelet (LGIT, Grenoble, France)
00025 **
00026 ***************************************************************************/
00027 
00028 #ifndef COMPATHODOCHRONEDATA_H
00029 #define COMPATHODOCHRONEDATA_H
00030 
00031 #include <QGpCoreWave.h>
00032 #include "CompatHodoChrone.h"
00033 #include "CompatMultiModalData.h"
00034 #include "QGpCompatibilityDLLExport.h"
00035 
00036 namespace QGpCompatibility {
00037 
00038 class QGPCOMPATIBILITY_EXPORT CompatHodoChroneData : public CompatHodoChrone, public CompatMultiModalData
00039 {
00040 public:
00042   CompatHodoChroneData(): 
00043       CompatHodoChrone(), CompatMultiModalData() {}
00045   CompatHodoChroneData(int modesCount,int omegasCount):
00046       CompatHodoChrone(modesCount, omegasCount),
00047       CompatMultiModalData(modesCount, omegasCount) {}
00049   CompatHodoChroneData(const CompatHodoChroneData * o,int modesCount):
00050       CompatHodoChrone(o, modesCount),
00051       CompatMultiModalData(o, modesCount, CompatHODOCHRONE_INVALID_VALUE) {}
00053   CompatHodoChroneData(const CompatMultiModalCurves * o):
00054       CompatHodoChrone(o),
00055       CompatMultiModalData(o) {}
00056   void setSource(QString srcFile);
00057   void calculate(RefractionDippingModel& model);
00058   int srcIndex(int iSrc);
00059   //void rays(RefractionDippingModel& model, CompatDynXYColorLines * raysLayer);
00060   void valuesToData() {CompatMultiModalData::valuesToData(this);}
00061   void valuesToData(CompatMultiModalCurves * o) {CompatMultiModalData::valuesToData(o);}
00062 };
00063 
00064 } // namespace QGpCompatibility
00065 
00066 #endif // COMPATHODOCHRONEDATA_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines